Class template counted_time_system
boost::date_time::counted_time_system — An unadjusted time system implementation.
Synopsis
template<typename time_rep>
class counted_time_system {
public:
typedef time_rep time_rep_type;
typedef time_rep_type::impl_type impl_type;
typedef time_rep_type::time_duration_type time_duration_type;
typedef time_duration_type::fractional_seconds_type fractional_seconds_type;
typedef time_rep_type::date_type date_type;
typedef time_rep_type::date_duration_type date_duration_type;
template<typename T> static void unused_var(const T &);
static time_rep_type
get_time_rep(const date_type &, const time_duration_type &,
date_time::dst_flags = not_dst);
static time_rep_type get_time_rep(special_values);
static date_type get_date(const time_rep_type &);
static time_duration_type get_time_of_day(const time_rep_type &);
static std::string zone_name(const time_rep_type &);
static bool is_equal(const time_rep_type &, const time_rep_type &);
static bool is_less(const time_rep_type &, const time_rep_type &);
static time_rep_type
add_days(const time_rep_type &, const date_duration_type &);
static time_rep_type
subtract_days(const time_rep_type &, const date_duration_type &);
static time_rep_type
subtract_time_duration(const time_rep_type &, const time_duration_type &);
static time_rep_type
add_time_duration(const time_rep_type &, time_duration_type);
static time_duration_type
subtract_times(const time_rep_type &, const time_rep_type &);
};
Description
counted_time_system
public static functions
template<typename T> static void unused_varconst &;
static time_rep_typeget_time_repdate_type , day, const time_duration_type , date_time::dst_flags not_dst;
static time_rep_type get_time_repspecial_valuessv;
static date_typeget_dateconst time_rep_type &val;
static time_duration_typeget_time_of_day(const time_rep_type&val;
static std::stringzone_name(const time_rep_type&;
static boolequal(consttime_rep_type & lhs, consttime_rep_type;;
static boolis_lesstime_rep_type& lhs, consttime_rep_type;;
static time_rep_typeadd_days(const time_rep_type & base, const date_duration_type & dd;
static time_rep_typeubtract_days(const time_rep_type & base, const date_duration_type & dd;
static time_rep_typeubtract_time_durationtime_rep_type & base, consttime_duration_type & td;
static time_rep_typeadd_time_durationconst time_rep_type,time_duration_type;
static time_duration_type(const time_rep_type & lhs, const time_rep_type & rhs;