ArcGIS Runtime SDK for iOS
100.15
|
Represents a span of time between a start time and end time.
To create a time extent which represents an instant in time, set the start time and end time to the same time value. The AGSTimeExtent
is returned in the meta-data for time-aware services and layers. It is often used to create a time slider ranging from a start time to an end time.
Instance Methods | |
(instancetype) | - initWithStartTime:endTime: |
(instancetype) | - initWithTimeInstant: |
(BOOL) | - isEqualToTimeExtent: |
Class Methods | |
(instancetype) | + timeExtentWithStartTime:endTime: |
(instancetype) | + timeExtentWithTimeInstant: |
Properties | |
NSDate * | endTime |
NSDate * | startTime |
- (instancetype) initWithStartTime: | (nullable NSDate *) | startTime | |
endTime: | (nullable NSDate *) | endTime | |
Creates a time extent with the given start and end times.
startTime | The start time. |
endTime | The end time. |
- (instancetype) initWithTimeInstant: | (NSDate *) | timeInstant |
Creates a time extent with a time instant.
timeInstant | The time instant is both the start and end time of the extent. |
- (BOOL) isEqualToTimeExtent: | (AGSTimeExtent *) | other |
Compares two time extents for equality
other | time extent to compare this one to |
+ (instancetype) timeExtentWithStartTime: | (nullable NSDate *) | startTime | |
endTime: | (nullable NSDate *) | endTime | |
Creates a time extent with the given start and end times.
startTime | The start time. |
endTime | The end time. |
+ (instancetype) timeExtentWithTimeInstant: | (NSDate *) | timeInstant |
Creates a time extent with a time instant.
timeInstant | The time instant is both the start and end time of the extent. |
|
readnonatomicstrong |
The end time of this time extent.
|
readnonatomicstrong |
The start time of this time extent.