A newer version of this page is available. Switch to the current version.

OccurrenceCalculator.CreateInstance(IRecurrenceInfo, TimeZoneInfo) Method

Creates an instance of the OccurrenceCalculator for the specified recurrence information and time zone.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

public static OccurrenceCalculator CreateInstance(
    IRecurrenceInfo info,
    TimeZoneInfo operationTimeZone
)
Public Shared Function CreateInstance(
    info As IRecurrenceInfo,
    operationTimeZone As TimeZoneInfo
) As OccurrenceCalculator

Parameters

Name Type Description
info IRecurrenceInfo

A IRecurrenceInfo object containing the appointment recurrence information.

operationTimeZone TimeZoneInfo

The TimeZoneInfo object that specifies the time zone for which the start and end time of appointment occurrences are calculated.

Returns

Type Description
OccurrenceCalculator

An instance of the OccurrenceCalculator class.

Remarks

Use this CreateInstance method override for proper handling of DST transitions.

See Also