AGSTimeInfo Class Reference


Description

Instances of this class represent time information of a layer. It contains various time related info for dealing with time-aware layers.

Defined in:
AGSTime.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSTimeInfo:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSString * endTimeField
NSString * startTimeField
AGSTimeExtenttimeExtent
double timeInterval
AGSTimeIntervalUnits timeIntervalUnits
AGSTimeReferencetimeReference
NSString * trackIdField

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSString*) endTimeField [read, copy]

The name of the attribute field that contains the end time information.

Since:
1.0
- (NSString*) startTimeField [read, copy]

The name of the attribute field that contains the start time information.

Since:
1.0
- (AGSTimeExtent*) timeExtent [read, retain]

The time extent for all the data in the layer.

Since:
1.0
- (double) timeInterval [read, assign]

Time interval of the data in the layer.

Since:
1.0
- (AGSTimeIntervalUnits) timeIntervalUnits [read, assign]

Temporal unit in which the time interval is measured. Possible values include

  • AGSTimeIntervalUnitsCenturies
  • AGSTimeIntervalUnitsDays
  • AGSTimeIntervalUnitsDecades
  • AGSTimeIntervalUnitsHours
  • AGSTimeIntervalUnitsMilliseconds
  • AGSTimeIntervalUnitsMinutes
  • AGSTimeIntervalUnitsMonths
  • AGSTimeIntervalUnitsSeconds
  • AGSTimeIntervalUnitsUnknown
  • AGSTimeIntervalUnitsWeeks
  • AGSTimeIntervalUnitsYears
Since:
1.0
- (AGSTimeReference*) timeReference [read, retain]

Information about how the time was referenced.

Since:
1.0
- (NSString*) trackIdField [read, copy]

The field that contains the trackId.

Since:
1.0