class eosio::time_point_sec
Class List > eosio :: time_point_sec
Public Attributes
Public Functions
Public Static Functions
Friends
Detailed Description
A lower resolution time_point accurate only to seconds from 1970
Public Attributes Documentation
variable utc_seconds
uint32_t eosio::time_point_sec::utc_seconds;
Public Functions Documentation
function time_point_sec (1/3)
eosio::time_point_sec::time_point_sec()
function time_point_sec (2/3)
explicit eosio::time_point_sec::time_point_sec(
uint32_t seconds
)
function time_point_sec (3/3)
eosio::time_point_sec::time_point_sec(
const time_point & t
)
function operator time_point
eosio::time_point_sec::operator time_point() const
function sec_since_epoch
uint32_t eosio::time_point_sec::sec_since_epoch() const
function operator=
time_point_sec eosio::time_point_sec::operator=(
const eosio::time_point & t
)
function operator+= (1/3)
time_point_sec& eosio::time_point_sec::operator+=(
uint32_t m
)
function operator+= (2/3)
time_point_sec& eosio::time_point_sec::operator+=(
microseconds m
)
function operator+= (3/3)
time_point_sec& eosio::time_point_sec::operator+=(
time_point_sec m
)
function operator-= (1/3)
time_point_sec& eosio::time_point_sec::operator-=(
uint32_t m
)
function operator-= (2/3)
time_point_sec& eosio::time_point_sec::operator-=(
microseconds m
)
function operator-= (3/3)
time_point_sec& eosio::time_point_sec::operator-=(
time_point_sec m
)
function operator+ (1/2)
time_point_sec eosio::time_point_sec::operator+(
uint32_t offset
) const
function operator- (1/4)
time_point_sec eosio::time_point_sec::operator-(
uint32_t offset
) const
Public Static Functions Documentation
function maximum
static static time_point_sec eosio::time_point_sec::maximum()
function min
static static time_point_sec eosio::time_point_sec::min()
Friends Documentation
friend operator<
bool operator<(
const time_point_sec & a,
const time_point_sec & b
)
friend operator>
bool operator>(
const time_point_sec & a,
const time_point_sec & b
)
friend operator<=
bool operator<=(
const time_point_sec & a,
const time_point_sec & b
)
friend operator>=
bool operator>=(
const time_point_sec & a,
const time_point_sec & b
)
friend operator==
bool operator==(
const time_point_sec & a,
const time_point_sec & b
)
friend operator!=
bool operator!=(
const time_point_sec & a,
const time_point_sec & b
)
friend operator+ (2/2)
time_point operator+(
const time_point_sec & t,
const microseconds & m
)
friend operator- (2/4)
time_point operator-(
const time_point_sec & t,
const microseconds & m
)
friend operator- (3/4)
microseconds operator-(
const time_point_sec & t,
const time_point_sec & m
)
friend operator- (4/4)
microseconds operator-(
const time_point & t,
const time_point_sec & m
)
friend operator<<
template<typename DataStream>
DataStream& operator<<(
DataStream & ds,
const time_point_sec & t
)
friend operator>>
template<typename DataStream>
DataStream& operator>>(
DataStream & ds,
time_point_sec & t
)
The documentation for this class was generated from the following file: libraries/eosiolib/time.hpp