Class TimeReferenceClass
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("EFB2E7DB-78F4-4E24-B01F-4F9C7AB800C5")]
public class TimeReferenceClass : TimeReference, ITimeReference, IXMLSerialize, IXMLVersionSupport, IClone, IPersistStream, IPersist, IDocumentVersionSupportGEN
- Inheritance
-
TimeReferenceClass
- Implements
- Inherited Members
Constructors
TimeReferenceClass()
public TimeReferenceClass()
Explicit Interface Implementations
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.
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
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.
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
Project(ITime, ITimeReference)
Projects a given time, from this time reference, to a given time reference.
virtual void Project(ITime Time, ITimeReference otherTimeReference)
Parameters
TimeITimeotherTimeReferenceITimeReference
ProjectFromUTC(ITime)
Projects a given time, from UTC to this time reference.
virtual void ProjectFromUTC(ITime Time)
Parameters
TimeITime
ProjectToUTC(ITime)
Projects a given time, from this time reference, to UTC.
virtual void ProjectToUTC(ITime Time)
Parameters
TimeITime
RespectsDaylightSavingTime
Indicates whether the time reference respects daylight saving time.
virtual bool RespectsDaylightSavingTime { get; set; }
Returns
RespectsDynamicAdjustmentRules
Indicates whether the time reference respects dynamic adjustment rules.
virtual bool RespectsDynamicAdjustmentRules { get; set; }
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
TimeZoneIanaID
Time zone IANA ID name.
virtual string TimeZoneIanaID { get; set; }
Returns
TimeZoneInfo
The time zone information associated with the time reference.
virtual ITimeZoneInfo TimeZoneInfo { get; set; }