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
DynamicRuleITimeZoneRule
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
ConvertToSupportedObject(esriArcGISVersion)
Convert the object to another object that is supported.
virtual object ConvertToSupportedObject(esriArcGISVersion docVersion)
Parameters
docVersionesriArcGISVersion
Returns
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
DaylightTimeName
The time zone name during daylight time.
virtual string DaylightTimeName { get; set; }
Returns
DefaultRule
The default time zone adjustment rule.
virtual ITimeZoneRule DefaultRule { get; set; }
Returns
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
DisplayName
Descriptive display name of the time zone.
virtual string DisplayName { get; set; }
Returns
DynamicRule[int]
The dynamic adjustment rule for a specific year.
virtual ITimeZoneRule DynamicRule[int Year] { get; }
Parameters
Yearint
Returns
DynamicRulesCount
Number of dynamic adjustment rules for the time zone.
virtual int DynamicRulesCount { get; }
Returns
FirstDynamicRuleYear
The first dynamic adjustment rule year.
virtual int FirstDynamicRuleYear { get; }
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
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
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
IsSupportedAtVersion(esriArcGISVersion)
Is this object valid at the given document version.
virtual bool IsSupportedAtVersion(esriArcGISVersion docVersion)
Parameters
docVersionesriArcGISVersion
Returns
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
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MinNamespaceSupported
The minimum namespace the class can serialize to (eg the 90 namespace).
virtual string MinNamespaceSupported { get; }
Returns
NextDynamicRuleYear[int]
The next dynamic adjustment rule year that cyclicly proceeds the given dynamic adjustment rule year.
virtual int NextDynamicRuleYear[int currentDynamicRuleYear] { get; }
Parameters
currentDynamicRuleYearint
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
StandardTimeName
The time zone name during standard time.
virtual string StandardTimeName { get; set; }
Returns
WindowsID
Time zone Windows ID name.
virtual string WindowsID { get; set; }