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

Description

Defines a period of time.

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 

Creates an object with the specified time period.

Parameters
durationrepresenting the amount of time.
unitfor the duration.
Since
100.2

◆ timeValueWithDuration:unit:

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

Creates an object with the specified time period.

Parameters
durationrepresenting the amount of time.
unitfor the duration.
Returns
A new time value.
Since
100.2

Property Documentation

◆ duration

- (double) duration
readnonatomicassign

The amount of time in the specified unit property.

Since
100.2

◆ unit

- (AGSTimeUnit) unit
readnonatomicassign

The unit of time used to specify the duration property.

Since
100.2