TimeZoneHelper Class
A class implemented for time zone conversion.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
Related API Members
The following members accept/return TimeZoneHelper objects:
Library | Related API Members |
---|---|
WinForms Controls | SchedulerControl.TimeZoneHelper |
WPF Controls | AppointmentFormController.TimeZoneHelper |
RecurrenceRangeControl.TimeZoneHelper | |
SchedulerControl.TimeZoneHelper | |
ASP.NET Bootstrap Controls | BootstrapScheduler.TimeZoneHelper |
ASP.NET Web Forms Controls | ASPxScheduler.TimeZoneHelper |
ASPxSchedulerDataWebControlBase.TimeZoneHelper | |
ASPxSchedulerStorageControl.TimeZoneHelper | |
SchedulerFormTemplateContainer.TimeZoneHelper |
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).
Related GitHub Examples
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.