Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
time.cpp File Reference
#include <fc/time.hpp>
#include <fc/mock_time.hpp>
#include <fc/variant.hpp>
#include <boost/chrono/system_clocks.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <sstream>
#include <fc/string.hpp>
#include <fc/exception/exception.hpp>
Include dependency graph for time.cpp:

Go to the source code of this file.

Namespaces

namespace  fc
 namespace sysio::chain
 

Functions

void fc::to_variant (const time_point &var, fc::variant &vo)
 
void fc::from_variant (const fc::variant &var, time_point &vo)
 
void fc::to_variant (const time_point_sec &var, fc::variant &vo)
 
void fc::from_variant (const fc::variant &var, time_point_sec &vo)
 
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")
 
void fc::to_variant (const fc::microseconds &, fc::variant &)
 
void fc::from_variant (const fc::variant &, fc::microseconds &)