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

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.

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

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.

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

Project(ITime, ITimeReference)

Projects a given time, from this time reference, to a given time reference.

virtual void Project(ITime Time, ITimeReference otherTimeReference)

Parameters

Time ITime
otherTimeReference ITimeReference

ProjectFromUTC(ITime)

Projects a given time, from UTC to this time reference.

virtual void ProjectFromUTC(ITime Time)

Parameters

Time ITime

ProjectToUTC(ITime)

Projects a given time, from this time reference, to UTC.

virtual void ProjectToUTC(ITime Time)

Parameters

Time ITime

RespectsDaylightSavingTime

Indicates whether the time reference respects daylight saving time.

virtual bool RespectsDaylightSavingTime { get; set; }

Returns

bool

RespectsDynamicAdjustmentRules

Indicates whether the time reference respects dynamic adjustment rules.

virtual bool RespectsDynamicAdjustmentRules { get; set; }

Returns

bool

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

TimeZoneIanaID

Time zone IANA ID name.

virtual string TimeZoneIanaID { get; set; }

Returns

string

TimeZoneInfo

The time zone information associated with the time reference.

virtual ITimeZoneInfo TimeZoneInfo { get; set; }

Returns

ITimeZoneInfo