ArcGIS Runtime SDK for iOS: AGSTimeExtent.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSTimeExtent.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 
19 #import <ArcGIS/AGSObject.h>
20 
33 
34 
35 #pragma mark -
36 #pragma mark initializers
37 
38 
39 
45 -(instancetype)initWithStartTime:(nullable NSDate *)startTime endTime:(nullable NSDate *)endTime;
46 
52 +(instancetype)timeExtentWithStartTime:(nullable NSDate *)startTime endTime:(nullable NSDate *)endTime;
53 
58 -(instancetype)initWithTimeInstant:(NSDate *)timeInstant;
59 
64 +(instancetype)timeExtentWithTimeInstant:(NSDate *)timeInstant;
65 
66 #pragma mark -
67 #pragma mark properties
68 
72 @property (nullable, nonatomic, strong, readonly) NSDate *endTime;
73 
77 @property (nullable, nonatomic, strong, readonly) NSDate *startTime;
78 
79 #pragma mark -
80 #pragma mark methods
81 
82 
83 @end
Represents a span of time between a start time and end time.
Definition: AGSTimeExtent.h:32
NSDate * endTime
Definition: AGSTimeExtent.h:72
NSDate * startTime
Definition: AGSTimeExtent.h:77
Definition: AGSObject.h:21