Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
Time Constants

A collection of constants for time calculations and conversions. More...

Variables

constexpr int64_t time_shield::MS_1 = 1
 1 millisecond
 
constexpr int64_t time_shield::MS_5 = 5
 5 milliseconds
 
constexpr int64_t time_shield::MS_10 = 10
 10 milliseconds
 
constexpr int64_t time_shield::MS_50 = 50
 50 milliseconds
 
constexpr int64_t time_shield::MS_100 = 100
 100 milliseconds
 
constexpr int64_t time_shield::MS_250 = 250
 250 milliseconds
 
constexpr int64_t time_shield::MS_500 = 500
 500 milliseconds
 
constexpr int64_t time_shield::MS_750 = 750
 750 milliseconds
 
constexpr int64_t time_shield::SEC_1 = 1
 1 second
 
constexpr int64_t time_shield::SEC_2 = 2
 2 seconds
 
constexpr int64_t time_shield::SEC_3 = 3
 3 seconds
 
constexpr int64_t time_shield::SEC_5 = 5
 5 seconds
 
constexpr int64_t time_shield::SEC_10 = 10
 10 seconds
 
constexpr int64_t time_shield::SEC_15 = 15
 15 seconds
 
constexpr int64_t time_shield::SEC_30 = 30
 30 seconds
 
constexpr int64_t time_shield::MIN_1 = 1
 1 minute
 
constexpr int64_t time_shield::MIN_2 = 2
 2 minutes
 
constexpr int64_t time_shield::MIN_5 = 5
 5 minutes
 
constexpr int64_t time_shield::MIN_10 = 10
 10 minutes
 
constexpr int64_t time_shield::MIN_15 = 15
 15 minutes
 
constexpr int64_t time_shield::MIN_30 = 30
 30 minutes
 
constexpr int64_t time_shield::HOUR_1 = 1
 1 hour
 
constexpr int64_t time_shield::HOUR_2 = 2
 2 hours
 
constexpr int64_t time_shield::HOUR_3 = 3
 3 hours
 
constexpr int64_t time_shield::HOUR_4 = 4
 4 hours
 
constexpr int64_t time_shield::HOUR_5 = 5
 5 hours
 
constexpr int64_t time_shield::HOUR_8 = 8
 8 hours
 
constexpr int64_t time_shield::HOUR_12 = 12
 12 hours
 
constexpr int64_t time_shield::HOUR_24 = 24
 24 hours
 
constexpr int64_t time_shield::NS_PER_US = 1000
 Nanoseconds per microsecond.
 
constexpr int64_t time_shield::NS_PER_MS = 1000000
 Nanoseconds per millisecond.
 
constexpr int64_t time_shield::NS_PER_SEC = 1000000000
 Nanoseconds per second.
 
constexpr int64_t time_shield::US_PER_SEC = 1000000
 Microseconds per second.
 
constexpr int64_t time_shield::MS_PER_SEC = 1000
 Milliseconds per second.
 
constexpr int64_t time_shield::MS_PER_1_SEC = 1000
 Milliseconds per 1 second.
 
constexpr int64_t time_shield::MS_PER_5_SEC = 5000
 Milliseconds per 5 second.
 
constexpr int64_t time_shield::MS_PER_10_SEC = 10000
 Milliseconds per 10 seconds.
 
constexpr int64_t time_shield::MS_PER_15_SEC = 15000
 Milliseconds per 15 second.
 
constexpr int64_t time_shield::MS_PER_30_SEC = 30000
 Milliseconds per 30 second.
 
constexpr int64_t time_shield::MS_PER_MIN = 60000
 Milliseconds per minute.
 
constexpr int64_t time_shield::MS_PER_1_MIN = 60000
 Milliseconds per 1 minute.
 
constexpr int64_t time_shield::MS_PER_5_MIN = 300000
 Milliseconds per 5 minute.
 
constexpr int64_t time_shield::MS_PER_10_MIN = 600000
 Milliseconds per 10 minute.
 
constexpr int64_t time_shield::MS_PER_15_MIN = 900000
 Milliseconds per 15 minute.
 
constexpr int64_t time_shield::MS_PER_30_MIN = 1800000
 Milliseconds per 30 minute.
 
constexpr int64_t time_shield::MS_PER_HALF_HOUR = 1800000
 Milliseconds per half hour.
 
