class eosio::time_point_sec

Class List > eosio :: time_point_sec

Public Functions

Type Name
time_point_sec ()
time_point_sec (uint32_t seconds)
time_point_sec (const time_point & t)
std::string to_string () const
operator time_point () const
uint32_t sec_since_epoch () const

Public Static Functions

Type Name
static time_point_sec maximum ()
static time_point_sec min ()
static time_point_sec from_iso_string (const std::string & date_str)

Detailed Description

A lower resolution time_point accurate only to seconds from 1970

Public Functions Documentation

function time_point_sec (1/3)


function time_point_sec (2/3)

explicit eosio::time_point_sec::time_point_sec(
    uint32_t seconds

function time_point_sec (3/3)

    const time_point & t

function to_string

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

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

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()

function from_iso_string

static static time_point_sec eosio::time_point_sec::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