AGSTimeExtent Class Reference


Description

Instances of this class represent a time extent. The time extent is a span of time going from a start time to an end time and it is returned in the metadata for time-aware services and layers.

Defined in:
AGSTime.h ( ArcGIS library)
Since:
1.0

List of all members.

Public Member Functions

(id) - initWithStart:end:
(BOOL) - isEqualToTimeExtent:
(NSString *) - JSONValueString

Properties

NSDate * end
NSDate * start

Member Function Documentation

- (id) initWithStart: (NSDate *)  start
end: (NSDate *)  end 

Initialize an AGSTimeExtent with a start and end date.

Parameters:
start The beginning date of the time extent.
end The end date of the time extent.
Returns:
A new time extent object.
Since:
1.0
- (BOOL) isEqualToTimeExtent: (AGSTimeExtent *)  timeExtent  

Determines whether or not two time extents are equal.

Parameters:
timeExtent The time extent to compare the current extent with.
Since:
1.0
- (NSString *) JSONValueString  

Retrieve the JSON representation of a time interval.

Returns:
Milliseconds since epoch for start/end.
Since:
1.0

Property Documentation

- (NSDate*) end [read, copy]

The end date for the time extent.

Since:
1.0
- (NSDate*) start [read, copy]

The start date for the time extent.

Since:
1.0