constexpr int64_t time_shield::MS_PER_HOUR = 3600000
 Milliseconds per hour.
 
constexpr int64_t time_shield::MS_PER_1_HOUR = 3600000
 Milliseconds per 1 hour.
 
constexpr int64_t time_shield::MS_PER_2_HOUR = 7200000
 Milliseconds per 2 hour.
 
constexpr int64_t time_shield::MS_PER_4_HOUR = 14400000
 Milliseconds per 4 hour.
 
constexpr int64_t time_shield::MS_PER_5_HOUR = 18000000
 Milliseconds per 5 hour.
 
constexpr int64_t time_shield::MS_PER_8_HOUR = 28800000
 Milliseconds per 8 hour.
 
constexpr int64_t time_shield::MS_PER_12_HOUR = 43200000
 Milliseconds per 12 hour.
 
constexpr int64_t time_shield::MS_PER_DAY = 86400000
 Milliseconds per day.
 
constexpr int64_t time_shield::SEC_PER_MIN = 60
 Seconds per minute.
 
constexpr int64_t time_shield::SEC_PER_1_MIN = 60
 Seconds per 1 minute.
 
constexpr int64_t time_shield::SEC_PER_3_MIN = 180
 Seconds per 3 minute.
 
constexpr int64_t time_shield::SEC_PER_5_MIN = 300
 Seconds per 5 minute.
 
constexpr int64_t time_shield::SEC_PER_10_MIN = 600
 Seconds per 10 minute.
 
constexpr int64_t time_shield::SEC_PER_15_MIN = 900
 Seconds per 15 minute.
 
constexpr int64_t time_shield::SEC_PER_HALF_HOUR = 1800
 Seconds per half hour.
 
constexpr int64_t time_shield::SEC_PER_HOUR = 3600
 Seconds per hour.
 
constexpr int64_t time_shield::SEC_PER_1_HOUR = 3600
 Seconds per 1 hour.
 
constexpr int64_t time_shield::SEC_PER_2_HOUR = 7200
 Seconds per 2 hour.
 
constexpr int64_t time_shield::SEC_PER_4_HOUR = 14400
 Seconds per 4 hour.
 
constexpr int64_t time_shield::SEC_PER_5_HOUR = 18000
 Seconds per 5 hour.
 
constexpr int64_t time_shield::SEC_PER_8_HOUR = 28800
 Seconds per 8 hour.
 
constexpr int64_t time_shield::SEC_PER_12_HOUR = 43200
 Seconds per 12 hour.
 
constexpr int64_t time_shield::SEC_PER_DAY = 86400
 Seconds per day.
 
constexpr int64_t time_shield::SEC_PER_YEAR = 31536000
 Seconds per year (365 days)
 
constexpr int64_t time_shield::AVG_SEC_PER_YEAR = 31557600
 Average seconds per year (365.25 days)
 
constexpr int64_t time_shield::SEC_PER_LEAP_YEAR = 31622400
 Seconds per leap year (366 days)
 
constexpr int64_t time_shield::SEC_PER_4_YEARS = 126230400
 Seconds per 4 years.
 
constexpr int64_t time_shield::SEC_PER_FIRST_100_YEARS = 3155760000
 Seconds per first 100 years.
 
constexpr int64_t time_shield::SEC_PER_100_YEARS = 3155673600
 Seconds per 100 years.
 
constexpr int64_t time_shield::SEC_PER_400_YEARS = 12622780800
 Seconds per 400 years.
 
constexpr int64_t time_shield::MAX_SEC_PER_DAY = 86399
 Maximum seconds per day.
 
constexpr int64_t time_shield::MIN_PER_HOUR = 60
 Minutes per hour.
 
constexpr int64_t time_shield::MIN_PER_DAY = 1440
 Minutes per day.
 
constexpr int64_t time_shield::MIN_PER_1_DAY = 1440
 Minutes per 1 day.
 
constexpr int64_t time_shield::MIN_PER_2_DAY = 2*1440
 Minutes per 2 day.
 
constexpr int64_t time_shield::MIN_PER_5_DAY = 5*1440
 Minutes per 5 day.
 
constexpr int64_t time_shield::MIN_PER_7_DAY = 7*1440
 Minutes per 7 day.
 
constexpr int64_t time_shield::MIN_PER_WEEK = 10080
 Minutes per week.
 
