C# Class DDay.iCal.Event

Inheritance: RecurringComponent, IEvent
Show file Open project: nachocove/DDay-iCal-Xamarin Class Usage Examples

Public Methods

Method Description
Event ( ) : System

Constructs an Event object, with an iCalObject (usually an iCalendar object) as its parent.

IsActive ( ) : bool

Determines whether or not the Event is actively displayed as an upcoming or occurred event.

OccursAt ( IDateTime DateTime ) : bool

Use this method to determine if an event begins at a given date and time.

OccursOn ( IDateTime DateTime ) : bool

Use this method to determine if an event occurs on a given date. This event should be called only after the Evaluate method has calculated the dates for which this event occurs.

Protected Methods

Method Description
OnDeserialized ( StreamingContext context ) : void
OnDeserializing ( StreamingContext context ) : void

Private Methods

Method Description
ExtrapolateTimes ( ) : void
Initialize ( ) : void

Method Details

Event() public method

Constructs an Event object, with an iCalObject (usually an iCalendar object) as its parent.
public Event ( ) : System
return System

IsActive() public method

Determines whether or not the Event is actively displayed as an upcoming or occurred event.
public IsActive ( ) : bool
return bool

OccursAt() public method

Use this method to determine if an event begins at a given date and time.
public OccursAt ( IDateTime DateTime ) : bool
DateTime IDateTime The date and time to test.
return bool

OccursOn() public method

Use this method to determine if an event occurs on a given date. This event should be called only after the Evaluate method has calculated the dates for which this event occurs.
public OccursOn ( IDateTime DateTime ) : bool
DateTime IDateTime The date to test.
return bool

OnDeserialized() protected method

protected OnDeserialized ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
return void

OnDeserializing() protected method

protected OnDeserializing ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
return void