27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
60 #pragma mark initializers
69 -(instancetype)initWithDuration:(
double)duration unit:(
AGSTimeUnit)unit;
77 +(instancetype)timeValueWithDuration:(
double)duration unit:(
AGSTimeUnit)unit;
80 #pragma mark properties
85 @property (nonatomic, assign, readonly)
double duration;
AGSTimeUnit
Definition: AGSTimeValue.h:37
@ AGSTimeUnitHours
Definition: AGSTimeValue.h:42
@ AGSTimeUnitMonths
Definition: AGSTimeValue.h:45
@ AGSTimeUnitMilliseconds
Definition: AGSTimeValue.h:43
@ AGSTimeUnitDays
Definition: AGSTimeValue.h:40
@ AGSTimeUnitUnknown
Definition: AGSTimeValue.h:38
@ AGSTimeUnitYears
Definition: AGSTimeValue.h:48
@ AGSTimeUnitDecades
Definition: AGSTimeValue.h:41
@ AGSTimeUnitCenturies
Definition: AGSTimeValue.h:39
@ AGSTimeUnitWeeks
Definition: AGSTimeValue.h:47
@ AGSTimeUnitSeconds
Definition: AGSTimeValue.h:46
@ AGSTimeUnitMinutes
Definition: AGSTimeValue.h:44
Definition: AGSObject.h:28
Defines a period of time.
Definition: AGSTimeValue.h:58
AGSTimeUnit unit
Definition: AGSTimeValue.h:91
double duration
Definition: AGSTimeValue.h:85