CRSTemporalDatum
Objective-C
@interface CRSTemporalDatum : NSObject<CRSIdentifiable>
/**
* Datum Name
*/
@property (nonatomic, strong) NSString *name;
/**
* Calendar Identifier
*/
@property (nonatomic, strong) NSString *calendar;
/**
* Origin Description
*/
@property (nonatomic, strong) NSString *origin;
/**
* Origin Description date time
*/
@property (nonatomic, strong) CRSDateTime *originDateTime;
/**
* Identifiers
*/
@property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;
/**
* Create
*
* @return new instance
*/
+(CRSTemporalDatum *) create;
/**
* Initialize
*
* @return new instance
*/
-(instancetype) init;
/**
* Initialize
*
* @param name
* name
*
* @return new instance
*/
-(instancetype) initWithName: (NSString *) name;
/**
* Has a calendar identifier
*
* @return true if has calendar identifier
*/
-(BOOL) hasCalendar;
/**
* Has an origin
*
* @return true if has origin
*/
-(BOOL) hasOrigin;
/**
* Has an origin date time
*
* @return true if has origin date time
*/
-(BOOL) hasOriginDateTime;
/**
* Set the origin date time
*
* @param origin
* origin date time
*/
-(void) setOriginDateTimeWithOrigin: (NSString *) origin;
@end
Swift
class CRSTemporalDatum : NSObject, CRSIdentifiable
Undocumented
-
Datum Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *name;
Swift
var name: String! { get set }
-
Calendar Identifier
Declaration
Objective-C
@property (nonatomic, strong) NSString *calendar;
Swift
var calendar: String! { get set }
-
Origin Description
Declaration
Objective-C
@property (nonatomic, strong) NSString *origin;
Swift
var origin: String! { get set }
-
Origin Description date time
Declaration
Objective-C
@property (nonatomic, strong) CRSDateTime *originDateTime;
Swift
var originDateTime: CRSDateTime! { get set }
-
Identifiers
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;
Swift
var identifiers: NSMutableArray! { get set }
-
Create
Declaration
Objective-C
+ (CRSTemporalDatum *)create;
Swift
class func create() -> CRSTemporalDatum!
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name;
Swift
init!(name: String!)
Parameters
name
name
Return Value
new instance
-
Has a calendar identifier
Declaration
Objective-C
- (BOOL)hasCalendar;
Swift
func hasCalendar() -> Bool
Return Value
true if has calendar identifier
-
Has an origin
Declaration
Objective-C
- (BOOL)hasOrigin;
Swift
func hasOrigin() -> Bool
Return Value
true if has origin
-
Has an origin date time
Declaration
Objective-C
- (BOOL)hasOriginDateTime;
Swift
func hasOriginDateTime() -> Bool
Return Value
true if has origin date time
-
Set the origin date time
Declaration
Objective-C
- (void)setOriginDateTimeWithOrigin:(NSString *)origin;
Swift
func setOriginDateTimeWithOrigin(_ origin: String!)
Parameters
origin
origin date time