38namespace nfx::time::constants
constexpr std::int32_t DAYS_PER_4_YEARS
Days per 4-year cycle (Gregorian calendar).
constexpr std::int64_t TICKS_PER_HOUR
Ticks per hour (100-nanosecond units).
constexpr std::int32_t DAYS_PER_100_YEARS
Days per 100-year cycle (Gregorian calendar).
constexpr std::int32_t SECONDS_PER_HOUR
Number of seconds in an hour (60 minutes × 60 seconds).
constexpr std::int32_t MILLISECONDS_PER_SECOND
Number of milliseconds in a second.
constexpr std::int32_t DAYS_PER_YEAR
Days per year (non-leap).
constexpr std::size_t MAX_ISO8601_LENGTH
Maximum length of ISO 8601 datetime string.
constexpr std::int64_t TICKS_PER_MILLISECOND
Ticks per millisecond (100-nanosecond units).
constexpr std::int32_t DAYS_PER_400_YEARS
Days per 400-year cycle (Gregorian calendar).
constexpr std::int64_t MIN_DATETIME_TICKS
Minimum DateTime value: January 1, 0001 00:00:00.000 UTC (100-nanosecond ticks).
constexpr std::size_t MAX_UNIX_MILLISECONDS_LENGTH
Maximum length of Unix timestamp in milliseconds (13 digits).
constexpr std::int64_t MICROSOFT_FILETIME_EPOCH_TICKS
Microsoft Windows FILETIME epoch: January 1, 1601 00:00:00.000 UTC (100-nanosecond ticks).
constexpr std::int64_t TICKS_PER_MINUTE
Ticks per minute (100-nanosecond units).
constexpr std::int32_t MAX_OFFSET_MINUTES
Maximum timezone offset in minutes: +14:00 (UTC+14).
constexpr std::string_view ISO8601_TIME_PATTERN
ISO 8601 time-only format pattern.
constexpr std::size_t MIN_ISO8601_LENGTH
Minimum length of ISO 8601 datetime string.
constexpr std::int32_t SECONDS_PER_DAY
Number of seconds in a day (24 hours × 60 minutes × 60 seconds).
constexpr std::string_view ISO8601_EXTENDED_PATTERN
Extended ISO 8601 datetime format pattern with fractional seconds.
constexpr std::int32_t MINUTES_PER_HOUR
Number of minutes in an hour.
constexpr std::size_t MAX_UNIX_SECONDS_LENGTH
Maximum length of Unix timestamp in seconds (10 digits for year 2286).
constexpr std::int32_t SECONDS_PER_MINUTE
Number of seconds in a minute.
constexpr std::int32_t MINUTES_PER_DAY
Number of minutes in a day (24 hours × 60 minutes).
constexpr std::int64_t MAX_DATETIME_TICKS
Maximum DateTime value: December 31, 9999 23:59:59.999 UTC (100-nanosecond ticks).
constexpr std::int32_t MAX_OFFSET_SECONDS
Maximum timezone offset in seconds: +14:00:00 (UTC+14).
constexpr std::int32_t MIN_OFFSET_MINUTES
Minimum timezone offset in minutes: -14:00 (UTC-14).
constexpr std::size_t CURRENT_UNIX_SECONDS_LENGTH
Current typical length of Unix timestamp in seconds (10 digits until 2286).
constexpr std::int32_t MIN_OFFSET_SECONDS
Minimum timezone offset in seconds: -14:00:00 (UTC-14).
constexpr std::string_view ISO8601_BASIC_PATTERN
Basic ISO 8601 datetime format pattern.
constexpr std::int64_t TICKS_PER_DAY
Ticks per day (100-nanosecond units).
constexpr std::int32_t MIN_YEAR
Minimum year value.
constexpr std::int64_t TICKS_PER_MICROSECOND
Ticks per microsecond (100-nanosecond units).
constexpr std::string_view ISO8601_DATE_PATTERN
ISO 8601 date-only format pattern.
constexpr std::int32_t HOURS_PER_DAY
Number of hours in a day.
constexpr std::int32_t MAX_YEAR
Maximum year value.
constexpr std::int32_t UTC_OFFSET
UTC offset (zero).
constexpr std::int64_t TICKS_PER_SECOND
Ticks per second (100-nanosecond units).
constexpr std::int64_t NANOSECONDS_PER_TICK
Nanoseconds per tick (1 tick = 100 nanoseconds).
constexpr std::int64_t UNIX_EPOCH_TICKS
Unix epoch: January 1, 1970 00:00:00.000 UTC (100-nanosecond ticks).