Utility class to assist with ISO-8601 timestamp conversions. More...
Instance Methods | |
(instancetype) | - init |
Class Methods | |
(NSString *) | + dateTimeToIso8601WithDateTime: |
Converts a date to a ISO-8601 timestamp. More... | |
(FMLiveSwitchIso8601Timestamp *) | + iso8601Timestamp |
(NSDate *) | + iso8601ToDateTimeWithIso8601: |
Converts a ISO-8601 timestamp to a date. More... | |
(NSString *) | + utcNow |
Gets the current UTC time in ISO-8601 format. More... | |
Utility class to assist with ISO-8601 timestamp conversions.
+ (NSString*) dateTimeToIso8601WithDateTime: | (NSDate *) | dateTime |
Converts a date to a ISO-8601 timestamp.
dateTime | The date to convert. |
- (instancetype) init |
+ (FMLiveSwitchIso8601Timestamp*) iso8601Timestamp |
+ (NSDate*) iso8601ToDateTimeWithIso8601: | (NSString *) | iso8601 |
Converts a ISO-8601 timestamp to a date.
iso8601 | The ISO-8601 timestamp to convert. |
+ (NSString*) utcNow |
Gets the current UTC time in ISO-8601 format.