Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
time.hpp File Reference
#include <stdint.h>
#include <fc/string.hpp>
#include <fc/reflect/reflect.hpp>
Include dependency graph for time.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fc::microseconds
 
class  fc::time_point
 
class  fc::time_point_sec
 

Namespaces

namespace  fc
 namespace sysio::chain
 

Typedefs

typedef std::optional< time_pointfc::otime_point
 

Functions

constexpr microseconds fc::seconds (int64_t s)
 
constexpr microseconds fc::milliseconds (int64_t s)
 
constexpr microseconds fc::minutes (int64_t m)
 
constexpr microseconds fc::hours (int64_t h)
 
constexpr microseconds fc::days (int64_t d)
 
void fc::to_variant (const fc::microseconds &, fc::variant &)
 
void fc::from_variant (const fc::variant &, fc::microseconds &)
 
string fc::get_approximate_relative_time_string (const time_point_sec &event_time, const time_point_sec &relative_to_time=fc::time_point::now(), const std::string &ago=" ago")
 
string fc::get_approximate_relative_time_string (const time_point &event_time, const time_point &relative_to_time=fc::time_point::now(), const std::string &ago=" ago")