A clock providing time level services based on C time_t capabilities. More...
#include <time_clock.hpp>
Public Types | |
typedef time_type::date_type | date_type |
typedef time_type::time_duration_type | time_duration_type |
Static Public Member Functions | |
static time_type | local_time () |
static time_type | universal_time () |
Get the current day in universal date as a ymd_type. More... | |
template<class time_zone_type > | |
static time_type | local_time (boost::shared_ptr< time_zone_type > tz_ptr) |
A clock providing time level services based on C time_t capabilities.
This clock provides resolution to the 1 second level
typedef time_type::date_type boost::date_time::second_clock< time_type >::date_type |
typedef time_type::time_duration_type boost::date_time::second_clock< time_type >::time_duration_type |
|
inlinestatic |
References boost::curr, boost::date_time::c_time::localtime(), and boost::flyweights::t.
Referenced by boost::attributes::local_time_traits::get_clock().
|
inlinestatic |
|
inlinestatic |
Get the current day in universal date as a ymd_type.
References boost::curr, boost::date_time::c_time::gmtime(), and boost::flyweights::t.
Referenced by boost::attributes::utc_time_traits::get_clock(), boost::get_system_time(), and boost::date_time::second_clock< time_type >::local_time().