BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <time.hpp>
Public Member Functions | |
time_point_sec () | |
time_point_sec (uint32_t seconds) | |
time_point_sec (const time_point &t) | |
operator time_point () const | |
uint32_t | sec_since_epoch () const |
time_point_sec | operator= (const fc::time_point &t) |
time_point_sec & | operator+= (uint32_t m) |
time_point_sec & | operator+= (microseconds m) |
time_point_sec & | operator-= (uint32_t m) |
time_point_sec & | operator-= (microseconds m) |
time_point_sec | operator+ (uint32_t offset) const |
time_point_sec | operator- (uint32_t offset) const |
std::string | to_non_delimited_iso_string () const |
std::string | to_iso_string () const |
operator std::string () const | |
Static Public Member Functions | |
static time_point_sec | maximum () |
static time_point_sec | min () |
static time_point_sec | from_iso_string (const std::string &s) |
Friends | |
bool | operator< (const time_point_sec &a, const time_point_sec &b) |
bool | operator> (const time_point_sec &a, const time_point_sec &b) |
bool | operator<= (const time_point_sec &a, const time_point_sec &b) |
bool | operator>= (const time_point_sec &a, const time_point_sec &b) |
bool | operator== (const time_point_sec &a, const time_point_sec &b) |
bool | operator!= (const time_point_sec &a, const time_point_sec &b) |
time_point | operator+ (const time_point_sec &t, const microseconds &m) |
time_point | operator- (const time_point_sec &t, const microseconds &m) |
microseconds | operator- (const time_point_sec &t, const time_point_sec &m) |
microseconds | operator- (const time_point &t, const time_point_sec &m) |
A lower resolution time_point accurate only to seconds from 1970
|
inlineexplicit |
|
inline |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string fc::time_point_sec::to_non_delimited_iso_string | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |