Class TimeReference
- java.lang.Object
-
- com.esri.arcgisruntime.arcgisservices.TimeReference
-
public final class TimeReference extends java.lang.Object
Represents information about the reference units for time values. Includes information about the time zone and if the time respects daylight savings which allows ArcGIS to integrate datasets that were recorded in different time zones.- Since:
- 100.0.0
- See Also:
LayerTimeInfo.getTimeReference()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTimeZone()
Gets the time zone name for this time reference.boolean
isRespectsDaylightSavings()
Indicates whether the referenced time respects Daylight Savings Time.
-
-
-
Method Detail
-
getTimeZone
public java.lang.String getTimeZone()
Gets the time zone name for this time reference.- Returns:
- the time zone name. Returns an empty string by default.
- Since:
- 100.0.0
-
isRespectsDaylightSavings
public boolean isRespectsDaylightSavings()
Indicates whether the referenced time respects Daylight Savings Time.- Returns:
- true if the referenced time respects Daylight Savings Time, false otherwise. Default is true.
- Since:
- 100.0.0
-
-