Time Shield Library
C++ library for working with time
|
Doxygen-only stubs for alias functions defined via macros. 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> | |
constexpr const T | time_shield::unix_year (ts_t ts) noexcept |
Alias for get_unix_year function. | |
template<class T = year_t> | |
constexpr const T | time_shield::to_unix_year (ts_t ts) noexcept |
Alias for get_unix_year function. | |
template<class T = uday_t> | |
constexpr T | time_shield::get_unixday (ts_t ts=time_shield::ts()) noexcept |
Alias for get_unix_day function. | |
template<class T = uday_t> | |
constexpr T | time_shield::unix_day (ts_t ts=time_shield::ts()) noexcept |
Alias for get_unix_day function. | |
template<class T = uday_t> | |
constexpr T | time_shield::unixday (ts_t ts=time_shield::ts()) noexcept |
Alias for get_unix_day function. | |
template<class T = uday_t> | |
constexpr T | time_shield::uday (ts_t ts=time_shield::ts()) noexcept |
Alias for get_unix_day function. | |
template<class T = uday_t> | |
constexpr T | time_shield::get_unixday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
Alias for get_unix_day_ms function. | |
template<class T = uday_t> | |
constexpr T | time_shield::unix_day_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
Alias for get_unix_day_ms function. | |
template<class T = uday_t> | |
constexpr T | time_shield::unixday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
Alias for get_unix_day_ms function. | |
template<class T = uday_t> | |
constexpr T | time_shield::uday_ms (ts_ms_t t_ms=time_shield::ts_ms()) noexcept |
Alias for get_unix_day_ms function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::unix_day_to_ts (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::unixday_to_ts (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::uday_to_ts (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::start_of_day_from_unix_day (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::unix_day_to_ts_ms (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp_ms function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::unixday_to_ts_ms (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp_ms function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::uday_to_ts_ms (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp_ms function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::start_of_day_from_unix_day_ms (uday_t unix_day) noexcept |
Alias for unix_day_to_timestamp_ms function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::next_day_from_unix_day (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::next_day_unix_day (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day function. | |
template<class T = ts_t> | |
constexpr const T | time_shield::next_day_unixday (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day function. | |
template<class T = ts_ms_t> | |
constexpr const T | time_shield::next_day_from_unix_day_ms (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day_ms function. | |
template<class T = ts_ms_t> | |
constexpr const T | time_shield::next_day_unix_day_ms (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day_ms function. | |
template<class T = ts_ms_t> | |
constexpr const T | time_shield::next_day_unixday_ms (uday_t unix_day) noexcept |
Alias for start_of_next_day_from_unix_day_ms function. | |
template<class T = int64_t> | |
constexpr const T | time_shield::unix_min (ts_t ts=ts()) |
Alias for get_unix_min function. | |
template<class T = int64_t> | |
constexpr const T | time_shield::to_unix_min (ts_t ts=ts()) |
Alias for get_unix_min function. | |
template<class T = int64_t> | |
constexpr const T | time_shield::umin (ts_t ts=ts()) |
Alias for get_unix_min function. | |
template<class T = int> | |
TIME_SHIELD_CONSTEXPR const 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. | |
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. | |
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 const ts_t | time_shield::to_timestamp (const T &date_time) |
Alias for dt_to_timestamp function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::to_ts (const T &date_time) |
Alias for dt_to_timestamp function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::ts (const T &date_time) |
Alias for dt_to_timestamp function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::timestamp (const T &date_time) |
Alias for dt_to_timestamp function. | |
constexpr ts_t | time_shield::ts (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::get_ts (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::timestamp (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::get_timestamp (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::to_ts (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::ts_from_tm (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_t | time_shield::to_timestamp (const std::tm *timeinfo) |
Alias for tm_to_timestamp. | |
constexpr ts_ms_t | time_shield::ts_ms (year_t year, int month, int day) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::ts_ms (year_t year, int month, int day, int hour, int min) |
Alias for to_timestamp_ms. | |
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. | |
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. | |
constexpr ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::get_ts_ms (year_t year, int month, int day, int hour) |
Alias for to_timestamp_ms. | |
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. | |
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. | |
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. | |
constexpr ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::get_timestamp_ms (year_t year, int month, int day, int hour) |
Alias for to_timestamp_ms. | |
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. | |
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. | |
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. | |
constexpr ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::timestamp_ms (year_t year, int month, int day, int hour, int min) |
Alias for to_timestamp_ms. | |
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. | |
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. | |
constexpr ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day) |
Alias for to_timestamp_ms. | |
constexpr ts_ms_t | time_shield::to_ts_ms (year_t year, int month, int day, int hour) |
Alias for to_timestamp_ms. | |
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. | |
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. | |
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 const ts_t | time_shield::to_timestamp_ms (const T &date_time) |
Alias for dt_to_timestamp_ms function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::to_ts_ms (const T &date_time) |
Alias for dt_to_timestamp_ms function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::ts_ms (const T &date_time) |
Alias for dt_to_timestamp_ms function. | |
template<class T> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::timestamp_ms (const T &date_time) |
Alias for dt_to_timestamp_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::to_timestamp_ms (const std::tm *timeinfo) |
Alias for tm_to_timestamp_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::to_ts_ms (const std::tm *timeinfo) |
Alias for tm_to_timestamp_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::ts_ms (const std::tm *timeinfo) |
Alias for tm_to_timestamp_ms function. | |
TIME_SHIELD_CONSTEXPR const 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> | |
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> | |
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> | |
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> | |
constexpr fts_t | time_shield::to_ftimestamp (const T &date_time) |
Alias for dt_to_ftimestamp. | |
template<class T> | |
constexpr fts_t | time_shield::to_fts (const T &date_time) |
Alias for dt_to_ftimestamp. | |
template<class T> | |
constexpr fts_t | time_shield::fts (const T &date_time) |
Alias for dt_to_ftimestamp. | |
template<class T> | |
constexpr fts_t | time_shield::ftimestamp (const T &date_time) |
Alias for dt_to_ftimestamp. | |
constexpr fts_t | time_shield::to_ftimestamp (const std::tm *timeinfo) |
Alias for tm_to_ftimestamp. | |
constexpr fts_t | time_shield::to_fts (const std::tm *timeinfo) |
Alias for tm_to_ftimestamp. | |
constexpr fts_t | time_shield::fts (const std::tm *timeinfo) |
Alias for tm_to_ftimestamp. | |
constexpr fts_t | time_shield::ftimestamp (const std::tm *timeinfo) |
Alias for tm_to_ftimestamp. | |
template<class T = int> | |
constexpr const T | time_shield::get_days (ts_t start, ts_t stop) noexcept |
Alias for get_days_difference function. | |
template<class T = int> | |
constexpr const T | time_shield::days (ts_t start, ts_t stop) noexcept |
Alias for get_days_difference function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const T | time_shield::year (ts_t ts=ts()) |
Alias for get_year function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const T | time_shield::to_year (ts_t ts=ts()) |
Alias for get_year function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const T | time_shield::year_ms (ts_ms_t ts_ms=ts_ms()) |
Alias for get_year_ms function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const T | time_shield::to_year_ms (ts_ms_t ts_ms=ts_ms()) |
Alias for get_year_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_start (ts_t ts=time_shield::ts()) |
Alias for start_of_year function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_begin (ts_t ts=time_shield::ts()) |
Alias for start_of_year function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_start_ms (ts_t ts_ms=time_shield::ts_ms()) |
Alias for start_of_year_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_begin_ms (ts_t ts_ms=time_shield::ts_ms()) |
Alias for start_of_year_ms function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_start_date (T year) |
Alias for start_of_year_date function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_begin_date (T year) |
Alias for start_of_year_date function. | |
template<class T = year_t> | |
TIME_SHIELD_CONSTEXPR const 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 const ts_ms_t | time_shield::year_begin_date_ms (T year) |
Alias for start_of_year_date_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::year_end (ts_t ts=time_shield::ts()) |
Alias for end_of_year function. | |
TIME_SHIELD_CONSTEXPR const 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> | |
constexpr const T1 | time_shield::days_in_month (T2 year, T3 month) noexcept |
Alias for num_days_in_month function. | |
template<class T1 = int> | |
constexpr const 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> | |
constexpr const 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> | |
constexpr const T1 | time_shield::days_in_year (T2 year) noexcept |
Alias for num_days_in_year function. | |
template<class T = int> | |
constexpr const T | time_shield::days_in_year_ts (ts_t ts=time_shield::ts()) |
Alias for num_days_in_year_ts function. | |
constexpr const ts_t | time_shield::day_start (ts_t ts=time_shield::ts()) noexcept |
Alias for start_of_day function. | |
template<class T = int> | |
constexpr const ts_t | time_shield::previous_day_start (ts_t ts=time_shield::ts(), T days=1) noexcept |
Alias for start_of_prev_day function. | |
constexpr const ts_t | time_shield::day_start_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
Alias for start_of_day_sec function. | |
constexpr const ts_t | time_shield::start_day_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
Alias for start_of_day_sec function. | |
constexpr const 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> | |
constexpr const 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> | |
constexpr const 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. | |
constexpr const ts_t | time_shield::day_end (const ts_t &ts=time_shield::ts()) noexcept |
Alias for end_of_day function. | |
constexpr const ts_t | time_shield::day_end_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
Alias for end_of_day_sec function. | |
constexpr const 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> | |
constexpr const T1 | time_shield::day_of_week (year_t year, int month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::day_of_week (year_t year, Month month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::get_weekday (year_t year, int month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::get_weekday (year_t year, Month month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::weekday (year_t year, int month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::weekday (year_t year, Month month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const T1 | time_shield::dow (year_t year, int month, int day) |
Alias for day_of_week_date. | |
template<class T1 = Weekday> | |
constexpr const 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> | |
constexpr T1 | time_shield::get_dow (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T1 = Weekday, class T2, typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
constexpr T1 | time_shield::dow_from_date (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T1 = Weekday, class T2, typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
constexpr T1 | time_shield::weekday_of (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T1 = Weekday, class T2, typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
constexpr T1 | time_shield::day_of_week_dt (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T1 = Weekday, class T2, typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
constexpr T1 | time_shield::day_of_week (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T1 = Weekday, class T2, typename std::enable_if< std::is_class< T2 >::value, int >::type = 0> | |
constexpr T1 | time_shield::dow (const T2 &date) |
Alias for get_weekday_from_date. | |
template<class T = Weekday, class U, typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
constexpr const T | time_shield::day_of_week (U ts) noexcept |
Alias for get_weekday_from_ts. | |
template<class T = Weekday, class U, typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
constexpr const T | time_shield::dow_ts (U ts) noexcept |
Alias for get_weekday_from_ts. | |
template<class T = Weekday, class U, typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
constexpr const T | time_shield::get_dow_from_ts (U ts) noexcept |
Alias for get_weekday_from_ts. | |
template<class T = Weekday, class U, typename std::enable_if< std::is_integral< U >::value, int >::type = 0> | |
constexpr const T | time_shield::weekday_of_ts (U ts) noexcept |
Alias for get_weekday_from_ts. | |
template<class T = Weekday> | |
constexpr const T | time_shield::day_of_week_ms (ts_ms_t ts_ms) |
Alias for get_weekday_from_ts_ms function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::month_begin (ts_t ts=time_shield::ts()) |
Alias for start_of_month function. | |
TIME_SHIELD_CONSTEXPR const ts_t | time_shield::last_day_of_month (ts_t ts=time_shield::ts()) |
Alias for end_of_month function. | |
TIME_SHIELD_CONSTEXPR const 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 const T1 | time_shield::final_sunday_month_day (T2 year, T3 month) |
Alias for last_sunday_month_day function. | |
constexpr const ts_t | time_shield::hour_begin (ts_t ts=time_shield::ts()) noexcept |
Alias for start_of_hour function. | |
constexpr const ts_t | time_shield::hour_begin_sec (ts_ms_t ts_ms=time_shield::ts_ms()) noexcept |
Alias for start_of_hour_sec function. | |
constexpr const 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. | |
constexpr const ts_t | time_shield::finish_of_hour (ts_t ts=time_shield::ts()) noexcept |
Alias for end_of_hour function. | |
constexpr const 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. | |
constexpr const 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> | |
constexpr const T | time_shield::hour_in_day (ts_t ts=time_shield::ts()) noexcept |
Alias for hour_of_day function. | |
constexpr const ts_t | time_shield::week_begin (ts_t ts=time_shield::ts()) |
Alias for start_of_week function. | |
constexpr const ts_t | time_shield::finish_of_week (ts_t ts=time_shield::ts()) |
Alias for end_of_week function. | |
constexpr const ts_t | time_shield::saturday_begin (ts_t ts=time_shield::ts()) |
Alias for start_of_saturday function. | |
constexpr const ts_t | time_shield::min_begin (ts_t ts=time_shield::ts()) noexcept |
Alias for start_of_min function. | |
constexpr const ts_t | time_shield::finish_of_min (ts_t ts=time_shield::ts()) noexcept |
Alias for end_of_min function. | |
Doxygen-only stubs for alias functions defined via macros.
These declarations are only visible to Doxygen to enable searching and linking to functions like ts
, get_ts
, etc., which are defined via macros. This file should be included only at the end of time_conversion.hpp
.
Definition in file time_conversion_aliases.hpp.