Click or drag to resize

LocalTzInfoFileReader Class

Reads tzinfo file data from a local disk file
Inheritance Hierarchy
SystemObject
  InnerDrive.TimeZonesLocalTzInfoFileReader

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.0.8475.0
Syntax
C#
public class LocalTzInfoFileReader : ITzInfoFileReader

The LocalTzInfoFileReader type exposes the following members.

Constructors
 NameDescription
Public methodLocalTzInfoFileReader Creates a new instance of LocalTzInfoFileReader
Top
Properties
 NameDescription
Public propertyFileContents Returns the contents of the tzinfo file that the class has read
Public propertyFileName Gets the name of the file currently being read
Public propertyInitialized If true, the reader is initialized, and there is no need to call the Load method
Top
Methods
 NameDescription
Public methodClear Clears the contents of the class
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoad Parses the data from the input provided
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultTimeZoneRuleFileListSettingKey Gets the name of the setting in the app.config or web.config file containing the names of the files in the DefaultTimeZoneRuleFolderSettingKey folder to load by default.
Public fieldStatic memberDefaultTimeZoneRuleFolderSettingKey Gets the name of the setting in the app.config or web.config file containing the name of the folder containing all TzInfo Time Zone data.
Top
Remarks
This class uses two configuration keys:
C#
{
   "timeZoneSettings": {
      "TimeZoneRuleFileFull": "a comma-delimited list of files to load",
      "TimeZoneRuleFolder": "the location on the local computer or network share where the files are kept"
   }
}
See Also