C# Class TimeZoneMapper.TZMappers.CustomValuesTZMapper

Provides TimeZoneID mapping based on custom values provided by a CLDR xml file.
Inheritance: BaseTZMapper, TimeZoneMapper.TZMappers.ITZMapper
Show file Open project: RobThree/TimeZoneMapper Class Usage Examples

Public Methods

Method Description
CustomValuesTZMapper ( Stream cldrstream ) : System.IO

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.

CustomValuesTZMapper ( string cldrxml ) : System.IO

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.

CustomValuesTZMapper ( string path, Encoding encoding ) : System.IO

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.

Method Details

CustomValuesTZMapper() public method

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.
public CustomValuesTZMapper ( Stream cldrstream ) : System.IO
cldrstream System.IO.Stream The stream to be read.
return System.IO

CustomValuesTZMapper() public method

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.
public CustomValuesTZMapper ( string cldrxml ) : System.IO
cldrxml string A string containing an XML document with CLDR data.
return System.IO

CustomValuesTZMapper() public method

Initializes a CustomValuesTZMapper with custom CLDR data in XML format.
public CustomValuesTZMapper ( string path, Encoding encoding ) : System.IO
path string Path to an XML file containing CLDR data.
encoding System.Text.Encoding The encoding applied to the contents of the file.
return System.IO