constexpr int64_t time_shield::MIN_PER_10_DAY = 10*1440
 Minutes per 10 day.
 
constexpr int64_t time_shield::MIN_PER_15_DAY = 15*1440
 Minutes per 15 day.
 
constexpr int64_t time_shield::MIN_PER_30_DAY = 15*1440
 Minutes per 30 day.
 
constexpr int64_t time_shield::MIN_PER_MONTH = 40320
 Minutes per month (28 days)
 
constexpr int64_t time_shield::MAX_MOON_MIN = 42523
 Maximum lunar minutes.
 
constexpr int64_t time_shield::HOURS_PER_DAY = 24
 Hours per day.
 
constexpr int64_t time_shield::DAYS_PER_WEEK = 7
 Days per week.
 
constexpr int64_t time_shield::DAYS_PER_LEAP_YEAR = 366
 Days per leap year.
 
constexpr int64_t time_shield::DAYS_PER_YEAR = 365
 Days per year.
 
constexpr int64_t time_shield::DAYS_PER_4_YEARS = 1461
 Days per 4 years.
 
const int64_t time_shield::MONTHS_PER_YEAR = 12
 Months per year.
 
const int64_t time_shield::MAX_DAYS_PER_MONTH = 31
 Maximum days per month.
 
const int64_t time_shield::LEAP_YEAR_PER_100_YEAR = 24
 Leap years per 100 years.
 
const int64_t time_shield::LEAP_YEAR_PER_400_YEAR = 97
 Leap years per 400 years.
 
constexpr int64_t time_shield::UNIX_EPOCH = 1970
 Start year of UNIX time.
 
constexpr int64_t time_shield::OLE_EPOCH = 25569
 OLE automation date since UNIX epoch.
 
constexpr int64_t time_shield::MAX_YEAR = 292277022000LL
 Maximum representable year.
 
constexpr int64_t time_shield::MIN_YEAR = -2967369602200LL
 Minimum representable year.
 
constexpr int64_t time_shield::ERROR_YEAR = 9223372036854770000LL
 Error year value.
 
constexpr int64_t time_shield::MAX_TIMESTAMP = 9223371890843040000LL
 Maximum timestamp value.
 
constexpr int64_t time_shield::ERROR_TIMESTAMP = 9223372036854770000LL
 Error timestamp value.
 
constexpr double time_shield::MAX_OADATE = (std::numeric_limits<double>::max)()
 Maximum OLE automation date.
 
constexpr double time_shield::AVG_DAYS_PER_YEAR = 365.25
 Average days per year.
 

Detailed Description

A collection of constants for time calculations and conversions.

This group includes constants for time units (nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days), and other values related to the representation of time, such as UNIX and OLE epochs.

Key Features:

Example Usage:

int64_t milliseconds_in_a_day = time_shield::MS_PER_DAY;
constexpr int64_t MS_PER_DAY
Milliseconds per day.
Definition constants.hpp:96

This group includes constants for time units (nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days), and other values related to the representation of time, such as UNIX and OLE epochs.

Key Features:

Example Usage:

long milliseconds_in_a_day = time_shield::MS_PER_DAY;

Variable Documentation

◆ AVG_DAYS_PER_YEAR

const double time_shield::AVG_DAYS_PER_YEAR = 365.25
constexpr

Average days per year.

Definition at line 159 of file constants.hpp.

◆ AVG_SEC_PER_YEAR

const long time_shield::AVG_SEC_PER_YEAR = 31557600
constexpr

Average seconds per year (365.25 days)

Definition at line 115 of file constants.hpp.

◆ DAYS_PER_4_YEARS

const long time_shield::DAYS_PER_4_YEARS = 1461
constexpr

Days per 4 years.

Definition at line 142 of file constants.hpp.

◆ DAYS_PER_LEAP_YEAR

const long time_shield::DAYS_PER_LEAP_YEAR = 366
constexpr

Days per leap year.

Definition at line 140 of file constants.hpp.

◆ DAYS_PER_WEEK

const long time_shield::DAYS_PER_WEEK = 7
constexpr

Days per week.

Definition at line 139 of file constants.hpp.

◆ DAYS_PER_YEAR

const long time_shield::DAYS_PER_YEAR = 365
constexpr

Days per year.

Definition at line 141 of file constants.hpp.

◆ ERROR_TIMESTAMP

const long time_shield::ERROR_TIMESTAMP = 9223372036854770000LL
constexpr

