ITimeValue Interface

Provides access to members that control the Time Value.

Description

This interface allows you to access the TimeReference for a given time value. It provides a way to get the time value's time reference, and also change the time reference by projecting the value into a different temporal reference.

Members

Name Description
Method Project Projects this time value from its time reference, to a given time reference.
Method ProjectFromUTC Projects this time value from UTC, to its time reference.
Method ProjectToUTC Projects this time value from its time reference, to UTC.
Read/write property TimeReference The time reference associated with the time value.

ITimeValue.Project Method

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

Public Sub Project ( _
    ByVal TimeReference As ITimeReference _
)
public void Project (
    ITimeReference TimeReference
);

Description

This function modifies the underlying time value in addition to changing the value of the temporal reference. For example, if you have a time value whose time reference is in Pacific Time Zone, and is currently 6:00 AM. The equivalent time in Eastern Time Zone is 9:00 AM. Calling the Project method, and passing in a reference to the Eastern time zone will change the time reference to the Eastern Time Zone, and also change the value to 9:00 AM.

ITimeValue.ProjectFromUTC Method

Projects this time value from UTC, to its time reference.

Public Sub ProjectFromUTC ( _
)
public void ProjectFromUTC (
);

ITimeValue.ProjectToUTC Method

Projects this time value from its time reference, to UTC.

Public Sub ProjectToUTC ( _
)
public void ProjectToUTC (
);

ITimeValue.TimeReference Property

The time reference associated with the time value.

Public Property TimeReference As ITimeReference
public ITimeReference TimeReference {get; set;}

Classes that implement ITimeValue

Classes Description
TimeExtent An object that represents a time-referenced time extent.
TimeInstant An object that represents a time-referenced instant in time.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.