Skip to main content

TimeZoneHelper.ToClientTime(TimeInterval, Boolean) Method

Converts a time interval from the specified 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,
    bool treatAllDayAsFloatInterval
)

Parameters

Name Type Description
sourceInterval TimeInterval

The TimeInterval in the specified 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 client time zone.

See Also