A newer version of this page is available. Switch to the current version.

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

Declaration

public virtual TimeInterval FromClientTime(
    TimeInterval interval,
    bool treatAllDayAsFloatInterval
)
Public Overridable Function FromClientTime(
    interval As TimeInterval,
    treatAllDayAsFloatInterval As Boolean
) As TimeInterval

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