BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Functions
time.cpp File Reference
#include <fc/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/io/sstream.hpp>
#include <fc/exception/exception.hpp>

Go to the source code of this file.

Namespaces

 fc
 

Functions

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