A clock providing day level services based on C time_t capabilities. More...
#include <date_clock_device.hpp>
Public Types | |
typedef date_type::ymd_type | ymd_type |
Static Public Member Functions | |
static date_type | local_day () |
Get the local day as a date type. More... | |
static date_type::ymd_type | local_day_ymd () |
Get the local day as a ymd_type. More... | |
static date_type::ymd_type | universal_day_ymd () |
Get the current day in universal date as a ymd_type. More... | |
static date_type | universal_day () |
Get the UTC day as a date type. More... | |
A clock providing day level services based on C time_t capabilities.
This clock uses Posix interfaces as its implementation and hence uses the timezone settings of the operating system. Incorrect user settings will result in incorrect results for the calls to local_day.
typedef date_type::ymd_type boost::date_time::day_clock< date_type >::ymd_type |
|
inlinestatic |
Get the local day as a date type.
References boost::date_time::day_clock< date_type >::local_day_ymd().
|
inlinestatic |
Get the local day as a ymd_type.
References boost::curr.
Referenced by boost::date_time::day_clock< date_type >::local_day().
|
inlinestatic |
Get the UTC day as a date type.
References boost::date_time::day_clock< date_type >::universal_day_ymd().
|
inlinestatic |
Get the current day in universal date as a ymd_type.
References boost::curr.
Referenced by boost::date_time::day_clock< date_type >::universal_day().