본문으로 건너뛰기

eosio::time_point_sec

Module: Core API / Time

More...

#include <time.hpp>

Public Functions

Name
time_point_sec()
time_point_sec(uint32_t seconds)
time_point_sec(const time_point & t)
std::stringto_string() const
operator time_point() const
uint32_tsec_since_epoch() const
time_point_secmaximum()
time_point_secmin()
time_point_secfrom_iso_string(const std::string & date_str)

Detailed Description

class eosio::time_point_sec;

A lower resolution time_point accurate only to seconds from 1970

Public Functions Documentation

function time_point_sec

inline time_point_sec()

function time_point_sec

inline explicit time_point_sec(
uint32_t seconds
)

function time_point_sec

inline time_point_sec(
const time_point & t
)

function to_string

inline std::string to_string() const

function operator time_point

inline operator time_point() const

function sec_since_epoch

inline uint32_t sec_since_epoch() const

function maximum

static inline time_point_sec maximum()

function min

static inline time_point_sec min()

function from_iso_string

static inline time_point_sec from_iso_string(
const std::string & date_str
)

Updated on 2022-12-05 at 15:38:08 +0000