ITimeZoneFactory Interface

Creates IdtTimeZone classes as required by the running application.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public interface ITimeZoneFactory

Properties

Count Gets the number of time zone rules currently loaded in the TimeZoneFactory.
Initialized Gets or sets an indication of whether the TimeZoneFactory has been initialized.
ThrowOnFailure If True (default), causes the class to throw an exception if the data cannot be parsed.
ZoneNames Gets the list of zone names that the TimeZoneFactory has knowledge of.

Methods

Clear Clears the cache of all time zone information.
Contains Gets an indication of whether the TimeZoneFactory contains a specific IdtTimeZone.
FindAsync Gets a IdtTimeZone from the cache.
GetDefaultTimeZoneAsync Gets the default time zone for the application
InitializeAsync Initializes the factory

See Also