Class CalPropertyExtensions
Class containing extensions methods used when Import/Export appointments to ICal.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView.ICalendar
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public static class CalPropertyExtensions
Methods
IsParameterValeDate(CalProperty)
Determines whether the parameter is a valid date.
Declaration
public static bool IsParameterValeDate(this CalProperty property)
Parameters
CalProperty
property
|
Returns
System.Boolean
|
ToDateTime(CalProperty)
Converts the given property to DateTime.
Declaration
public static DateTime ToDateTime(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
System.DateTime
|
ToDateTime(CalProperty, TimeZoneInfo)
Converts the given property to DateTime.
Declaration
public static DateTime ToDateTime(this CalProperty property, TimeZoneInfo timeZone)
Parameters
CalProperty
property
The property. |
System.TimeZoneInfo
timeZone
The time zone. |
Returns
System.DateTime
|
ToDuration(CalProperty)
Converts the given property to TimeSpan.
Declaration
public static TimeSpan ToDuration(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
System.TimeSpan
|
ToExceptionDates(CalProperty)
Converts the property to a date where an exception exists.
Declaration
public static IList<DateTime> ToExceptionDates(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
System.Collections.Generic.IList<System.DateTime>
|
ToRecurrencePattern(CalProperty)
Converts the given property to a recurrence pattern.
Declaration
public static RecurrencePattern ToRecurrencePattern(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
RecurrencePattern
|
ToText(CalProperty)
Converts the given property to String.
Declaration
public static string ToText(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
System.String
|
ToTimeSpan(CalProperty)
Converts the given property to TimeSpan.
Declaration
public static TimeSpan ToTimeSpan(this CalProperty property)
Parameters
CalProperty
property
The property. |
Returns
System.TimeSpan
|