noos::object::time Struct Reference
wraps around a time-stamp (UNIX Epoch) More...
#include <time.hpp>
Public Member Functions | |
time (std::chrono::nanoseconds timepoint) | |
Consruct using second and nanosecond. More... | |
time (const json::const_iterator &stamp) | |
construct using library "json for modern c++" | |
json::object_t | to_json () const |
method to pass all the data into a json object | |
bool | operator== (const noos::object::time &rhs) const |
equality operator | |
Public Attributes | |
uint32_t | seconds |
uint32_t | nanoseconds |
Detailed Description
wraps around a time-stamp (UNIX Epoch)
- Version
- 0.7.0
- Date
- 19 August 2016
Collaboration diagram for noos::object::time:
Constructor & Destructor Documentation
noos::object::time::time | ( | std::chrono::nanoseconds | timepoint | ) |
Consruct using second and nanosecond.
- Parameters
-
sec is system second nsec is system nanosecond
The documentation for this struct was generated from the following file:
- noos/objects/time.hpp