Key classes in namespace tom::calendars
-
class date : public boost::gregorian::date
Subclassed by tom::calendars::timestamp
-
class calendar
class to handle converting Date(s) to integral numbers representing an interval measured at a given frequency and to convert those itegral numbers back to Date(s), and DatePeriod(s)…
Subclassed by tom::calendars::calendar_impl< CONVERTER >
-
class date_period_converter
Public Functions
-
date_int_type next(date_int_type start)
return the next date_int_type for the from calendar that is NOT included in the period for start converted to the ‘to’ calendar
-
inline date_int_type target(date_int_type start)
this returns the date_int_type expressed in calendar ‘from’ converted to the ‘to’ calendar
-
date_int_type next(date_int_type start)
-
class aggregator
Subclassed by tom::calendars::aggregate_avg, tom::calendars::aggregate_begin, tom::calendars::aggregate_end, tom::calendars::aggregate_max, tom::calendars::aggregate_min, tom::calendars::aggregate_sum
Public Functions
-
inline virtual ~aggregator()
-
virtual const tom::observation &operator()(const date_period &d, const tom::collections::time_series &ts) const = 0
-
inline virtual ~aggregator()