Home | Libraries | People | FAQ | More |
boost::date_time::counted_time_rep — Time representation that uses a single integer count.
// In header: <boost/date_time/time_system_counted.hpp> template<typename config> struct counted_time_rep { // types typedef config::int_type int_type; typedef config::date_type date_type; typedef config::impl_type impl_type; typedef date_type::duration_type date_duration_type; typedef date_type::calendar_type calendar_type; typedef date_type::ymd_type ymd_type; typedef config::time_duration_type time_duration_type; typedef config::resolution_traits resolution_traits; // construct/copy/destruct counted_time_rep(const date_type &, const time_duration_type &); explicit counted_time_rep(int_type); explicit counted_time_rep(impl_type); // public member functions date_type date() const; unsigned long day_count() const; int_type time_count() const; int_type tod() const; bool is_pos_infinity() const; bool is_neg_infinity() const; bool is_not_a_date_time() const; bool is_special() const; impl_type get_rep() const; // public static functions static int_type frac_sec_per_day(); };