|
using | rep = int64_t |
|
using | period = std::ratio< 1, 1 '000 '000 > |
|
using | duration = std::chrono::duration< rep, period > |
|
using | time_point = std::chrono::time_point< aosn_clock > |
|
|
static time_point | now () noexcept |
| Gets current time.
|
|
static int32_t | now_jul (uint32_t *hour=nullptr) noexcept |
|
static int32_t | gre2jul (uint8_t day, uint8_t month, int32_t year) noexcept |
|
static void | jul2gre (int32_t jul, uint8_t *day, uint8_t *month, int32_t *year) noexcept |
|
static __time64_t | to_time_t (const time_point &tp) noexcept |
|
static time_point | from_time_t (__time64_t t) noexcept |
|
static time_point | from_system (const struct timespec &t) noexcept |
|
|
static constexpr bool | is_steady = false |
|
static constexpr rep | f_second = 1000 |
|
static constexpr rep | f_minute = 60 |
|
static constexpr rep | f_hour = 60 |
|
static constexpr rep | f_day = 24 |
|
static constexpr rep | f_week = 7 |
|
static constexpr rep | second = f_second |
|
static constexpr rep | minute = f_minute * second |
|
static constexpr rep | hour = f_hour * minute |
|
static constexpr rep | day = f_day * hour |
|
static constexpr rep | week = f_week * day |
|
The documentation for this struct was generated from the following file: