CRSTemporalExtent
Objective-C
@interface CRSTemporalExtent : NSObject
Swift
class CRSTemporalExtent : NSObject
Temporal Extent
-
Start
Declaration
Objective-C
@property (nonatomic, strong) NSString *start;
Swift
var start: String! { get set }
-
Start date time
Declaration
Objective-C
@property (nonatomic, strong) CRSDateTime *startDateTime;
Swift
var startDateTime: CRSDateTime! { get set }
-
End
Declaration
Objective-C
@property (nonatomic, strong) NSString *end;
Swift
var end: String! { get set }
-
End date time
Declaration
Objective-C
@property (nonatomic, strong) CRSDateTime *endDateTime;
Swift
var endDateTime: CRSDateTime! { get set }
-
Create
Declaration
Objective-C
+ (CRSTemporalExtent *)create;
Swift
class func create() -> CRSTemporalExtent!
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithStart:(NSString *)start andEnd:(NSString *)end;
Swift
init!(start: String!, andEnd end: String!)
Parameters
start
start
end
end
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithStartDateTime:(CRSDateTime *)start andEndDateTime:(CRSDateTime *)end;
Swift
init!(start: CRSDateTime!, andEnd end: CRSDateTime!)
Parameters
start
start
end
end
Return Value
new instance
-
Has a start date time
Declaration
Objective-C
- (BOOL)hasStartDateTime;
Swift
func hasStartDateTime() -> Bool
Return Value
true if has start date time
-
Set the start date time
Declaration
Objective-C
- (void)setStartDateTimeWithStart:(NSString *)start;
Swift
func setStartDateTimeWithStart(_ start: String!)
Parameters
start
start date time
-
Has an end date time
Declaration
Objective-C
- (BOOL)hasEndDateTime;
Swift
func hasEndDateTime() -> Bool
Return Value
true if has end date time
-
Set the end date time
Declaration
Objective-C
- (void)setEndDateTimeWithEnd:(NSString *)end;
Swift
func setEndDateTimeWithEnd(_ end: String!)
Parameters
end
end date time