Class TimeZoneInfoClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("78FAD5F1-60FA-458A-8D93-630DA920448D")]
public class TimeZoneInfoClass : TimeZoneInfo, ITimeZoneInfo, IXMLSerialize, IXMLVersionSupport, IClone, IPersistStream, IPersist, IDocumentVersionSupportGEN
Inheritance
TimeZoneInfoClass
Implements
Inherited Members

Constructors

TimeZoneInfoClass()

public TimeZoneInfoClass()

Explicit Interface Implementations

AddDynamicRule(ITimeZoneRule)

Adds a dynamic adjustment to the time zone.

virtual void AddDynamicRule(ITimeZoneRule DynamicRule)

Parameters

DynamicRule ITimeZoneRule

Assign(IClone)

Assigns the properties of src to the receiver.

virtual void Assign(IClone src)

Parameters

src IClone

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

ConvertToSupportedObject(esriArcGISVersion)

Convert the object to another object that is supported.

virtual object ConvertToSupportedObject(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

object

Remarks

This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE.  Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version.  Not all objects will return a supported object; in these cases a null pointer will be returned.

CustomDescription

Custom description for the time zone.

virtual string CustomDescription { get; set; }

Returns

string

DaylightTimeName

The time zone name during daylight time.

virtual string DaylightTimeName { get; set; }

Returns

string

DefaultRule

The default time zone adjustment rule.

virtual ITimeZoneRule DefaultRule { get; set; }

Returns

ITimeZoneRule

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

DisplayName

Descriptive display name of the time zone.

virtual string DisplayName { get; set; }

Returns

string

DynamicRule[int]

The dynamic adjustment rule for a specific year.

virtual ITimeZoneRule DynamicRule[int Year] { get; }

Parameters

Year int

Returns

ITimeZoneRule

DynamicRulesCount

Number of dynamic adjustment rules for the time zone.

virtual int DynamicRulesCount { get; }

Returns

int

FirstDynamicRuleYear

The first dynamic adjustment rule year.

virtual int FirstDynamicRuleYear { get; }

Returns

int

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IsDirty()

virtual void IsDirty()

IsEqual(IClone)

Indicates if the receiver and other have the same properties.

virtual bool IsEqual(IClone other)

Parameters

other IClone

Returns

bool

IsIdentical(IClone)

Indicates if the receiver and other are the same object.

virtual bool IsIdentical(IClone other)

Parameters

other IClone

Returns

bool

IsSupportedAtVersion(esriArcGISVersion)

Is this object valid at the given document version.

virtual bool IsSupportedAtVersion(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

bool

Remarks

Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream.  This result is based on the esriArcGISVersion enumeration.  In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.

LastDynamicRuleYear

The last dynamic adjustment rule year.

virtual int LastDynamicRuleYear { get; }

Returns

int

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MinNamespaceSupported

The minimum namespace the class can serialize to (eg the 90 namespace).

virtual string MinNamespaceSupported { get; }

Returns

string

NextDynamicRuleYear[int]

The next dynamic adjustment rule year that cyclicly proceeds the given dynamic adjustment rule year.

virtual int NextDynamicRuleYear[int currentDynamicRuleYear] { get; }

Parameters

currentDynamicRuleYear int

Returns

int

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

StandardTimeName

The time zone name during standard time.

virtual string StandardTimeName { get; set; }

Returns

string

WindowsID

Time zone Windows ID name.

virtual string WindowsID { get; set; }

Returns

string