Posix Time Reference
ptime
std::time_t
Function that converts a time_t into a ptime.
time_type
const FILETIME &
Function to create a time object from an initialized FILETIME struct.
Function to create a time object from an initialized FILETIME struct. A FILETIME struct holds 100-nanosecond units (0.0000001). When built with microsecond resolution the FILETIME's sub second value will be truncated. Nanosecond resolution has no truncation.
Note ftime is part of the Win32 API, so it is not portable to non-windows platforms.
Operators for ptime and optional gregorian types. Operators use snap-to-end-of-month behavior. Further details on this behavior can be found in reference for date_time/date_duration_types.hpp and documentation for month and year iterators.
ptime
const ptime &
const boost::gregorian::months &
Adds a months object and a ptime. Result will be same day-of-month as ptime unless original day was the last day of month. see date_time::months_duration for more details
ptime
ptime &
const boost::gregorian::months &
Adds a months object to a ptime. Result will be same day-of-month as ptime unless original day was the last day of month. see date_time::months_duration for more details
ptime
const ptime &
const boost::gregorian::months &
Subtracts a months object and a ptime. Result will be same day-of-month as ptime unless original day was the last day of month. see date_time::months_duration for more details
ptime
ptime &
const boost::gregorian::months &
Subtracts a months object from a ptime. Result will be same day-of-month as ptime unless original day was the last day of month. see date_time::months_duration for more details
ptime
const ptime &
const boost::gregorian::years &
Adds a years object and a ptime. Result will be same month and day-of-month as ptime unless original day was the last day of month. see date_time::years_duration for more details
ptime
ptime &
const boost::gregorian::years &
Adds a years object to a ptime. Result will be same month and day-of-month as ptime unless original day was the last day of month. see date_time::years_duration for more details
ptime
const ptime &
const boost::gregorian::years &
Subtracts a years object and a ptime. Result will be same month and day-of-month as ptime unless original day was the last day of month. see date_time::years_duration for more details
ptime
ptime &
const boost::gregorian::years &
Subtracts a years object from a ptime. Result will be same month and day-of-month as ptime unless original day was the last day of month. see date_time::years_duration for more details
Global header file to get all of posix time types
Base time duration type.
time_res_traits
time_res_traits::day_type
time_res_traits::hour_type
time_res_traits::min_type
time_res_traits::sec_type
time_res_traits::fractional_seconds_type
time_res_traits::tick_type
time_res_traits::impl_type
hour_type
min_type
sec_type
fractional_seconds_type
0
boost::date_time::special_values
Construct from special_values.
impl_type
Simple implementation for the time rep.
gregorian::date
time_duration
bool
bool
bool
bool
date_type
time_duration_type
date_type
time_duration_type
simple_time_rep
gregorian::date
gregorian::date_duration
time_duration
time_res_traits::tick_type
time_res_traits
boost::int64_t
tick_per_second
1000000000
boost::int64_t
gregorian::date
gregorian::date_duration
time_duration
time_res_traits::tick_type
time_res_traits::impl_type
time_res_traits
boost::int64_t
tick_per_second
1000000
date_time::time_resolution_traits< boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::nano, 1000000000, 9 >
boost::posix_time::time_duration
Allows expression of durations as an hour count.
long
boost::posix_time::time_duration
Allows expression of durations as a minute count.
long
boost::posix_time::time_duration
Allows expression of durations as a seconds count.
long
Allows expression of durations as milli seconds.
date_time::subsecond_duration< time_duration, 1000 >
date_time::subsecond_duration< time_duration, 1000 >
Allows expression of durations as micro seconds.
date_time::subsecond_duration< time_duration, 1000000 >
date_time::subsecond_duration< time_duration, 1000000 >
Allows expression of durations as nano seconds.
date_time::subsecond_duration< time_duration, 1000000000 >
date_time::subsecond_duration< time_duration, 1000000000 >
date_time::split_timedate_system< posix_time_system_config, 1000000000 >
date_time::counted_time_rep< millisec_posix_time_system_config >
Iterator over a defined time duration.
date_time::time_itr< ptime >
A time clock that has a resolution of one second.
date_time::second_clock< ptime::date_type, ptime >
A time clock that has a resolution of one microsecond.
date_time::microsec_clock< ptime >
Define a dst null dst rule for the posix_time system.
date_time::null_dst_rules< ptime::date_type, time_duration >
Define US dst rule calculator for the posix_time system.
date_time::us_dst_rules< ptime::date_type, time_duration >
Time type with no timezone or other adjustments.
posix_time_system
time_system_type::time_rep_type
time_system_type::time_duration_type
ptime
gregorian::date
time_duration_type
Construct with date and offset in day.
gregorian::date
Construct a time at start of the given day (midnight).
const time_rep_type &
Copy from time_rep.
const special_values
Construct from special value.
std::basic_string< charT >
time_duration
std::basic_string< charT >
time_duration
std::basic_string< charT >
ptime
Time to simple format CCYY-mmm-dd hh:mm:ss.fffffff.
std::basic_string< charT >
time_period
std::basic_string< charT >
ptime
std::basic_string< charT >
ptime
std::wstring
time_duration
Time duration to wstring -hh::mm::ss.fffffff. Example: 10:09:03.0123456.
std::wstring
time_duration
Time duration in iso format -hhmmss,fffffff Example: 10:09:03,0123456.
std::wstring
ptime
std::wstring
time_period
Convert to wstring of form [YYYY-mmm-DD HH:MM::SS.ffffff/YYYY-mmm-DD HH:MM::SS.fffffff].
std::wstring
ptime
Convert iso short form YYYYMMDDTHHMMSS where T is the date-time separator.
std::wstring
ptime
Convert to form YYYY-MM-DDTHH:MM:SS where T is the date-time separator.
std::basic_istream< charT > &
std::basic_istream< charT > &
time_duration &
std::basic_istream< charT > &
std::basic_istream< charT > &
ptime &
std::basic_istream< charT > &
std::basic_istream< charT > &
time_period &
operator>> for time_period. time_period must be in "[date time_duration/date time_duration]" format.
std::string
time_duration
Time duration to string -hh::mm::ss.fffffff. Example: 10:09:03.0123456.
std::string
time_duration
Time duration in iso format -hhmmss,fffffff Example: 10:09:03,0123456.
std::string
ptime
Time to simple format CCYY-mmm-dd hh:mm:ss.fffffff.
std::string
time_period
Convert to string of form [YYYY-mmm-DD HH:MM::SS.ffffff/YYYY-mmm-DD HH:MM::SS.fffffff].
std::string
ptime
Convert iso short form YYYYMMDDTHHMMSS where T is the date-time separator.
std::string
ptime
Convert to form YYYY-MM-DDTHH:MM:SS where T is the date-time separator.
std::basic_ostream< charT, traits > &
std::basic_ostream< charT, traits > &
const time_duration &
ostream operator for posix_time::time_duration
std::basic_ostream< charT, traits > &
std::basic_ostream< charT, traits > &
const ptime &
ostream operator for posix_time::ptime
std::basic_ostream< charT, traits > &
std::basic_ostream< charT, traits > &
const time_period &
ostream operator for posix_time::time_period
time_duration
const std::string &
Creates a time_duration object from a delimited string.
Expected format for string is "[-]h[h][:mm][:ss][.fff]". A negative duration will be created if the first character in string is a '-', all other '-' will be treated as delimiters. Accepted delimiters are "-:,.".
ptime
const std::string &
ptime
const std::string &
Time period type.
date_time::period< ptime, time_duration >