ArcGIS Runtime SDK for iOS: AGSTimeValue.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSTimeValue.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18  //Required for Globals API doc
20 
21 #import <ArcGIS/AGSObject.h>
22 
23 
24 
30 typedef NS_ENUM(NSInteger, AGSTimeUnit) {
42 };
43 
50 @interface AGSTimeValue : AGSObject
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
63 -(instancetype)initWithDuration:(double)duration unit:(AGSTimeUnit)unit;
64 
71 +(instancetype)timeValueWithDuration:(double)duration unit:(AGSTimeUnit)unit;
72 
73 #pragma mark -
74 #pragma mark properties
75 
79 @property (nonatomic, assign, readonly) double duration;
80 
81 
85 @property (nonatomic, assign, readonly) AGSTimeUnit unit;
86 
87 #pragma mark -
88 #pragma mark methods
89 
90 @end
91 
92 
Definition: AGSTimeValue.h:37
Definition: AGSTimeValue.h:38
double duration
Definition: AGSTimeValue.h:79
Definition: AGSTimeValue.h:40
Definition: AGSTimeValue.h:39
AGSTimeUnit unit
Definition: AGSTimeValue.h:85
Definition: AGSTimeValue.h:41
Definition: AGSTimeValue.h:35
Definition: AGSTimeValue.h:31
Definition: AGSObject.h:21
Definition: AGSTimeValue.h:32
AGSTimeUnit
Definition: AGSTimeValue.h:30
Defines a period of time.
Definition: AGSTimeValue.h:50
Definition: AGSTimeValue.h:36
Definition: AGSTimeValue.h:33
Definition: AGSTimeValue.h:34