Skip to main content
A newer version of this page is available. .

TimeZoneHelper Class

A class implemented for time zone conversion.

Namespace: DevExpress.XtraScheduler

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

Declaration

public class TimeZoneHelper :
    TimeZoneEngineBase

Remarks

Use the SchedulerControl.TimeZoneHelper property to get access to the TimeZoneHelper instance initialized with the current operational and client time zones. The TimeZoneHelper.FromClientTime and TimeZoneHelper.ToClientTimemethods enable you to perform time zone conversion between an arbitrary time zone and the client time zone used to display appointments (specified by the SchedulerOptionsBehaviorBase.ClientTimeZoneId property). The TimeZoneHelper.FromOperationTime and TimeZoneHelper.ToOperationTime methods allow conversion between an arbitrary time zone and the operational time zone (time zone of the scheduler storage, specified by the SchedulerStorageBase.TimeZoneId property).

The following code snippets (auto-collected from DevExpress Examples) contain references to the TimeZoneHelper class.

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.

Inheritance

Object
DevExpress.XtraScheduler.Native.TimeZoneEngineBase
TimeZoneHelper
See Also