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
std::string to_string () const

Public Static Functions

Type Name
static time_point from_iso_string (const std::string & date_str)

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

function to_string

std::string eosio::time_point::to_string() const

Public Static Functions Documentation

function from_iso_string

static static time_point eosio::time_point::from_iso_string(
    const std::string & date_str
)

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