|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeReference
Provides access to members that control the Time Reference.
The ITimeReference interface provides analogous functionality to the spatial reference. It provides a context for the scalar value contained in ITimeValue. It stores all of the time zone information and all of the daylight savings time information related to a system of time. Note that the TimeZoneInfo can contain several years worth of rules, which are different from one year to the next.
Method Summary | |
---|---|
ITimeZoneInfo |
getTimeZoneInfo()
The time zone information associated with the time reference. |
boolean |
isRespectsDaylightSavingTime()
Indicates whether the time reference respects daylight saving time. |
boolean |
isRespectsDynamicAdjustmentRules()
Indicates whether the time reference respects dynamic adjustment rules. |
void |
project(ITime time,
ITimeReference otherTimeReference)
Projects a given time, from this time reference, to a given time reference. |
void |
projectFromUTC(ITime time)
Projects a given time, from UTC to this time reference. |
void |
projectToUTC(ITime time)
Projects a given time, from this time reference, to UTC. |
void |
setRespectsDaylightSavingTime(boolean respectsDaylightSavingTime)
Indicates whether the time reference respects daylight saving time. |
void |
setRespectsDynamicAdjustmentRules(boolean respectsDynamicAdjustmentRules)
Indicates whether the time reference respects dynamic adjustment rules. |
void |
setTimeZoneInfoByRef(ITimeZoneInfo timeZone)
The time zone information associated with the time reference. |
Method Detail |
---|
ITimeZoneInfo getTimeZoneInfo() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTimeZoneInfoByRef(ITimeZoneInfo timeZone) throws IOException, AutomationException
timeZone
- A reference to a com.esri.arcgis.system.ITimeZoneInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRespectsDaylightSavingTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRespectsDaylightSavingTime(boolean respectsDaylightSavingTime) throws IOException, AutomationException
respectsDaylightSavingTime
- The respectsDaylightSavingTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRespectsDynamicAdjustmentRules() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRespectsDynamicAdjustmentRules(boolean respectsDynamicAdjustmentRules) throws IOException, AutomationException
respectsDynamicAdjustmentRules
- The respectsDynamicAdjustmentRules (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void project(ITime time, ITimeReference otherTimeReference) throws IOException, AutomationException
time
- A reference to a com.esri.arcgis.system.ITime (in)otherTimeReference
- A reference to a com.esri.arcgis.system.ITimeReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void projectToUTC(ITime time) throws IOException, AutomationException
time
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void projectFromUTC(ITime time) throws IOException, AutomationException
time
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |