class
std::chrono::utc_clock
- Header
<chrono>- Draft
- [clock.utc.overview]
- Scope
std::chrono- cppreference
- std::chrono::utc_clock
Synopsis
class utc_clock;Member types
| Name | Declaration |
|---|---|
durationtype alias · member type | = chrono::duration<rep, period> |
periodtype alias · member type | = nano |
reptype alias · member type | = long long |
time_pointtype alias · member type | = chrono::time_point<utc_clock> |
Static member functions
| Name | Declaration |
|---|---|
from_sysstatic member function template | utc_time<common_type_t<Duration, seconds>> from_sys(const sys_time<Duration>& t) |
nowstatic member function | utc_clock::time_point now() |
to_sysstatic member function template | sys_time<common_type_t<Duration, seconds>> to_sys(const utc_time<Duration>& u) |
Static data members
| Name | Declaration |
|---|---|
is_steadystatic data member | bool |