CRSDateTime
Objective-C
@interface CRSDateTime : NSObjectSwift
class CRSDateTime : NSObjectDate and time
- 
                  
                  Year DeclarationObjective-C @property (nonatomic) int year;Swift var year: Int32 { get set }
- 
                  
                  Month DeclarationObjective-C @property (nonatomic, strong) NSNumber *month;Swift var month: NSNumber! { get set }
- 
                  
                  Day DeclarationObjective-C @property (nonatomic, strong) NSNumber *day;Swift var day: NSNumber! { get set }
- 
                  
                  Hour DeclarationObjective-C @property (nonatomic, strong) NSNumber *hour;Swift var hour: NSNumber! { get set }
- 
                  
                  Minute DeclarationObjective-C @property (nonatomic, strong) NSNumber *minute;Swift var minute: NSNumber! { get set }
- 
                  
                  Second DeclarationObjective-C @property (nonatomic, strong) NSNumber *second;Swift var second: NSNumber! { get set }
- 
                  
                  Seconds fraction DeclarationObjective-C @property (nonatomic, strong) NSDecimalNumber *fraction;Swift var fraction: NSDecimalNumber! { get set }
- 
                  
                  Seconds fraction Text DeclarationObjective-C @property (nonatomic, strong) NSString *fractionText;Swift var fractionText: String! { get set }
- 
                  
                  Local time zone hour DeclarationObjective-C @property (nonatomic, strong) NSNumber *timeZoneHour;Swift var timeZoneHour: NSNumber! { get set }
- 
                  
                  Local time zone minute DeclarationObjective-C @property (nonatomic, strong) NSNumber *timeZoneMinute;Swift var timeZoneMinute: NSNumber! { get set }
- 
                  
                  Parse the text into a Date Time DeclarationObjective-C + (CRSDateTime *)parse:(NSString *)text;Swift class func parse(_ text: String!) -> CRSDateTime!Parameterstextdate time text Return Valuedate time 
- 
                  
                  Attempt to parse the text into a Date Time DeclarationObjective-C + (CRSDateTime *)tryParse:(NSString *)text;Swift class func tryParse(_ text: String!) -> CRSDateTime!Parameterstextpotential date time text Return Valuedate time or null 
- 
                  
                  Create DeclarationObjective-C + (CRSDateTime *)create;Swift class func create() -> CRSDateTime!Return Valuenew instance 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)init;Swift init!()Return Valuenew instance 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithYear:(int)year;Swift init!(year: Int32)Parametersyearyear Return Valuenew instance 
- 
                  
                  Is an ordinal day DeclarationObjective-C - (BOOL)isOrdinal;Swift func isOrdinal() -> BoolReturn Valuetrue if ordinal day 
- 
                  
                  If date has a time precision DeclarationObjective-C - (BOOL)hasTime;Swift func hasTime() -> BoolReturn Valuetrue if has time 
- 
                  
                  Check if has a month DeclarationObjective-C - (BOOL)hasMonth;Swift func hasMonth() -> BoolReturn Valuetrue if has month 
- 
                  
                  Check if has a day DeclarationObjective-C - (BOOL)hasDay;Swift func hasDay() -> BoolReturn Valuetrue if has day 
- 
                  
                  Check if has a hour DeclarationObjective-C - (BOOL)hasHour;Swift func hasHour() -> BoolReturn Valuetrue if has hour 
- 
                  
                  Check if has a minute DeclarationObjective-C - (BOOL)hasMinute;Swift func hasMinute() -> BoolReturn Valuetrue if has minute 
- 
                  
                  Check if has a second DeclarationObjective-C - (BOOL)hasSecond;Swift func hasSecond() -> BoolReturn Valuetrue if has second 
- 
                  
                  Check if has a fraction DeclarationObjective-C - (BOOL)hasFraction;Swift func hasFraction() -> BoolReturn Valuetrue if has fraction 
- 
                  
                  Has a time zone hour DeclarationObjective-C - (BOOL)hasTimeZoneHour;Swift func hasTimeZoneHour() -> BoolReturn Valuetrue if has time zone hour 
- 
                  
                  Has a time zone minute DeclarationObjective-C - (BOOL)hasTimeZoneMinute;Swift func hasTimeZoneMinute() -> BoolReturn Valuetrue if has time zone minute 
- 
                  
                  Is the time zone UTC DeclarationObjective-C - (BOOL)isTimeZoneUTC;Swift func isTimeZoneUTC() -> BoolReturn Valuetrue if UTC 
- 
                  
                  Set the time zone as UTC DeclarationObjective-C - (void)setTimeZoneUTC;Swift func setTimeZoneUTC()
 View on GitHub
View on GitHub CRSDateTime Class Reference
        CRSDateTime Class Reference