Skip to main content

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.v24.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public static OccurrenceCalculator CreateInstance(
    IRecurrenceInfo info,
    TimeZoneInfo operationTimeZone
)

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