Error timestamp value.

Definition at line 157 of file constants.hpp.

◆ ERROR_YEAR

const long time_shield::ERROR_YEAR = 9223372036854770000LL
constexpr

Error year value.

Definition at line 155 of file constants.hpp.

◆ HOUR_1

const long time_shield::HOUR_1 = 1
constexpr

1 hour

Definition at line 60 of file constants.hpp.

◆ HOUR_12

const long time_shield::HOUR_12 = 12
constexpr

12 hours

Definition at line 66 of file constants.hpp.

◆ HOUR_2

const long time_shield::HOUR_2 = 2
constexpr

2 hours

Definition at line 61 of file constants.hpp.

◆ HOUR_24

const long time_shield::HOUR_24 = 24
constexpr

24 hours

Definition at line 67 of file constants.hpp.

◆ HOUR_3

const long time_shield::HOUR_3 = 3
constexpr

3 hours

Definition at line 62 of file constants.hpp.

◆ HOUR_4

const long time_shield::HOUR_4 = 4
constexpr

4 hours

Definition at line 63 of file constants.hpp.

◆ HOUR_5

const long time_shield::HOUR_5 = 5
constexpr

5 hours

Definition at line 64 of file constants.hpp.

◆ HOUR_8

const long time_shield::HOUR_8 = 8
constexpr

8 hours

Definition at line 65 of file constants.hpp.

◆ HOURS_PER_DAY

const long time_shield::HOURS_PER_DAY = 24
constexpr

Hours per day.

Definition at line 138 of file constants.hpp.

◆ LEAP_YEAR_PER_100_YEAR

const long time_shield::LEAP_YEAR_PER_100_YEAR = 24

Leap years per 100 years.

Definition at line 147 of file constants.hpp.

◆ LEAP_YEAR_PER_400_YEAR

const long time_shield::LEAP_YEAR_PER_400_YEAR = 97

Leap years per 400 years.

Definition at line 148 of file constants.hpp.

◆ MAX_DAYS_PER_MONTH

const long time_shield::MAX_DAYS_PER_MONTH = 31

Maximum days per month.

Definition at line 146 of file constants.hpp.

◆ MAX_MOON_MIN

const long time_shield::MAX_MOON_MIN = 42523
constexpr

Maximum lunar minutes.

Definition at line 135 of file constants.hpp.

◆ MAX_OADATE

const double time_shield::MAX_OADATE = (std::numeric_limits<double>::max)()
constexpr

Maximum OLE automation date.

Definition at line 158 of file constants.hpp.

◆ MAX_SEC_PER_DAY

const long time_shield::MAX_SEC_PER_DAY = 86399
constexpr

Maximum seconds per day.

Definition at line 121 of file constants.hpp.

◆ MAX_TIMESTAMP

const long time_shield::MAX_TIMESTAMP = 9223371890843040000LL
constexpr

Maximum timestamp value.

Definition at line 156 of file constants.hpp.

◆ MAX_YEAR

const long time_shield::MAX_YEAR = 292277022000LL
constexpr

Maximum representable year.

Definition at line 153 of file constants.hpp.

◆ MIN_1

const long time_shield::MIN_1 = 1
constexpr

1 minute

Definition at line 52 of file constants.hpp.

◆ MIN_10

const long time_shield::MIN_10 = 10
constexpr

10 minutes

Definition at line 55 of file constants.hpp.

◆ MIN_15

const long time_shield::MIN_15 = 15
constexpr

15 minutes

Definition at line 56 of file constants.hpp.

◆ MIN_2

const long time_shield::MIN_2 = 2
constexpr

2 minutes

Definition at line 53 of file constants.hpp.

◆ MIN_30

const long time_shield::MIN_30 = 30
constexpr

30 minutes

Definition at line 57 of file constants.hpp.

◆ MIN_5

const long time_shield::MIN_5 = 5
constexpr

5 minutes

Definition at line 54 of file constants.hpp.

◆ MIN_PER_10_DAY

const long time_shield::MIN_PER_10_DAY = 10*1440
constexpr

Minutes per 10 day.

Definition at line 131 of file constants.hpp.

◆ MIN_PER_15_DAY

const long time_shield::MIN_PER_15_DAY = 15*1440
constexpr

Minutes per 15 day.

Definition at line 132 of file constants.hpp.

