Utility class to assist with Unix timestamp conversions. More...
Instance Methods | |
| (instancetype) | - init |
Class Methods | |
| (long long) | + dateTimeToUnixMillisWithDateTime: |
| Converts a date to a Unix timestamp with millisecond precision. More... | |
| (long long) | + dateTimeToUnixWithDateTime: |
| Converts a date to a Unix timestamp. More... | |
| (long long) | + ticksToUnixMillisWithTicks: |
| Converts ticks to a Unix timestamp with millisecond precision. More... | |
| (long long) | + ticksToUnixWithTicks: |
| Converts ticks to a Unix timestamp. More... | |
| (NSDate *) | + unixMillisToDateTimeWithUnix: |
| Converts a Unix timestamp with millisecond precision to a date. More... | |
| (long long) | + unixMillisToTicksWithUnix: |
| Converts a Unix timestamp with millisecond precision to ticks. More... | |
| (FMLiveSwitchUnixTimestamp *) | + unixTimestamp |
| (NSDate *) | + unixToDateTimeWithUnix: |
| Converts a Unix timestamp to a date. More... | |
| (long long) | + unixToTicksWithUnix: |
| Converts a Unix timestamp to ticks. More... | |
| (long long) | + utcNow |
| Gets the current UTC time in Unix format. More... | |
| (long long) | + utcNowMillis |
| Gets the current UTC time in Unix format with millisecond precision. More... | |
Utility class to assist with Unix timestamp conversions.
| + (long long) dateTimeToUnixMillisWithDateTime: | (NSDate *) | dateTime |
Converts a date to a Unix timestamp with millisecond precision.
| dateTime | The date to convert. |
| + (long long) dateTimeToUnixWithDateTime: | (NSDate *) | dateTime |
Converts a date to a Unix timestamp.
| dateTime | The date to convert. |
| - (instancetype) init |
| + (long long) ticksToUnixMillisWithTicks: | (long long) | ticks |
Converts ticks to a Unix timestamp with millisecond precision.
| ticks | The ticks to convert. |
| + (long long) ticksToUnixWithTicks: | (long long) | ticks |
Converts ticks to a Unix timestamp.
| ticks | The ticks to convert. |
| + (NSDate*) unixMillisToDateTimeWithUnix: | (long long) | unix |
Converts a Unix timestamp with millisecond precision to a date.
| unix | The Unix timestamp to convert. |
| + (long long) unixMillisToTicksWithUnix: | (long long) | unix |
Converts a Unix timestamp with millisecond precision to ticks.
| unix | The Unix timestamp to convert. |
| + (FMLiveSwitchUnixTimestamp*) unixTimestamp |
| + (NSDate*) unixToDateTimeWithUnix: | (long long) | unix |
Converts a Unix timestamp to a date.
| unix | The Unix timestamp to convert. |
| + (long long) unixToTicksWithUnix: | (long long) | unix |
Converts a Unix timestamp to ticks.
| unix | The Unix timestamp to convert. |
| + (long long) utcNow |
Gets the current UTC time in Unix format.
| + (long long) utcNowMillis |
Gets the current UTC time in Unix format with millisecond precision.