Class List > eosio :: time_point

Public Attributes

Type Name
microseconds elapsed

Public Functions

Type Name
time_point (microseconds e = microseconds())
const microseconds & time_since_epoch () const
uint32_t sec_since_epoch () const
bool operator> (const time_point & t) const
bool operator>= (const time_point & t) const
bool operator< (const time_point & t) const
bool operator<= (const time_point & t) const
bool operator== (const time_point & t) const
bool operator!= (const time_point & t) const
time_point & operator+= (const microseconds & m)
time_point & operator-= (const microseconds & m)
time_point operator+ (const microseconds & m) const
time_point operator+ (const time_point & m) const
time_point operator- (const microseconds & m) const
microseconds operator- (const time_point & m) const

Public Attributes Documentation

variable elapsed

microseconds eosio::time_point::elapsed;

Public Functions Documentation

function time_point

explicit eosio::time_point::time_point(
    microseconds e = microseconds()
)

function time_since_epoch

const microseconds& eosio::time_point::time_since_epoch() const

function sec_since_epoch

uint32_t eosio::time_point::sec_since_epoch() const

function operator>

bool eosio::time_point::operator>(
    const time_point & t
) const

function operator>=

bool eosio::time_point::operator>=(
    const time_point & t
) const

function operator<

bool eosio::time_point::operator<(
    const time_point & t
) const

function operator<=

bool eosio::time_point::operator<=(
    const time_point & t
) const

function operator==

bool eosio::time_point::operator==(
    const time_point & t
) const

function operator!=

bool eosio::time_point::operator!=(
    const time_point & t
) const

function operator+=

time_point& eosio::time_point::operator+=(
    const microseconds & m
)

function operator-=

time_point& eosio::time_point::operator-=(
    const microseconds & m
)

function operator+ (1/2)

time_point eosio::time_point::operator+(
    const microseconds & m
) const

function operator+ (2/2)

time_point eosio::time_point::operator+(
    const time_point & m
) const

function operator- (1/2)

time_point eosio::time_point::operator-(
    const microseconds & m
) const

function operator- (2/2)

microseconds eosio::time_point::operator-(
    const time_point & m
) const

The documentation for this class was generated from the following file: libraries/eosiolib/time.hpp