C# Class DDay.iCal.Alarm

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

Public Methods

Method Description
Alarm ( ) : System
GetOccurrences ( IRecurringComponent rc, IDateTime FromDate, IDateTime ToDate ) : IList

Gets a list of alarm occurrences for the given recurring component, rc that occur between FromDate and ToDate.

Poll ( IDateTime Start, IDateTime End ) : IList

Polls the Alarm component for alarms that have been triggered since the provided Start date/time. If Start is null, all triggered alarms will be returned.

Protected Methods

Method Description
AddRepeatedItems ( ) : void

Handles the repetitions that occur from the REPEAT and DURATION properties. Each recurrence of the alarm will have its own set of generated repetitions.

OnDeserializing ( StreamingContext context ) : void

Private Methods

Method Description
Initialize ( ) : void

Method Details

AddRepeatedItems() protected method

Handles the repetitions that occur from the REPEAT and DURATION properties. Each recurrence of the alarm will have its own set of generated repetitions.
protected AddRepeatedItems ( ) : void
return void

Alarm() public method

public Alarm ( ) : System
return System

GetOccurrences() public method

Gets a list of alarm occurrences for the given recurring component, rc that occur between FromDate and ToDate.
public GetOccurrences ( IRecurringComponent rc, IDateTime FromDate, IDateTime ToDate ) : IList
rc IRecurringComponent
FromDate IDateTime
ToDate IDateTime
return IList

OnDeserializing() protected method

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

Poll() public method

Polls the Alarm component for alarms that have been triggered since the provided Start date/time. If Start is null, all triggered alarms will be returned.
public Poll ( IDateTime Start, IDateTime End ) : IList
Start IDateTime The earliest date/time to poll trigerred alarms for.
End IDateTime
return IList