Classes | |
struct | ambiguous_result |
simple exception for reporting when STD or DST cannot be determined More... | |
struct | bad_adjustment |
simple exception for UTC daylight savings adjustment More... | |
struct | bad_offset |
simple exception for UTC and Daylight savings start/end offsets More... | |
class | custom_time_zone_base |
A real time zone. More... | |
struct | dst_not_valid |
struct | first_last_rule_spec |
struct | last_last_rule_spec |
class | local_date_time_base |
Representation of "wall-clock" time in a particular time zone. More... | |
struct | nth_kday_rule_spec |
struct | nth_last_rule_spec |
struct | partial_date_rule_spec |
class | posix_time_zone_base |
A time zone class constructed from a POSIX time zone string. More... | |
struct | time_label_invalid |
simple exception for when time label given cannot exist More... | |
Functions | |
std::tm | to_tm (const local_date_time <) |
Function that creates a tm struct from a local_date_time. More... | |
local_date_time | operator+ (const local_date_time &t, const boost::gregorian::months &m) |
Adds a months object and a local_date_time. More... | |
local_date_time | operator+= (local_date_time &t, const boost::gregorian::months &m) |
Adds a months object to a local_date_time. More... | |
local_date_time | operator- (const local_date_time &t, const boost::gregorian::months &m) |
Subtracts a months object and a local_date_time. More... | |
local_date_time | operator-= (local_date_time &t, const boost::gregorian::months &m) |
Subtracts a months object from a local_date_time. More... | |
local_date_time | operator+ (const local_date_time &t, const boost::gregorian::years &y) |
Adds a years object and a local_date_time. More... | |
local_date_time | operator+= (local_date_time &t, const boost::gregorian::years &y) |
Adds a years object to a local_date_time. More... | |
local_date_time | operator- (const local_date_time &t, const boost::gregorian::years &y) |
Subtracts a years object and a local_date_time. More... | |
local_date_time | operator-= (local_date_time &t, const boost::gregorian::years &y) |
Subtracts a years object from a local_date_time. More... | |
template<class CharT , class TraitsT > | |
std::basic_ostream< CharT, TraitsT > & | operator<< (std::basic_ostream< CharT, TraitsT > &os, const local_date_time &ldt) |
operator<< for local_date_time - see local_time docs for formatting details More... | |
template<class CharT , class Traits > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, local_date_time &ldt) |
input operator for local_date_time More... | |
template<class CharT , class TraitsT > | |
std::basic_ostream< CharT, TraitsT > & | operator<< (std::basic_ostream< CharT, TraitsT > &os, const boost::local_time::local_time_period &p) |
output operator for local_time_period More... | |
template<class CharT , class Traits > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, boost::local_time::local_time_period &tp) |
input operator for local_time_period More... | |
typedef custom_time_zone_base<char> boost::local_time::custom_time_zone |
typedef boost::date_time::dst_adjustment_offsets< boost::posix_time::time_duration > boost::local_time::dst_adjustment_offsets |
Provides rule of the form starting Apr 30 ending Oct 21.
Provides rule of the form first Sunday in April, last Saturday in Oct.
Provides rule of the form last Sunday in April, last Saturday in Oct.
Use the default parameters to define local_date_time.
typedef date_time::microsec_clock<local_date_time> boost::local_time::local_microsec_clock |
typedef boost::date_time::time_input_facet<local_date_time::utc_time_type,char> boost::local_time::local_time_input_facet |
typedef boost::date_time::period<local_date_time, boost::posix_time::time_duration> boost::local_time::local_time_period |
typedef date_time::day_calc_dst_rule<nth_kday_rule_spec> boost::local_time::nth_day_of_the_week_in_month_dst_rule |
Provides rule in form of [1st|2nd|3rd|4th] Sunday in April/October.
Provides rule in form of [1st|2nd|3rd|4th] Sunday in April/October.
Provides rule in form of [1st|2nd|3rd|4th] Sunday in April, last Sunday in Oct.
typedef date_time::day_calc_dst_rule<partial_date_rule_spec> boost::local_time::partial_date_dst_rule |
Provides rule of the form first Sunday in April, last Saturday in Oct.
typedef posix_time_zone_base<char> boost::local_time::posix_time_zone |
Shared Pointer for custom_time_zone and posix_time_zone objects.
Object populated with boost::shared_ptr<time_zone_base> objects.
Object populated with boost::shared_ptr<time_zone_base> objects Database is populated from specs stored in external csv file. See date_time::tz_db_base for greater detail
typedef boost::date_time::time_facet<local_date_time, wchar_t> boost::local_time::wlocal_time_facet |
typedef boost::date_time::time_input_facet<local_date_time::utc_time_type,wchar_t> boost::local_time::wlocal_time_input_facet |
typedef date_time::time_zone_base<posix_time::ptime, wchar_t> boost::local_time::wtime_zone |
typedef date_time::time_zone_names_base<wchar_t> boost::local_time::wtime_zone_names |
|
inline |
Adds a months object and a local_date_time.
Result will be same day-of-month as local_date_time unless original day was the last day of month. see date_time::months_duration for more details
References boost::date_time::months_duration< base_config >::get_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Adds a years object and a local_date_time.
Result will be same month and day-of-month as local_date_time unless original day was the last day of month. see date_time::years_duration for more details
References boost::date_time::years_duration< base_config >::get_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Adds a months object to a local_date_time.
Result will be same day-of-month as local_date_time unless original day was the last day of month. see date_time::months_duration for more details
References boost::date_time::months_duration< base_config >::get_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Adds a years object to a local_date_time.
Result will be same month and day-of-month as local_date_time unless original day was the last day of month. see date_time::years_duration for more details
References boost::date_time::years_duration< base_config >::get_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Subtracts a months object and a local_date_time.
Result will be same day-of-month as local_date_time unless original day was the last day of month. see date_time::months_duration for more details
References boost::date_time::months_duration< base_config >::get_neg_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Subtracts a years object and a local_date_time.
Result will be same month and day-of-month as local_date_time unless original day was the last day of month. see date_time::years_duration for more details
References boost::date_time::years_duration< base_config >::get_neg_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
Subtracts a months object from a local_date_time.
Result will be same day-of-month as local_date_time unless original day was the last day of month. see date_time::months_duration for more details
References boost::date_time::months_duration< base_config >::get_neg_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
Referenced by boost::rational< IntType >::operator-=().
|
inline |
Subtracts a years object from a local_date_time.
Result will be same month and day-of-month as local_date_time unless original day was the last day of month. see date_time::years_duration for more details
References boost::date_time::years_duration< base_config >::get_neg_offset(), and boost::local_time::local_date_time_base< utc_time_, tz_type >::utc_time().
|
inline |
operator<< for local_date_time - see local_time docs for formatting details
References boost::put().
|
inline |
output operator for local_time_period
References boost::multiprecision::backends::p, and boost::put().
|
inline |
input operator for local_date_time
References boost::local_time::local_date_time_base< utc_time_, tz_type >::EXCEPTION_ON_ERROR, boost::regex_constants::failbit, and boost::date_time::not_a_date_time.
|
inline |
input operator for local_time_period
References boost::regex_constants::failbit.
|
inline |
Function that creates a tm struct from a local_date_time.
References boost::local_time::local_date_time_base< utc_time_, tz_type >::is_dst(), boost::local_time::local_date_time_base< utc_time_, tz_type >::local_time(), and boost::posix_time::to_tm().