Skip to main content

TimeZoneHelper.ToClientTime(TimeInterval) Method

Converts a time interval from the time zone of the scheduler storage (operational time zone) to the client time zone.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public TimeInterval ToClientTime(
    TimeInterval sourceInterval
)

Parameters

Name Type Description
sourceInterval TimeInterval

The TimeInterval in the operational time zone.

Returns

Type Description
TimeInterval

The TimeInterval in the client time zone.

Remarks

The time zone of the scheduler storage is specified by the SchedulerStorageBase.TimeZoneId property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToClientTime(TimeInterval) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also