UTC clock: real SI seconds since 1970-01-01 including leap seconds.
More...
#include <hops_leap_seconds.hh>
|
| template<class Duration > |
| static utc_time< typename std::common_type< Duration, std::chrono::seconds >::type > | from_local (const date::local_time< Duration > <) |
| |
| template<class Duration > |
| static utc_time< typename std::common_type< Duration, std::chrono::seconds >::type > | from_sys (const date::sys_time< Duration > &st) |
| |
| static utc_time< std::chrono::nanoseconds > | now () |
| |
| template<class Duration > |
| static date::local_time< typename std::common_type< Duration, std::chrono::seconds >::type > | to_local (const utc_time< Duration > &ut) |
| |
| template<class Duration > |
| static date::sys_time< typename std::common_type< Duration, std::chrono::seconds >::type > | to_sys (const utc_time< Duration > &ut) |
| |
UTC clock: real SI seconds since 1970-01-01 including leap seconds.
◆ duration
◆ period
◆ rep
◆ time_point
◆ from_local()
template<class Duration >
| static utc_time< typename std::common_type< Duration, std::chrono::seconds >::type > hops::utc_clock::from_local |
( |
const date::local_time< Duration > & |
lt | ) |
|
|
inlinestatic |
◆ from_sys()
template<class Duration >
| static utc_time< typename std::common_type< Duration, std::chrono::seconds >::type > hops::utc_clock::from_sys |
( |
const date::sys_time< Duration > & |
st | ) |
|
|
inlinestatic |
◆ now()
| static utc_time< std::chrono::nanoseconds > hops::utc_clock::now |
( |
| ) |
|
|
inlinestatic |
◆ to_local()
template<class Duration >
| static date::local_time< typename std::common_type< Duration, std::chrono::seconds >::type > hops::utc_clock::to_local |
( |
const utc_time< Duration > & |
ut | ) |
|
|
inlinestatic |
◆ to_sys()
template<class Duration >
| static date::sys_time< typename std::common_type< Duration, std::chrono::seconds >::type > hops::utc_clock::to_sys |
( |
const utc_time< Duration > & |
ut | ) |
|
|
inlinestatic |
◆ is_steady
| CONSTDATA bool hops::utc_clock::is_steady = false |
|
static |
The documentation for this struct was generated from the following file: