TimeZoneHelper.ToClientTime(TimeInterval, String, Boolean) Method

Converts a time interval from the specified time zone to the client time zone.

Namespace: DevExpress.XtraScheduler

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


public TimeInterval ToClientTime(
    TimeInterval sourceInterval,
    string sourceTimeZoneId,
    bool treatAllDayAsFloatInterval
Public Function ToClientTime(
    sourceInterval As TimeInterval,
    sourceTimeZoneId As String,
    treatAllDayAsFloatInterval As Boolean
) As TimeInterval


Name Type Description
sourceInterval TimeInterval

The TimeInterval in the specified time zone.

sourceTimeZoneId String

A string that specifies the destination time zone. The string must be one of the available System.TimeZoneInfo.Id values.

treatAllDayAsFloatInterval Boolean

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


Type Description

The TimeInterval in the client time zone.

See Also