Skip to main content

TimeZoneHelper Members

A class implemented for time zone conversion.

Constructors

Name Description
TimeZoneHelper(String) Initializes a new instance of the TimeZoneHelper class with the specified client time zone ID.

Properties

Name Description
ClientTimeZone Gets the client time zone of the TimeZoneHelper.
OperationTimeZone Gets the time zone in which the scheduler storage operates.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FromAppointmentTime(DateTime, String) Converts a DateTime value from the appointment time zone to the time zone of the scheduler storage (operational time zone).
FromClientTime(TimeInterval, Boolean) Converts a time interval from the client time zone to the time zone of the scheduler storage (operational time zone).
FromClientTime(TimeInterval, String, Boolean) Converts a time interval from the client time zone to the specified time zone.
FromClientTime(TimeInterval, String) Converts a time interval from the client time zone to the specified time zone.
FromClientTime(TimeInterval) Converts a time interval from the client time zone to the time zone of the scheduler storage (operational time zone).
FromClientTime(DateTime, String, String) Converts a time interval from one specified time zone to another.
FromClientTime(DateTime, String) Converts a DateTime value from the client time zone to the specified time zone.
FromClientTime(DateTime) Converts a DateTime value from the client time zone to the time zone of the scheduler storage (operational time zone).
FromOperationTime(DateTime, String) Converts a DateTime value from the operational time zone to the specified time zone.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToAppointmentTime(DateTime, String) Converts a DateTime value from the operational time zone (the time zone of the scheduler storage) to the time zone of the appointment.
ToClientTime(TimeInterval, Boolean) Converts a time interval from the specified time zone to the client time zone.
ToClientTime(TimeInterval, String, Boolean) Converts a time interval from the specified time zone to the client time zone.
ToClientTime(TimeInterval, String) Converts a time interval from the specified time zone to the client time zone.
ToClientTime(TimeInterval) Converts a time interval from the time zone of the scheduler storage (operational time zone) to the client time zone.
ToClientTime(DateTime, String, String) Converts a DateTime value from one time zone to another.
ToClientTime(DateTime, String) Converts a DateTime value from the specified time zone to the client time zone.
ToClientTime(DateTime) Converts a DateTime value from the time zone of the scheduler storage (operational time zone) to the client time zone.
ToOperationTime(DateTime, String) Converts a DateTime value from the specified time zone to the time zone of the scheduler storage (operational time zone).
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
ClientTimeZoneChanged Fires when the TimeZoneHelper.ClientTimeZone property value is changed.
See Also