|
template<typename Rep , typename Period , typename = typename std::enable_if<std::numeric_limits<Rep>::is_signed>::type> |
constexpr duration< Rep, Period > | ndn::time::abs (duration< Rep, Period > d) |
|
system_clock::TimePoint | ndn::time::fromIsoString (const std::string &isoString) |
| Convert from the ISO string (YYYYMMDDTHHMMSS,fffffffff) representation to the internal time format. More...
|
|
system_clock::TimePoint | ndn::time::fromString (const std::string &timePointStr, const std::string &format="%Y-%m-%d %H:%M:%S", const std::locale &locale=std::locale("C")) |
| Convert from string of specified format into time point. More...
|
|
system_clock::TimePoint | ndn::time::fromUnixTimestamp (milliseconds duration) |
| Convert UNIX timestamp to system_clock::TimePoint. More...
|
|
const system_clock::TimePoint & | ndn::time::getUnixEpoch () |
| Get system_clock::TimePoint representing UNIX time epoch (00:00:00 on Jan 1, 1970) More...
|
|
constexpr time::days | ndn::literals::time_literals::operator""_day (unsigned long long days) |
|
constexpr time::duration< long double, time::days::period > | ndn::literals::time_literals::operator""_day (long double days) |
|
constexpr time::days | ndn::literals::time_literals::operator""_days (unsigned long long days) |
|
constexpr time::duration< long double, time::days::period > | ndn::literals::time_literals::operator""_days (long double days) |
|
constexpr time::hours | ndn::literals::time_literals::operator""_h (unsigned long long hrs) |
|
constexpr time::duration< long double, time::hours::period > | ndn::literals::time_literals::operator""_h (long double hrs) |
|
constexpr time::minutes | ndn::literals::time_literals::operator""_min (unsigned long long mins) |
|
constexpr time::duration< long double, time::minutes::period > | ndn::literals::time_literals::operator""_min (long double mins) |
|
constexpr time::milliseconds | ndn::literals::time_literals::operator""_ms (unsigned long long msecs) |
|
constexpr time::duration< long double, time::milliseconds::period > | ndn::literals::time_literals::operator""_ms (long double msecs) |
|
constexpr time::nanoseconds | ndn::literals::time_literals::operator""_ns (unsigned long long nsecs) |
|
constexpr time::duration< long double, time::nanoseconds::period > | ndn::literals::time_literals::operator""_ns (long double nsecs) |
|
constexpr time::seconds | ndn::literals::time_literals::operator""_s (unsigned long long secs) |
|
constexpr time::duration< long double, time::seconds::period > | ndn::literals::time_literals::operator""_s (long double secs) |
|
constexpr time::microseconds | ndn::literals::time_literals::operator""_us (unsigned long long usecs) |
|
constexpr time::duration< long double, time::microseconds::period > | ndn::literals::time_literals::operator""_us (long double usecs) |
|
std::string | ndn::time::toIsoString (const system_clock::TimePoint &timePoint) |
| Convert to the ISO string representation of the time (YYYYMMDDTHHMMSS,fffffffff) More...
|
|
std::string | ndn::time::toString (const system_clock::TimePoint &timePoint, const std::string &format="%Y-%m-%d %H:%M:%S", const std::locale &locale=std::locale("C")) |
| Convert time point to string with specified format. More...
|
|
milliseconds | ndn::time::toUnixTimestamp (const system_clock::TimePoint &point) |
| Convert system_clock::TimePoint to UNIX timestamp. More...
|
|