|
Time Shield Library 2.0.0
C++ library for working with time
|
Convenience aliases for the time-conversion API. More...
Go to the source code of this file.
Namespaces | |
| namespace | time_shield |
| Main namespace for the Time Shield library. | |
Functions | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unix_year (ts_t ts) noexcept |
| Alias for years_since_epoch function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::to_unix_year (ts_t ts) noexcept |
| Alias for years_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::get_unixday (ts_t ts=time_shield::ts()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unix_day (ts_t ts=time_shield::ts()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::dse (ts_t ts=time_shield::ts()) noexcept |
| Short alias for days_since_epoch. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unixday (ts_t ts=time_shield::ts()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::uday (ts_t ts=time_shield::ts()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::get_unixday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unix_day_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::dse_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
| Short alias for days_since_epoch_ms. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unixday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = dse_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::uday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
| Alias for days_since_epoch function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unixday_to_ts (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::dse_to_ts (dse_t unix_day) noexcept |
| Short alias for unix_day_to_ts. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::uday_to_ts (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::start_of_day_from_unix_day (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unixday_to_ts_ms (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts_ms function. | |
| template<class T = ts_ms_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::dse_to_ts_ms (dse_t unix_day) noexcept |
| Short alias for unix_day_to_ts_ms. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::uday_to_ts_ms (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts_ms function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::start_of_day_from_unix_day_ms (dse_t unix_day) noexcept |
| Alias for unix_day_to_ts_ms function. | |
| template<class T = ts_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::next_day_from_unix_day (dse_t unix_day) noexcept |
| Alias for start_of_next_day_from_unix_day function. | |
| template<class T = ts_ms_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::next_day_from_unix_day_ms (dse_t unix_day) noexcept |
| Alias for start_of_next_day_from_unix_day_ms function. | |
| template<class T = int64_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::minutes_since_epoch (ts_t ts=time_shield::ts()) |
| Alias for min_since_epoch function. | |
| template<class T = int64_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::unix_min (ts_t ts=time_shield::ts()) |
| Alias for min_since_epoch function. | |
| template<class T = int64_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::to_unix_min (ts_t ts=time_shield::ts()) |
| Alias for min_since_epoch function. | |
| template<class T = int64_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::umin (ts_t ts=time_shield::ts()) |
| Alias for min_since_epoch function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR auto | time_shield::dt_to_ts (const T &date_time) -> decltype(dt_to_timestamp(date_time)) |
| Alias for dt_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR auto | time_shield::tm_to_ts (const std::tm *timeinfo) -> decltype(tm_to_timestamp(timeinfo)) |
| Alias for tm_to_timestamp. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::h24_to_h12 (T hour) noexcept |
| Alias for hour24_to_12 function. | |
| template<class T1 , class T2 = ts_t> | |
| T1 | time_shield::to_dt (T2 ts) |
| Alias for to_date_time function. | |
| template<class T1 , class T2 = ts_t> | |
| T1 | time_shield::to_dt_struct (T2 ts) |
| Alias for to_date_time function. | |
| auto | time_shield::to_dt (ts_t ts) -> decltype(to_date_time(ts)) |
| Alias for to_date_time function. | |
| template<class T > | |
| T | time_shield::to_dt_ms (ts_ms_t ts) |
| Alias for to_date_time_ms function. | |
| template<class T > | |
| T | time_shield::to_dt_struct_ms (ts_ms_t ts) |
| Alias for to_date_time_ms function. | |
| auto | time_shield::to_dt_ms (ts_ms_t ts_ms) -> decltype(to_date_time_ms< DateTimeStruct >(ts_ms)) |
| Alias for to_date_time_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (year_t year, int month, int day) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (year_t year, int month, int day, int hour) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_ts (year_t year, int month, int day) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_ts (year_t year, int month, int day, int hour) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_ts (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_ts (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_timestamp (year_t year, int month, int day) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_timestamp (year_t year, int month, int day, int hour) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_timestamp (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_timestamp (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (year_t year, int month, int day) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (year_t year, int month, int day, int hour) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (year_t year, int month, int day) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (year_t year, int month, int day, int hour) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_timestamp (const T &date_time) |
| Alias for dt_to_timestamp function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (const T &date_time) |
| Alias for dt_to_timestamp function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (const T &date_time) |
| Alias for dt_to_timestamp function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (const T &date_time) |
| Alias for dt_to_timestamp function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_ts (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::get_timestamp (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts_from_tm (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_timestamp (const std::tm *timeinfo) |
| Alias for tm_to_timestamp. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::ts_ms (year_t year, int month, int day) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour, int min, int sec, int ms) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day, int hour) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day, int hour, int min, int sec, int ms) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day, int hour) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day, int hour, int min, int sec, int ms) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour, int min, int sec, int ms) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day, int hour) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day, int hour, int min) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day, int hour, int min, int sec) |
| Alias for to_timestamp_ms. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day, int hour, int min, int sec, int ms) |
| Alias for to_timestamp_ms. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_timestamp_ms (const T &date_time) |
| Alias for dt_to_timestamp_ms function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR auto | time_shield::dt_to_ts_ms (const T &date_time) -> decltype(dt_to_timestamp_ms(date_time)) |
| Alias for dt_to_timestamp_ms function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts_ms (const T &date_time) |
| Alias for dt_to_timestamp_ms function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts_ms (const T &date_time) |
| Alias for dt_to_timestamp_ms function. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp_ms (const T &date_time) |
| Alias for dt_to_timestamp_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_timestamp_ms (const std::tm *timeinfo) |
| Alias for tm_to_timestamp_ms function. | |
| TIME_SHIELD_CONSTEXPR auto | time_shield::tm_to_ts_ms (const std::tm *timeinfo) -> decltype(tm_to_timestamp_ms(timeinfo)) |
| Alias for tm_to_timestamp_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::to_ts_ms (const std::tm *timeinfo) |
| Alias for tm_to_timestamp_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::ts_ms (const std::tm *timeinfo) |
| Alias for tm_to_timestamp_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::timestamp_ms (const std::tm *timeinfo) |
| Alias for tm_to_timestamp_ms function. | |
| template<class T1 = year_t, class T2 = int, class T3 = int> | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::to_fts (T1 year, T2 month, T2 day, T2 hour=0, T2 min=0, T2 sec=0, T3 ms=0) |
| Alias for to_ftimestamp. | |
| template<class T1 = year_t, class T2 = int, class T3 = int> | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::fts (T1 year, T2 month, T2 day, T2 hour=0, T2 min=0, T2 sec=0, T3 ms=0) |
| Alias for to_ftimestamp. | |
| template<class T1 = year_t, class T2 = int, class T3 = int> | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::ftimestamp (T1 year, T2 month, T2 day, T2 hour=0, T2 min=0, T2 sec=0, T3 ms=0) |
| Alias for to_ftimestamp. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::to_ftimestamp (const T &date_time) |
| Alias for dt_to_ftimestamp. | |
| template<class T > | |
| constexpr auto | time_shield::dt_to_fts (const T &date_time) -> decltype(dt_to_ftimestamp(date_time)) |
| Alias for dt_to_ftimestamp. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::to_fts (const T &date_time) |
| Alias for dt_to_ftimestamp. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::fts (const T &date_time) |
| Alias for dt_to_ftimestamp. | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::ftimestamp (const T &date_time) |
| Alias for dt_to_ftimestamp. | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::to_ftimestamp (const std::tm *timeinfo) |
| Alias for tm_to_ftimestamp. | |
| TIME_SHIELD_CONSTEXPR auto | time_shield::tm_to_fts (const std::tm *timeinfo) -> decltype(tm_to_ftimestamp(timeinfo)) |
| Alias for tm_to_ftimestamp. | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::to_fts (const std::tm *timeinfo) |
| Alias for tm_to_ftimestamp. | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::fts (const std::tm *timeinfo) |
| Alias for tm_to_ftimestamp. | |
| TIME_SHIELD_CONSTEXPR fts_t | time_shield::ftimestamp (const std::tm *timeinfo) |
| Alias for tm_to_ftimestamp. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::get_days (ts_t start, ts_t stop) noexcept |
| Alias for days_between function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::days (ts_t start, ts_t stop) noexcept |
| Alias for days_between function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::get_days_difference (ts_t start, ts_t stop) noexcept |
| Alias for days_between function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::diff_in_days (ts_t start, ts_t stop) noexcept |
| Alias for days_between function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::year (ts_t ts=time_shield::ts()) |
| Alias for year_of function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::to_year (ts_t ts=time_shield::ts()) |
| Alias for year_of function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::year_ms (ts_ms_t ts_ms=time_shield::ts_ms()) |
| Alias for year_of_ms function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::to_year_ms (ts_ms_t ts_ms=time_shield::ts_ms()) |
| Alias for year_of_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::year_start (ts_t ts=time_shield::ts()) |
| Alias for start_of_year function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::year_begin (ts_t ts=time_shield::ts()) |
| Alias for start_of_year function. | |
| ts_ms_t | time_shield::year_start_ms (ts_ms_t ts_ms=time_shield::ts_ms()) |
| Alias for start_of_year_ms function. | |
| ts_ms_t | time_shield::year_begin_ms (ts_ms_t ts_ms=time_shield::ts_ms()) |
| Alias for start_of_year_ms function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::year_start_date (T year) |
| Alias for start_of_year_date function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::year_begin_date (T year) |
| Alias for start_of_year_date function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::year_start_date_ms (T year) |
| Alias for start_of_year_date_ms function. | |
| template<class T = year_t> | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::year_begin_date_ms (T year) |
| Alias for start_of_year_date_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::year_end (ts_t ts=time_shield::ts()) |
| Alias for end_of_year function. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::year_end_ms (ts_ms_t ts_ms=time_shield::ts_ms()) |
| Alias for end_of_year_ms function. | |
| template<class T1 = int, class T2 = year_t, class T3 = int> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::days_in_month (T2 year, T3 month) noexcept |
| Alias for num_days_in_month function. | |
| template<class T1 = int> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::num_days_in_month (ts_t ts=time_shield::ts()) noexcept |
| Alias for num_days_in_month_ts function. | |
| template<class T1 = int> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::days_in_month (ts_t ts=time_shield::ts()) noexcept |
| Alias for num_days_in_month_ts function. | |
| template<class T1 = int, class T2 = year_t> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::days_in_year (T2 year) noexcept |
| Alias for num_days_in_year function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::days_in_year_ts (ts_t ts=time_shield::ts()) |
| Alias for num_days_in_year_ts function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::day_start (ts_t ts=time_shield::ts()) noexcept |
| Alias for start_of_day function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::previous_day_start (ts_t ts=time_shield::ts(), T days=1) noexcept |
| Alias for start_of_prev_day function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::day_start_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for start_of_day_sec function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::start_day_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for start_of_day_sec function. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::day_start_ms (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for start_of_day_ms function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::next_day_start (ts_t ts, T days=1) noexcept |
| Alias for start_of_next_day function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::next_day_start_ms (ts_ms_t ts_ms, T days=1) noexcept |
| Alias for start_of_next_day_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::day_end (ts_t ts=time_shield::ts()) noexcept |
| Alias for end_of_day function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::day_end_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for end_of_day_sec function. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::day_end_ms (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for end_of_day_ms function. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::day_of_week (year_t year, int month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::day_of_week (year_t year, Month month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::get_weekday (year_t year, int month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::get_weekday (year_t year, Month month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::weekday (year_t year, int month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::weekday (year_t year, Month month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::dow (year_t year, int month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::dow (year_t year, Month month, int day) |
| Alias for day_of_week_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::get_dow (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::dow_from_date (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::weekday_of (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::day_of_week_dt (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::day_of_week (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::dow (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T1 = Weekday, class T2 , typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::wd (const T2 &date) |
| Alias for weekday_of_date. | |
| template<class T = Weekday, class U , typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::day_of_week (U ts) noexcept |
| Alias for weekday_of_ts. | |
| template<class T = Weekday, class U , typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::dow_ts (U ts) noexcept |
| Alias for weekday_of_ts. | |
| template<class T = Weekday, class U , typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::get_dow_from_ts (U ts) noexcept |
| Alias for weekday_of_ts. | |
| template<class T = Weekday, class U , typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::wd_ts (U ts) noexcept |
| Alias for weekday_of_ts. | |
| template<class T = Weekday> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::day_of_week_ms (ts_ms_t ts_ms) |
| Alias for weekday_of_ts_ms function. | |
| template<class T = Weekday> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::wd_ms (ts_ms_t ts_ms) |
| Alias for weekday_of_ts_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::month_begin (ts_t ts=time_shield::ts()) |
| Alias for start_of_month function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::last_day_of_month (ts_t ts=time_shield::ts()) |
| Alias for end_of_month function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::final_sunday_of_month (ts_t ts=time_shield::ts()) |
| Alias for last_sunday_of_month function. | |
| template<class T1 = int, class T2 = year_t, class T3 = int> | |
| TIME_SHIELD_CONSTEXPR T1 | time_shield::final_sunday_month_day (T2 year, T3 month) |
| Alias for last_sunday_month_day function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::hour_begin (ts_t ts=time_shield::ts()) noexcept |
| Alias for start_of_hour function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::hour_begin_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for start_of_hour_sec function. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::hour_begin_ms (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for start_of_hour_ms function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::finish_of_hour (ts_t ts=time_shield::ts()) noexcept |
| Alias for end_of_hour function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::finish_of_hour_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for end_of_hour_sec function. | |
| TIME_SHIELD_CONSTEXPR ts_ms_t | time_shield::finish_of_hour_ms (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
| Alias for end_of_hour_ms function. | |
| template<class T = int> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::hour_in_day (ts_t ts=time_shield::ts()) noexcept |
| Alias for hour_of_day function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::week_begin (ts_t ts=time_shield::ts()) |
| Alias for start_of_week function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::finish_of_week (ts_t ts=time_shield::ts()) |
| Alias for end_of_week function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::saturday_begin (ts_t ts=time_shield::ts()) |
| Alias for start_of_saturday function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::min_begin (ts_t ts=time_shield::ts()) noexcept |
| Alias for start_of_min function. | |
| TIME_SHIELD_CONSTEXPR ts_t | time_shield::finish_of_min (ts_t ts=time_shield::ts()) noexcept |
| Alias for end_of_min function. | |
| TIME_SHIELD_CONSTEXPR bool | time_shield::workday (ts_t ts) noexcept |
| Alias for is_workday(ts_t). | |
| TIME_SHIELD_CONSTEXPR bool | time_shield::workday_ms (ts_ms_t ts_ms) noexcept |
| Alias for is_workday(ts_ms_t). | |
| TIME_SHIELD_CONSTEXPR bool | time_shield::workday (year_t year, int month, int day) noexcept |
| Alias for is_workday(year_t, int, int). | |
| template<class T > | |
| TIME_SHIELD_CONSTEXPR tz_t | time_shield::tz_offset (const T &tz) noexcept |
| Alias for to_tz_offset. | |
| TIME_SHIELD_CONSTEXPR tz_t | time_shield::offset_hm (int hour, int min=0) noexcept |
| Alias for tz_offset_hm. | |
| TIME_SHIELD_CONSTEXPR bool | time_shield::valid_tz_offset (tz_t off) noexcept |
| Alias for is_valid_tz_offset. | |
Convenience aliases for the time-conversion API.
Definitions provide alternative names for commonly used conversion helpers. Doxygen sees the declarations directly and can index each alias independently. Include this header after the canonical conversion declarations.
Definition in file time_conversion_aliases.hpp.