◆ MIN_PER_1_DAY

const long time_shield::MIN_PER_1_DAY = 1440
constexpr

Minutes per 1 day.

Definition at line 126 of file constants.hpp.

◆ MIN_PER_2_DAY

const long time_shield::MIN_PER_2_DAY = 2*1440
constexpr

Minutes per 2 day.

Definition at line 127 of file constants.hpp.

◆ MIN_PER_30_DAY

const long time_shield::MIN_PER_30_DAY = 15*1440
constexpr

Minutes per 30 day.

Definition at line 133 of file constants.hpp.

◆ MIN_PER_5_DAY

const long time_shield::MIN_PER_5_DAY = 5*1440
constexpr

Minutes per 5 day.

Definition at line 128 of file constants.hpp.

◆ MIN_PER_7_DAY

const long time_shield::MIN_PER_7_DAY = 7*1440
constexpr

Minutes per 7 day.

Definition at line 129 of file constants.hpp.

◆ MIN_PER_DAY

const long time_shield::MIN_PER_DAY = 1440
constexpr

Minutes per day.

Definition at line 125 of file constants.hpp.

◆ MIN_PER_HOUR

const long time_shield::MIN_PER_HOUR = 60
constexpr

Minutes per hour.

Definition at line 124 of file constants.hpp.

◆ MIN_PER_MONTH

const long time_shield::MIN_PER_MONTH = 40320
constexpr

Minutes per month (28 days)

Definition at line 134 of file constants.hpp.

◆ MIN_PER_WEEK

const long time_shield::MIN_PER_WEEK = 10080
constexpr

Minutes per week.

Definition at line 130 of file constants.hpp.

◆ MIN_YEAR

const long time_shield::MIN_YEAR = -2967369602200LL
constexpr

Minimum representable year.

Definition at line 154 of file constants.hpp.

◆ MONTHS_PER_YEAR

const long time_shield::MONTHS_PER_YEAR = 12

Months per year.

Definition at line 145 of file constants.hpp.

◆ MS_1

const long time_shield::MS_1 = 1
constexpr

1 millisecond

Definition at line 33 of file constants.hpp.

◆ MS_10

const long time_shield::MS_10 = 10
constexpr

10 milliseconds

Definition at line 35 of file constants.hpp.

◆ MS_100

const long time_shield::MS_100 = 100
constexpr

100 milliseconds

Definition at line 37 of file constants.hpp.

◆ MS_250

const long time_shield::MS_250 = 250
constexpr

250 milliseconds

Definition at line 38 of file constants.hpp.

◆ MS_5

const long time_shield::MS_5 = 5
constexpr

5 milliseconds

Definition at line 34 of file constants.hpp.

◆ MS_50

const long time_shield::MS_50 = 50
constexpr

50 milliseconds

Definition at line 36 of file constants.hpp.

◆ MS_500

const long time_shield::MS_500 = 500
constexpr

500 milliseconds

Definition at line 39 of file constants.hpp.

◆ MS_750

const long time_shield::MS_750 = 750
constexpr

750 milliseconds

Definition at line 40 of file constants.hpp.

◆ MS_PER_10_MIN

const long time_shield::MS_PER_10_MIN = 600000
constexpr

Milliseconds per 10 minute.

Definition at line 85 of file constants.hpp.

◆ MS_PER_10_SEC

const long time_shield::MS_PER_10_SEC = 10000
constexpr

Milliseconds per 10 seconds.

Definition at line 79 of file constants.hpp.

◆ MS_PER_12_HOUR

const long time_shield::MS_PER_12_HOUR = 43200000
constexpr

Milliseconds per 12 hour.

Definition at line 95 of file constants.hpp.

◆ MS_PER_15_MIN

const long time_shield::MS_PER_15_MIN = 900000
constexpr

Milliseconds per 15 minute.

Definition at line 86 of file constants.hpp.

◆ MS_PER_15_SEC

const long time_shield::MS_PER_15_SEC = 15000
constexpr

Milliseconds per 15 second.

Definition at line 80 of file constants.hpp.

◆ MS_PER_1_HOUR

const long time_shield::MS_PER_1_HOUR = 3600000
constexpr

Milliseconds per 1 hour.

Definition at line 90 of file constants.hpp.

◆ MS_PER_1_MIN

const long time_shield::MS_PER_1_MIN = 60000
constexpr

