Namespace that contains various types for manipulation with dates. More...
Namespaces | |
marks | |
This namespace holds a enum of various period types like era, year, month, etc. | |
Classes | |
class | period_type |
This class holds a type that represents certain period of time like year, hour, second and so on. More... | |
Functions | |
period_type | invalid () |
Get period_type for: special invalid value, should not be used directly. More... | |
period_type | era () |
Get period_type for: Era i.e. More... | |
period_type | year () |
Get period_type for: Year, it is calendar specific, for example 2011 in Gregorian calendar. More... | |
period_type | extended_year () |
Get period_type for: Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1. More... | |
period_type | month () |
Get period_type for: The month of year, calendar specific, in Gregorian [0..11]. More... | |
period_type | day () |
Get period_type for: The day of month, calendar specific, in Gregorian [1..31]. More... | |
period_type | day_of_year () |
Get period_type for: The number of day in year, starting from 1, in Gregorian [1..366]. More... | |
period_type | day_of_week () |
Get period_type for: Day of week, Sunday=1, Monday=2,..., Saturday=7. More... | |
period_type | day_of_week_in_month () |
Get period_type for: Original number of the day of the week in month. More... | |
period_type | day_of_week_local () |
Get period_type for: Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7]. More... | |
period_type | hour () |
Get period_type for: 24 clock hour [0..23]. More... | |
period_type | hour_12 () |
Get period_type for: 12 clock hour [0..11]. More... | |
period_type | am_pm () |
Get period_type for: am or pm marker [0..1]. More... | |
period_type | minute () |
Get period_type for: minute [0..59]. More... | |
period_type | second () |
Get period_type for: second [0..59]. More... | |
period_type | week_of_year () |
Get period_type for: The week number in the year. More... | |
period_type | week_of_month () |
Get period_type for: The week number within current month. More... | |
period_type | first_day_of_week () |
Get period_type for: First day of week, constant, for example Sunday in US = 1, Monday in France = 2. More... | |
date_time_period | era (int v) |
Get date_time_period for: Era i.e. More... | |
date_time_period | year (int v) |
Get date_time_period for: Year, it is calendar specific, for example 2011 in Gregorian calendar. More... | |
date_time_period | extended_year (int v) |
Get date_time_period for: Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1. More... | |
date_time_period | month (int v) |
Get date_time_period for: The month of year, calendar specific, in Gregorian [0..11]. More... | |
date_time_period | day (int v) |
Get date_time_period for: The day of month, calendar specific, in Gregorian [1..31]. More... | |
date_time_period | day_of_year (int v) |
Get date_time_period for: The number of day in year, starting from 1, in Gregorian [1..366]. More... | |
date_time_period | day_of_week (int v) |
Get date_time_period for: Day of week, Sunday=1, Monday=2,..., Saturday=7. More... | |
date_time_period | day_of_week_in_month (int v) |
Get date_time_period for: Original number of the day of the week in month. More... | |
date_time_period | day_of_week_local (int v) |
Get date_time_period for: Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7]. More... | |
date_time_period | hour (int v) |
Get date_time_period for: 24 clock hour [0..23]. More... | |
date_time_period | hour_12 (int v) |
Get date_time_period for: 12 clock hour [0..11]. More... | |
date_time_period | am_pm (int v) |
Get date_time_period for: am or pm marker [0..1]. More... | |
date_time_period | minute (int v) |
Get date_time_period for: minute [0..59]. More... | |
date_time_period | second (int v) |
Get date_time_period for: second [0..59]. More... | |
date_time_period | week_of_year (int v) |
Get date_time_period for: The week number in the year. More... | |
date_time_period | week_of_month (int v) |
Get date_time_period for: The week number within current month. More... | |
date_time_period | first_day_of_week (int v) |
Get date_time_period for: First day of week, constant, for example Sunday in US = 1, Monday in France = 2. More... | |
date_time_period | january () |
Get predefined constant for January. More... | |
date_time_period | february () |
Get predefined constant for February. More... | |
date_time_period | march () |
Get predefined constant for March. More... | |
date_time_period | april () |
Get predefined constant for April. More... | |
date_time_period | may () |
Get predefined constant for May. More... | |
date_time_period | june () |
Get predefined constant for June. More... | |
date_time_period | july () |
Get predefined constant for July. More... | |
date_time_period | august () |
Get predefined constant for August. More... | |
date_time_period | september () |
Get predefined constant for September. More... | |
date_time_period | october () |
Get predefined constant for October. More... | |
date_time_period | november () |
Get predefined constant for November. More... | |
date_time_period | december () |
Get predefined constant for December. More... | |
date_time_period | sunday () |
Get predefined constant for Sunday. More... | |
date_time_period | monday () |
Get predefined constant for Monday. More... | |
date_time_period | tuesday () |
Get predefined constant for Tuesday. More... | |
date_time_period | wednesday () |
Get predefined constant for Wednesday. More... | |
date_time_period | thursday () |
Get predefined constant for Thursday. More... | |
date_time_period | friday () |
Get predefined constant for Friday. More... | |
date_time_period | saturday () |
Get predefined constant for Saturday. More... | |
date_time_period | am () |
Get predefined constant for AM (Ante Meridiem) More... | |
date_time_period | pm () |
Get predefined constant for PM (Post Meridiem) More... | |
date_time_period | operator+ (period::period_type f) |
convert period_type to date_time_period(f,1) More... | |
date_time_period | operator- (period::period_type f) |
convert period_type to date_time_period(f,-1) More... | |
template<typename T > | |
date_time_period | operator* (period::period_type f, T v) |
Create date_time_period of type f with value v. More... | |
template<typename T > | |
date_time_period | operator* (T v, period::period_type f) |
Create date_time_period of type f with value v. More... | |
template<typename T > | |
date_time_period | operator* (T v, date_time_period f) |
Create date_time_period of type f with value v. More... | |
template<typename T > | |
date_time_period | operator* (date_time_period f, T v) |
Create date_time_period of type f with value v. More... | |
int | era (date_time const &dt) |
Extract from date_time numerical value of Era i.e. More... | |
int | year (date_time const &dt) |
Extract from date_time numerical value of Year, it is calendar specific, for example 2011 in Gregorian calendar. More... | |
int | extended_year (date_time const &dt) |
Extract from date_time numerical value of Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1. More... | |
int | month (date_time const &dt) |
Extract from date_time numerical value of The month of year, calendar specific, in Gregorian [0..11]. More... | |
int | day (date_time const &dt) |
Extract from date_time numerical value of The day of month, calendar specific, in Gregorian [1..31]. More... | |
int | day_of_year (date_time const &dt) |
Extract from date_time numerical value of The number of day in year, starting from 1, in Gregorian [1..366]. More... | |
int | day_of_week (date_time const &dt) |
Extract from date_time numerical value of Day of week, Sunday=1, Monday=2,..., Saturday=7. More... | |
int | day_of_week_in_month (date_time const &dt) |
Extract from date_time numerical value of Original number of the day of the week in month. More... | |
int | day_of_week_local (date_time const &dt) |
Extract from date_time numerical value of Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7]. More... | |
int | hour (date_time const &dt) |
Extract from date_time numerical value of 24 clock hour [0..23]. More... | |
int | hour_12 (date_time const &dt) |
Extract from date_time numerical value of 12 clock hour [0..11]. More... | |
int | am_pm (date_time const &dt) |
Extract from date_time numerical value of am or pm marker [0..1]. More... | |
int | minute (date_time const &dt) |
Extract from date_time numerical value of minute [0..59]. More... | |
int | second (date_time const &dt) |
Extract from date_time numerical value of second [0..59]. More... | |
int | week_of_year (date_time const &dt) |
Extract from date_time numerical value of The week number in the year. More... | |
int | week_of_month (date_time const &dt) |
Extract from date_time numerical value of The week number within current month. More... | |
int | first_day_of_week (date_time const &dt) |
Extract from date_time numerical value of First day of week, constant, for example Sunday in US = 1, Monday in France = 2. More... | |
int | era (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in Era i.e. More... | |
int | year (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in years. More... | |
int | extended_year (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in extended years (for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1). More... | |
int | month (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in months. More... | |
int | day (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in days of month. More... | |
int | day_of_year (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in days of year. More... | |
int | day_of_week (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in days of week. More... | |
int | day_of_week_in_month (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in original number of the day of the week in month. More... | |
int | day_of_week_local (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in local day of week. More... | |
int | hour (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in hours. More... | |
int | hour_12 (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in 12 clock hours. More... | |
int | am_pm (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in am or pm markers. More... | |
int | minute (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in minutes. More... | |
int | second (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in seconds. More... | |
int | week_of_year (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in the week number in the year. More... | |
int | week_of_month (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in The week number within current month. More... | |
int | first_day_of_week (date_time_duration const &dt) |
Extract from date_time_duration numerical value of duration in the first day of week. More... | |
Namespace that contains various types for manipulation with dates.
|
inline |
Get predefined constant for AM (Ante Meridiem)
References am_pm().
Referenced by boost::math::detail::airy_ai_zero_imp().
|
inline |
Get period_type for: am or pm marker [0..1].
References boost::locale::period::marks::am_pm.
|
inline |
Get date_time_period for: am or pm marker [0..1].
References am_pm().
|
inline |
Extract from date_time numerical value of am or pm marker [0..1].
References am_pm(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in am or pm markers.
References am_pm(), and boost::locale::date_time_duration::get().
|
inline |
Get predefined constant for April.
References month().
|
inline |
Get predefined constant for August.
References month().
|
inline |
Get period_type for: The day of month, calendar specific, in Gregorian [1..31].
References boost::locale::period::marks::day.
Referenced by day().
|
inline |
Get date_time_period for: The day of month, calendar specific, in Gregorian [1..31].
References day().
|
inline |
Extract from date_time numerical value of The day of month, calendar specific, in Gregorian [1..31].
References day(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in days of month.
References day(), and boost::locale::date_time_duration::get().
|
inline |
Get period_type for: Day of week, Sunday=1, Monday=2,..., Saturday=7.
Note that updating this value respects local day of week, so for example, If first day of week is Monday and the current day is Tuesday then setting the value to Sunday (1) would forward the date by 5 days forward and not backward by two days as it could be expected if the numbers were taken as is.
References boost::locale::period::marks::day_of_week.
Referenced by day_of_week(), friday(), monday(), saturday(), sunday(), thursday(), tuesday(), and wednesday().
|
inline |
Get date_time_period for: Day of week, Sunday=1, Monday=2,..., Saturday=7.
Note that updating this value respects local day of week, so for example, If first day of week is Monday and the current day is Tuesday then setting the value to Sunday (1) would forward the date by 5 days forward and not backward by two days as it could be expected if the numbers were taken as is.
References day_of_week().
|
inline |
Extract from date_time numerical value of Day of week, Sunday=1, Monday=2,..., Saturday=7.
Note that updating this value respects local day of week, so for example, If first day of week is Monday and the current day is Tuesday then setting the value to Sunday (1) would forward the date by 5 days forward and not backward by two days as it could be expected if the numbers were taken as is.
References day_of_week(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in days of week.
References day_of_week(), and boost::locale::date_time_duration::get().
|
inline |
Get period_type for: Original number of the day of the week in month.
For example 1st Sunday, 2nd Sunday, etc. in Gregorian [1..5]
References boost::locale::period::marks::day_of_week_in_month.
Referenced by day_of_week_in_month().
|
inline |
Get date_time_period for: Original number of the day of the week in month.
For example 1st Sunday, 2nd Sunday, etc. in Gregorian [1..5]
References day_of_week_in_month().
|
inline |
Extract from date_time numerical value of Original number of the day of the week in month.
For example 1st Sunday, 2nd Sunday, etc. in Gregorian [1..5]
References day_of_week_in_month(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in original number of the day of the week in month.
References day_of_week_in_month(), and boost::locale::date_time_duration::get().
|
inline |
Get period_type for: Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7].
References boost::locale::period::marks::day_of_week_local.
Referenced by day_of_week_local().
|
inline |
Get date_time_period for: Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7].
References day_of_week_local().
|
inline |
Extract from date_time numerical value of Local day of week, for example in France Monday is 1, in US Sunday is 1, [1..7].
References day_of_week_local(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in local day of week.
References day_of_week_local(), and boost::locale::date_time_duration::get().
|
inline |
Get period_type for: The number of day in year, starting from 1, in Gregorian [1..366].
References boost::locale::period::marks::day_of_year.
Referenced by day_of_year().
|
inline |
Get date_time_period for: The number of day in year, starting from 1, in Gregorian [1..366].
References day_of_year().
|
inline |
Extract from date_time numerical value of The number of day in year, starting from 1, in Gregorian [1..366].
References day_of_year(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in days of year.
References day_of_year(), and boost::locale::date_time_duration::get().
|
inline |
Get predefined constant for December.
References month().
|
inline |
Get period_type for: Era i.e.
AC, BC in Gregorian and Julian calendar, range [0,1]
References boost::locale::period::marks::era.
Referenced by era().
|
inline |
Get date_time_period for: Era i.e.
AC, BC in Gregorian and Julian calendar, range [0,1]
References era().
|
inline |
Extract from date_time numerical value of Era i.e.
AC, BC in Gregorian and Julian calendar, range [0,1]
References era(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in Era i.e.
AC, BC in Gregorian and Julian calendar, range [0,1]
References era(), and boost::locale::date_time_duration::get().
|
inline |
Get period_type for: Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1.
References boost::locale::period::marks::extended_year.
Referenced by extended_year().
|
inline |
Get date_time_period for: Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1.
References extended_year().
|
inline |
Extract from date_time numerical value of Extended year for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1.
References extended_year(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in extended years (for Gregorian/Julian calendars, where 1 BC == 0, 2 BC == -1).
References extended_year(), and boost::locale::date_time_duration::get().
|
inline |
Get predefined constant for February.
References month().
|
inline |
Get period_type for: First day of week, constant, for example Sunday in US = 1, Monday in France = 2.
References boost::locale::period::marks::first_day_of_week.
Referenced by first_day_of_week().
|
inline |
Get date_time_period for: First day of week, constant, for example Sunday in US = 1, Monday in France = 2.
References first_day_of_week().
|
inline |
Extract from date_time numerical value of First day of week, constant, for example Sunday in US = 1, Monday in France = 2.
References first_day_of_week(), and boost::locale::date_time::get().
|
inline |
Extract from date_time_duration numerical value of duration in the first day of week.
References first_day_of_week(), and boost::locale::date_time_duration::get().
|
inline |
Get predefined constant for Friday.
References day_of_week().
|
inline |
Get period_type for: 24 clock hour [0..23].
References boost::locale::period::marks::hour.
Referenced by hour().
|
inline |
Get date_time_period for: 24 clock hour [0..23].
References hour().
|
inline |
Extract from date_time numerical value of 24 clock hour [0..23].
References boost::locale::date_time::get(), and hour().
|
inline |
Extract from date_time_duration numerical value of duration in hours.
References boost::locale::date_time_duration::get(), and hour().
|
inline |
Get period_type for: 12 clock hour [0..11].
References boost::locale::period::marks::hour_12.
Referenced by hour_12().
|
inline |
Get date_time_period for: 12 clock hour [0..11].
References hour_12().
|
inline |
Extract from date_time numerical value of 12 clock hour [0..11].
References boost::locale::date_time::get(), and hour_12().
|
inline |
Extract from date_time_duration numerical value of duration in 12 clock hours.
References boost::locale::date_time_duration::get(), and hour_12().
|
inline |
Get period_type for: special invalid value, should not be used directly.
References boost::locale::period::marks::invalid.
|
inline |
Get predefined constant for January.
References month().
|
inline |
Get predefined constant for July.
References month().
|
inline |
Get predefined constant for June.
References month().
|
inline |
Get predefined constant for March.
References month().
|
inline |
Get predefined constant for May.
References month().
|
inline |
Get period_type for: minute [0..59].
References boost::locale::period::marks::minute.
Referenced by minute().
|
inline |
Get date_time_period for: minute [0..59].
References minute().
|
inline |
Extract from date_time numerical value of minute [0..59].
References boost::locale::date_time::get(), and minute().
|
inline |
Extract from date_time_duration numerical value of duration in minutes.
References boost::locale::date_time_duration::get(), and minute().
|
inline |
Get predefined constant for Monday.
References day_of_week().
|
inline |
Get period_type for: The month of year, calendar specific, in Gregorian [0..11].
References boost::locale::period::marks::month.
Referenced by april(), august(), december(), february(), january(), july(), june(), march(), may(), month(), november(), october(), and september().
|
inline |
Get date_time_period for: The month of year, calendar specific, in Gregorian [0..11].
References month().
|
inline |
Extract from date_time numerical value of The month of year, calendar specific, in Gregorian [0..11].
References boost::locale::date_time::get(), and month().
|
inline |
Extract from date_time_duration numerical value of duration in months.
References boost::locale::date_time_duration::get(), and month().
|
inline |
Get predefined constant for November.
References month().
|
inline |
Get predefined constant for October.
References month().
date_time_period boost::locale::period::operator* | ( | period::period_type | f, |
T | v | ||
) |
Create date_time_period of type f with value v.
date_time_period boost::locale::period::operator* | ( | T | v, |
period::period_type | f | ||
) |
Create date_time_period of type f with value v.
date_time_period boost::locale::period::operator* | ( | T | v, |
date_time_period | f | ||
) |
Create date_time_period of type f with value v.
References boost::locale::date_time_period::type, and boost::locale::date_time_period::value.
date_time_period boost::locale::period::operator* | ( | date_time_period | f, |
T | v | ||
) |
Create date_time_period of type f with value v.
References boost::locale::date_time_period::type, and boost::locale::date_time_period::value.
|
inline |
convert period_type to date_time_period(f,1)
|
inline |
convert period_type to date_time_period(f,-1)
|
inline |
Get predefined constant for PM (Post Meridiem)
References am_pm().
Referenced by boost::numeric::ublas::axpy_lu_factorize(), boost::geometry::strategy::transform::inverse_transformer< CalculationType, Dimension1, Dimension2 >::inverse_transformer(), boost::numeric::ublas::lu_factorize(), boost::parallel::make_caching_property_map(), boost::detail::map_maker_helper< Exists, Graph, ArgPack, Value, PM >::make_map(), boost::make_property_map_function(), boost::make_transform_value_property_map(), boost::parallel::detail::maybe_put_impl(), boost::detail::make_degree_invariant< G, Index >::operator()(), boost::transform_value_property_map< Func, PM, Ret >::operator[](), boost::dynamic_properties::property(), boost::detail::randomize_property(), and boost::_bi::unwrapper< F >::unwrap().
|
inline |
Get predefined constant for Saturday.
References day_of_week().
|
inline |
Get period_type for: second [0..59].
References boost::locale::period::marks::second.
Referenced by second().
|
inline |
Get date_time_period for: second [0..59].
References second().
|
inline |
Extract from date_time numerical value of second [0..59].
References boost::locale::date_time::get(), and second().
|
inline |
Extract from date_time_duration numerical value of duration in seconds.
References boost::locale::date_time_duration::get(), and second().
|
inline |
Get predefined constant for September.
References month().
|
inline |
Get predefined constant for Sunday.
References day_of_week().
|
inline |
Get predefined constant for Thursday.
References day_of_week().
|
inline |
Get predefined constant for Tuesday.
References day_of_week().
|
inline |
Get predefined constant for Wednesday.
References day_of_week().
|
inline |
Get period_type for: The week number within current month.
References boost::locale::period::marks::week_of_month.
Referenced by week_of_month().
|
inline |
Get date_time_period for: The week number within current month.
References week_of_month().
|
inline |
Extract from date_time numerical value of The week number within current month.
References boost::locale::date_time::get(), and week_of_month().
|
inline |
Extract from date_time_duration numerical value of duration in The week number within current month.
References boost::locale::date_time_duration::get(), and week_of_month().
|
inline |
Get period_type for: The week number in the year.
References boost::locale::period::marks::week_of_year.
Referenced by week_of_year().
|
inline |
Get date_time_period for: The week number in the year.
References week_of_year().
|
inline |
Extract from date_time numerical value of The week number in the year.
References boost::locale::date_time::get(), and week_of_year().
|
inline |
Extract from date_time_duration numerical value of duration in the week number in the year.
References boost::locale::date_time_duration::get(), and week_of_year().
|
inline |
Get period_type for: Year, it is calendar specific, for example 2011 in Gregorian calendar.
References boost::locale::period::marks::year.
Referenced by year().
|
inline |
Get date_time_period for: Year, it is calendar specific, for example 2011 in Gregorian calendar.
References year().
|
inline |
Extract from date_time numerical value of Year, it is calendar specific, for example 2011 in Gregorian calendar.
References boost::locale::date_time::get(), and year().
|
inline |
Extract from date_time_duration numerical value of duration in years.
References boost::locale::date_time_duration::get(), and year().