C# Class DirkSarodnick.GoogleSync.Core.Data.Recurrence.RecurrenceSerializer

Defines the RecurrenceSerializer class.
ファイルを表示 Open project: d03n3rfr1tz3/GoogleSync

Public Methods

Method Description
Deserialize ( string recurrence ) : RecurrenceData

Deserializes the specified recurrence.

GetDayOfWeek ( string value ) : OlDaysOfWeek

Gets the day of week.

GetDayOfWeek ( this value ) : string

Gets the day of week.

GetRecurrenceString ( this value ) : string

Gets the recurrence string.

GetRecurrenceType ( string value ) : OlRecurrenceType

Gets the type of the recurrence.

Serialize ( RecurrencePattern recurrencePattern, System.DateTime appointmentStart, bool allday ) : string

Serializes the specified get recurrence pattern.

ToDate ( this dateString, System.DateTime &resultDateTime, bool &allDayEvent ) : bool

Parses a DateTime of specified string.

Method Details

Deserialize() public static method

Deserializes the specified recurrence.
public static Deserialize ( string recurrence ) : RecurrenceData
recurrence string The recurrence.
return RecurrenceData

GetDayOfWeek() public static method

Gets the day of week.
public static GetDayOfWeek ( string value ) : OlDaysOfWeek
value string The value.
return OlDaysOfWeek

GetDayOfWeek() public static method

Gets the day of week.
public static GetDayOfWeek ( this value ) : string
value this The value.
return string

GetRecurrenceString() public static method

Gets the recurrence string.
public static GetRecurrenceString ( this value ) : string
value this The value.
return string

GetRecurrenceType() public static method

Gets the type of the recurrence.
public static GetRecurrenceType ( string value ) : OlRecurrenceType
value string The value.
return OlRecurrenceType

Serialize() public static method

Serializes the specified get recurrence pattern.
public static Serialize ( RecurrencePattern recurrencePattern, System.DateTime appointmentStart, bool allday ) : string
recurrencePattern RecurrencePattern The recurrence pattern.
appointmentStart System.DateTime The appointment start.
allday bool if set to true [allday].
return string

ToDate() public static method

Parses a DateTime of specified string.
public static ToDate ( this dateString, System.DateTime &resultDateTime, bool &allDayEvent ) : bool
dateString this The date string.
resultDateTime System.DateTime The result date time.
allDayEvent bool if set to true [all day event].
return bool