Milliseconds per 1 minute.

Definition at line 83 of file constants.hpp.

◆ MS_PER_1_SEC

const long time_shield::MS_PER_1_SEC = 1000
constexpr

Milliseconds per 1 second.

Definition at line 77 of file constants.hpp.

◆ MS_PER_2_HOUR

const long time_shield::MS_PER_2_HOUR = 7200000
constexpr

Milliseconds per 2 hour.

Definition at line 91 of file constants.hpp.

◆ MS_PER_30_MIN

const long time_shield::MS_PER_30_MIN = 1800000
constexpr

Milliseconds per 30 minute.

Definition at line 87 of file constants.hpp.

◆ MS_PER_30_SEC

const long time_shield::MS_PER_30_SEC = 30000
constexpr

Milliseconds per 30 second.

Definition at line 81 of file constants.hpp.

◆ MS_PER_4_HOUR

const long time_shield::MS_PER_4_HOUR = 14400000
constexpr

Milliseconds per 4 hour.

Definition at line 92 of file constants.hpp.

◆ MS_PER_5_HOUR

const long time_shield::MS_PER_5_HOUR = 18000000
constexpr

Milliseconds per 5 hour.

Definition at line 93 of file constants.hpp.

◆ MS_PER_5_MIN

const long time_shield::MS_PER_5_MIN = 300000
constexpr

Milliseconds per 5 minute.

Definition at line 84 of file constants.hpp.

◆ MS_PER_5_SEC

const long time_shield::MS_PER_5_SEC = 5000
constexpr

Milliseconds per 5 second.

Definition at line 78 of file constants.hpp.

◆ MS_PER_8_HOUR

const long time_shield::MS_PER_8_HOUR = 28800000
constexpr

Milliseconds per 8 hour.

Definition at line 94 of file constants.hpp.

◆ MS_PER_DAY

const long time_shield::MS_PER_DAY = 86400000
constexpr

Milliseconds per day.

Definition at line 96 of file constants.hpp.

◆ MS_PER_HALF_HOUR

const long time_shield::MS_PER_HALF_HOUR = 1800000
constexpr

Milliseconds per half hour.

Definition at line 88 of file constants.hpp.

◆ MS_PER_HOUR

const long time_shield::MS_PER_HOUR = 3600000
constexpr

Milliseconds per hour.

Definition at line 89 of file constants.hpp.

◆ MS_PER_MIN

const long time_shield::MS_PER_MIN = 60000
constexpr

Milliseconds per minute.

Definition at line 82 of file constants.hpp.

◆ MS_PER_SEC

const long time_shield::MS_PER_SEC = 1000
constexpr

Milliseconds per second.

Definition at line 76 of file constants.hpp.

◆ NS_PER_MS

const long time_shield::NS_PER_MS = 1000000
constexpr

Nanoseconds per millisecond.

Definition at line 71 of file constants.hpp.

◆ NS_PER_SEC

const long time_shield::NS_PER_SEC = 1000000000
constexpr

Nanoseconds per second.

Definition at line 72 of file constants.hpp.

◆ NS_PER_US

const long time_shield::NS_PER_US = 1000
constexpr

Nanoseconds per microsecond.

Definition at line 70 of file constants.hpp.

◆ OLE_EPOCH

const long time_shield::OLE_EPOCH = 25569
constexpr

OLE automation date since UNIX epoch.

Definition at line 152 of file constants.hpp.

◆ SEC_1

const long time_shield::SEC_1 = 1
constexpr

1 second

Definition at line 43 of file constants.hpp.

◆ SEC_10

const long time_shield::SEC_10 = 10
constexpr

10 seconds

Definition at line 47 of file constants.hpp.

◆ SEC_15

const long time_shield::SEC_15 = 15
constexpr

15 seconds

Definition at line 48 of file constants.hpp.

◆ SEC_2

const long time_shield::SEC_2 = 2
constexpr

2 seconds

Definition at line 44 of file constants.hpp.

◆ SEC_3

const long time_shield::SEC_3 = 3
constexpr

3 seconds

Definition at line 45 of file constants.hpp.

◆ SEC_30

const long time_shield::SEC_30 = 30
constexpr

30 seconds

Definition at line 49 of file constants.hpp.

◆ SEC_5

const long time_shield::SEC_5 = 5
constexpr

5 seconds

Definition at line 46 of file constants.hpp.

