class eosio::time_point

Class List > eosio :: time_point

Public Functions

Type Name
time_point (microseconds e = microseconds())
const microseconds & time_since_epoch () const
uint32_t sec_since_epoch () const

Friends

Type Name
friend DataStream & operator<<
friend DataStream & operator>>

Detailed Description

High resolution time point in microseconds

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

Friends Documentation

friend operator<<

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const time_point & t
)

friend operator>>

template<typename DataStream>
DataStream& operator>>(
    DataStream & ds,
    time_point & t
)

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