Class
CalPropertyExtensions

Class containing extensions methods used when Import/Export appointments to ICal.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public static class CalPropertyExtensions

Inheritance: objectCalPropertyExtensions

Methods

IsParameterValeDate(CalProperty)

Determines whether the parameter is a valid date.

Declaration

cs-api-definition
public static bool IsParameterValeDate(this CalProperty property)

Parameters

property

CalProperty

Returns

bool

ToDateTime(CalProperty)

Converts the given property to DateTime.

Declaration

cs-api-definition
public static DateTime ToDateTime(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

DateTime

ToDateTime(CalProperty, TimeZoneInfo)

Converts the given property to DateTime.

Declaration

cs-api-definition
public static DateTime ToDateTime(this CalProperty property, TimeZoneInfo timeZone)

Parameters

property

CalProperty

The property.

timeZone

TimeZoneInfo

The time zone.

Returns

DateTime

ToDuration(CalProperty)

Converts the given property to TimeSpan.

Declaration

cs-api-definition
public static TimeSpan ToDuration(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

TimeSpan

ToExceptionDates(CalProperty)

Converts the property to a date where an exception exists.

Declaration

cs-api-definition
public static IList<DateTime> ToExceptionDates(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

IList<DateTime>

ToRecurrencePattern(CalProperty)

Converts the given property to a recurrence pattern.

Declaration

cs-api-definition
public static RecurrencePattern ToRecurrencePattern(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

RecurrencePattern

ToText(CalProperty)

Converts the given property to String.

Declaration

cs-api-definition
public static string ToText(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

string

ToTimeSpan(CalProperty)

Converts the given property to TimeSpan.

Declaration

cs-api-definition
public static TimeSpan ToTimeSpan(this CalProperty property)

Parameters

property

CalProperty

The property.

Returns

TimeSpan