◆ SEC_PER_100_YEARS

const long time_shield::SEC_PER_100_YEARS = 3155673600
constexpr

Seconds per 100 years.

Definition at line 119 of file constants.hpp.

◆ SEC_PER_10_MIN

const long time_shield::SEC_PER_10_MIN = 600
constexpr

Seconds per 10 minute.

Definition at line 103 of file constants.hpp.

◆ SEC_PER_12_HOUR

const long time_shield::SEC_PER_12_HOUR = 43200
constexpr

Seconds per 12 hour.

Definition at line 112 of file constants.hpp.

◆ SEC_PER_15_MIN

const long time_shield::SEC_PER_15_MIN = 900
constexpr

Seconds per 15 minute.

Definition at line 104 of file constants.hpp.

◆ SEC_PER_1_HOUR

const long time_shield::SEC_PER_1_HOUR = 3600
constexpr

Seconds per 1 hour.

Definition at line 107 of file constants.hpp.

◆ SEC_PER_1_MIN

const long time_shield::SEC_PER_1_MIN = 60
constexpr

Seconds per 1 minute.

Definition at line 100 of file constants.hpp.

◆ SEC_PER_2_HOUR

const long time_shield::SEC_PER_2_HOUR = 7200
constexpr

Seconds per 2 hour.

Definition at line 108 of file constants.hpp.

◆ SEC_PER_3_MIN

const long time_shield::SEC_PER_3_MIN = 180
constexpr

Seconds per 3 minute.

Definition at line 101 of file constants.hpp.

◆ SEC_PER_400_YEARS

const long time_shield::SEC_PER_400_YEARS = 12622780800
constexpr

Seconds per 400 years.

Definition at line 120 of file constants.hpp.

◆ SEC_PER_4_HOUR

const long time_shield::SEC_PER_4_HOUR = 14400
constexpr

Seconds per 4 hour.

Definition at line 109 of file constants.hpp.

◆ SEC_PER_4_YEARS

const long time_shield::SEC_PER_4_YEARS = 126230400
constexpr

Seconds per 4 years.

Definition at line 117 of file constants.hpp.

◆ SEC_PER_5_HOUR

const long time_shield::SEC_PER_5_HOUR = 18000
constexpr

Seconds per 5 hour.

Definition at line 110 of file constants.hpp.

◆ SEC_PER_5_MIN

const long time_shield::SEC_PER_5_MIN = 300
constexpr

Seconds per 5 minute.

Definition at line 102 of file constants.hpp.

◆ SEC_PER_8_HOUR

const long time_shield::SEC_PER_8_HOUR = 28800
constexpr

Seconds per 8 hour.

Definition at line 111 of file constants.hpp.

◆ SEC_PER_DAY

const long time_shield::SEC_PER_DAY = 86400
constexpr

Seconds per day.

Definition at line 113 of file constants.hpp.

◆ SEC_PER_FIRST_100_YEARS

const long time_shield::SEC_PER_FIRST_100_YEARS = 3155760000
constexpr

Seconds per first 100 years.

Definition at line 118 of file constants.hpp.

◆ SEC_PER_HALF_HOUR

const long time_shield::SEC_PER_HALF_HOUR = 1800
constexpr

Seconds per half hour.

Definition at line 105 of file constants.hpp.

◆ SEC_PER_HOUR

const long time_shield::SEC_PER_HOUR = 3600
constexpr

Seconds per hour.

Definition at line 106 of file constants.hpp.

◆ SEC_PER_LEAP_YEAR

const long time_shield::SEC_PER_LEAP_YEAR = 31622400
constexpr

Seconds per leap year (366 days)

Definition at line 116 of file constants.hpp.

◆ SEC_PER_MIN

const long time_shield::SEC_PER_MIN = 60
constexpr

Seconds per minute.

Definition at line 99 of file constants.hpp.

◆ SEC_PER_YEAR

const long time_shield::SEC_PER_YEAR = 31536000
constexpr

Seconds per year (365 days)

Definition at line 114 of file constants.hpp.

◆ UNIX_EPOCH

const long time_shield::UNIX_EPOCH = 1970
constexpr

Start year of UNIX time.

Definition at line 151 of file constants.hpp.

◆ US_PER_SEC

const long time_shield::US_PER_SEC = 1000000
constexpr

Microseconds per second.

Definition at line 75 of file constants.hpp.