Store UTC time up to nanosecond precision.
More...
#include <Time.h>
|
void | print (std::ostream &) const |
| print UTC time in ISO 8601 format: "1970-01-01T00:00:00.123456789Z"
|
|
std::string | str () const |
|
|
static Time | now () |
| Create current time using system clock.
|
|
|
std::uint64_t | tv_sec {0} |
| seconds since Epoch (1970-01-01T00:00:00Z)
|
|
std::uint64_t | tv_nsec {0} |
| additional nanoseconds
|
|
|
std::ostream & | operator<< (std::ostream &, const Time &) |
|
eckit::JSON & | operator<< (eckit::JSON &, const Time &) |
|
Store UTC time up to nanosecond precision.
◆ str()
std::string atlas::io::Time::str |
( |
| ) |
const |
- Returns
- string of UTC time in ISO 8601 format: "1970-01-01T00:00:00.123456789Z"
The documentation for this struct was generated from the following files:
- src/atlas/io/detail/Time.h
- src/atlas/io/detail/Time.cc