![]() |
jle_cpp_tk
0.0 2015-04-03 sh1:"d699093732dd5f321606d0ff7a6b63b229f1922c"
A small, safe, selft contained, soft-realtime C++ toolkit
|
similar to std::chrono::time_point but monotonic with adjustments to system_clock More...
#include <chrono.h>
Public Member Functions | |
time_point (const time_point &)=default | |
time_point (time_point &&) | |
time_point & | operator= (const time_point &)=default |
time_point & | operator= (time_point &&) |
time_point & | operator+= (const duration &dtn) |
time_point & | operator-= (const duration &dtn) |
time_point | operator+ (const duration &dtn) const |
time_point | operator- (const duration &dtn) const |
duration | operator- (const time_point &_tp) const |
bool | operator== (const time_point &rhs) const |
bool | operator!= (const time_point &rhs) const |
bool | operator< (const time_point &rhs) const |
bool | operator> (const time_point &rhs) const |
bool | operator>= (const time_point &rhs) const |
bool | operator<= (const time_point &rhs) const |
Friends | |
time_point | now (void) |
time_point | today (void) |
time_point | make_from_date (const year &y, const month &m, const day &d) |
std::tuple< std::tm, int > | get_tm_millisecs (const jle::chrono::time_point &tp) |
get a std::tm and milliseconds in int from time_point | |
similar to std::chrono::time_point but monotonic with adjustments to system_clock