ITimeZoneFactoryGetDefaultTimeZoneAsync Method

Gets the default time zone for the application

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9417.0
C#
Task<IdtTimeZone> GetDefaultTimeZoneAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
A CancellationToken controlling the request lifetime

Return Value

TaskIdtTimeZone

Remarks

If Initialized is false, the method may return Utc or it may cause an initialization. See the individual factory class for implementation.

See Also