Skip to main content

TimeZoneHelper.FromClientTime(TimeInterval, Boolean) Method

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

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

public virtual TimeInterval FromClientTime(
    TimeInterval interval,
    bool treatAllDayAsFloatInterval
)

Parameters

Name Type Description
interval TimeInterval

A TimeInterval in the client time zone.

treatAllDayAsFloatInterval Boolean

true, to treat all-day intervals as floating intervals (i.e., that do not belong to any time zone); otherwise, false.

Returns

Type Description
TimeInterval

The TimeInterval in the operational time zone.

Remarks

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

See Also