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

TimeZoneHelper.ToClientTime(TimeInterval, String) Method

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

Namespace: DevExpress.XtraScheduler

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

Declaration

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

Parameters

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.

Returns

Type Description
TimeInterval

The TimeInterval in the client time zone.

See Also