본문으로 건너뛰기

eosio::time_point

Module: Core API / Time

More...

#include <time.hpp>

Public Functions

Name
time_point(microseconds e =microseconds())
const microseconds &time_since_epoch() const
uint32_tsec_since_epoch() const
std::stringto_string() const
time_pointfrom_iso_string(const std::string & date_str)

Detailed Description

class eosio::time_point;

High resolution time point in microseconds

Public Functions Documentation

function time_point

inline explicit time_point(
microseconds e =microseconds()
)

function time_since_epoch

inline const microseconds & time_since_epoch() const

function sec_since_epoch

inline uint32_t sec_since_epoch() const

function to_string

inline std::string to_string() const

function from_iso_string

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

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