ArcGIS Runtime SDK for iOS: AGSTimeValue Class Reference
ArcGIS Runtime SDK for iOS  100.6
AGSTimeValue Class Reference

Description

Instances of this class define a period of time.

Since
100.2
Inheritance diagram for AGSTimeValue:
AGSObject

Instance Methods

(instancetype) - initWithDuration:unit:
 

Class Methods

(instancetype) + timeValueWithDuration:unit:
 

Properties

double duration
 
AGSTimeUnit unit
 

Method Documentation

§ initWithDuration:unit:()

- (instancetype) initWithDuration: (double)  duration
unit: (AGSTimeUnit unit 

Initialize this object with the specified time period

Parameters
durationrepresenting the amount of time
unitfor the duration
Returns
Initialized time value
Since
100.2

§ timeValueWithDuration:unit:()

+ (instancetype) timeValueWithDuration: (double)  duration
unit: (AGSTimeUnit unit 

Initialize this object with the specified time period

Parameters
durationrepresenting the amount of time
unitfor the duration
Returns
Initialized time value
Since
100.2

Property Documentation

§ duration

- (double) duration
readnonatomicassign

The amount of time in the specified unit

Since
100.2

§ unit

- (AGSTimeUnit) unit
readnonatomicassign

The unit of time used to specify the duration

Since
100.2