<functionname="from_time_t"><type><classname>ptime</classname></type><parametername="t"><paramtype>std::time_t</paramtype></parameter><purpose>Function that converts a time_t into a ptime. </purpose></function>
<functionname="to_time_t"><type>std::time_t</type><parametername="pt"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Function that converts a ptime into a time_t. </purpose></function>
<functionname="to_tm"><type>std::tm</type><parametername="t"><paramtype>const <classname>boost::posix_time::ptime</classname>&</paramtype></parameter><purpose>Convert a time to a tm structure truncating any fractional seconds. </purpose></function>
<functionname="to_tm"><type>std::tm</type><parametername="td"><paramtype>const <classname>boost::posix_time::time_duration</classname>&</paramtype></parameter><purpose>Convert a <classnamealt="boost::posix_time::time_duration">time_duration</classname> to a tm structure truncating any fractional seconds and zeroing fields for date components. </purpose></function>
<functionname="ptime_from_tm"><type><classname>ptime</classname></type><parametername="timetm"><paramtype>const std::tm &</paramtype></parameter><purpose>Convert a tm struct to a ptime ignoring is_dst flag. </purpose></function>
</template><parametername="ft"><paramtype>const FileTimeT &</paramtype></parameter><purpose>Function to create a time object from an initialized FILETIME struct. </purpose><description><para>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.</para><para><note><para>FILETIME is part of the Win32 API, so it is not portable to non-windows platforms.</para>
</note>
<note><para>The function is templated on the FILETIME type, so that it can be used with both native FILETIME and the ad-hoc boost::detail::winapi::FILETIME_ type. </para>
<para>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. </para><namespacename="boost">
<functionname="operator+"><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype>const <classname>ptime</classname>&</paramtype></parameter><parametername="m"><paramtype>const boost::gregorian::months &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator+="><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype><classname>ptime</classname>&</paramtype></parameter><parametername="m"><paramtype>const boost::gregorian::months &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator-"><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype>const <classname>ptime</classname>&</paramtype></parameter><parametername="m"><paramtype>const boost::gregorian::months &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator-="><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype><classname>ptime</classname>&</paramtype></parameter><parametername="m"><paramtype>const boost::gregorian::months &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator+"><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype>const <classname>ptime</classname>&</paramtype></parameter><parametername="y"><paramtype>const boost::gregorian::years &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator+="><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype><classname>ptime</classname>&</paramtype></parameter><parametername="y"><paramtype>const boost::gregorian::years &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator-"><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype>const <classname>ptime</classname>&</paramtype></parameter><parametername="y"><paramtype>const boost::gregorian::years &</paramtype></parameter><description><para>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 </para></description></function>
<functionname="operator-="><type>BOOST_CXX14_CONSTEXPR <classname>ptime</classname></type><parametername="t"><paramtype><classname>ptime</classname>&</paramtype></parameter><parametername="y"><paramtype>const boost::gregorian::years &</paramtype></parameter><description><para>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 </para></description></function>
</class><structname="simple_time_rep"><purpose>Simple implementation for the time rep. </purpose><typedefname="date_type"><type>gregorian::date</type></typedef>
<constructor><parametername="sv"><paramtype>boost::date_time::special_values</paramtype></parameter><purpose>Construct from special_values. </purpose></constructor>
<classname="hours"><inheritaccess="public">boost::posix_time::time_duration</inherit><description><para>Allows expression of durations as an hour count The argument must be an integral type </para></description><method-groupname="public member functions">
</template><parametername="h"><paramtype>T const &</paramtype></parameter><parametername=""><paramtype>typename boost::enable_if< boost::is_integral< T >, void >::type *</paramtype><default>BOOST_DATE_TIME_NULLPTR</default></parameter></constructor>
</class><classname="minutes"><inheritaccess="public">boost::posix_time::time_duration</inherit><description><para>Allows expression of durations as a minute count The argument must be an integral type </para></description><method-groupname="public member functions">
</template><parametername="m"><paramtype>T const &</paramtype></parameter><parametername=""><paramtype>typename boost::enable_if< boost::is_integral< T >, void >::type *</paramtype><default>BOOST_DATE_TIME_NULLPTR</default></parameter></constructor>
</class><classname="seconds"><inheritaccess="public">boost::posix_time::time_duration</inherit><description><para>Allows expression of durations as a seconds count The argument must be an integral type </para></description><method-groupname="public member functions">
</class><typedefname="millisec"><purpose>Allows expression of durations as milli seconds. </purpose><type>date_time::subsecond_duration<<classname>time_duration</classname>, 1000 ></type></typedef>
<typedefname="microsec"><purpose>Allows expression of durations as micro seconds. </purpose><type>date_time::subsecond_duration<<classname>time_duration</classname>, 1000000 ></type></typedef>
<typedefname="nanosec"><purpose>Allows expression of durations as nano seconds. </purpose><type>date_time::subsecond_duration<<classname>time_duration</classname>, 1000000000 ></type></typedef>
<typedefname="wtime_facet"><purpose>wptime_facet is depricated and will be phased out. use wtime_facet instead </purpose><description><para>ptime_facet is depricated and will be phased out. use time_facet instead wptime_input_facet is depricated and will be phased out. use wtime_input_facet instead ptime_input_facet is depricated and will be phased out. use time_input_facet instead </para></description><type>boost::date_time::time_facet<<classname>ptime</classname>, wchar_t ></type></typedef>
</template><parametername="is"><paramtype>std::basic_istream< charT >&</paramtype></parameter><parametername="tp"><paramtype>time_period &</paramtype></parameter><description><para>operator>> for time_period. time_period must be in "[date time_duration/date time_duration]" format. </para></description></function>
<typedefname="time_iterator"><purpose>Iterator over a defined time duration. </purpose><type>date_time::time_itr<<classname>ptime</classname>></type></typedef>
<typedefname="second_clock"><purpose>A time clock that has a resolution of one second. </purpose><type>date_time::second_clock<<classname>ptime</classname>></type></typedef>
<typedefname="microsec_clock"><purpose>A time clock that has a resolution of one microsecond. </purpose><type>date_time::microsec_clock<<classname>ptime</classname>></type></typedef>
<typedefname="no_dst"><purpose>Define a dst null dst rule for the posix_time system. </purpose><type>date_time::null_dst_rules< ptime::date_type, <classname>time_duration</classname>></type></typedef>
<typedefname="us_dst"><purpose>Define US dst rule calculator for the posix_time system. </purpose><type>date_time::us_dst_rules< ptime::date_type, <classname>time_duration</classname>></type></typedef>
<classname="ptime"><inheritaccess="public">date_time::base_time< ptime, posix_time_system ></inherit><purpose>Time type with no timezone or other adjustments. </purpose><typedefname="time_system_type"><type>posix_time_system</type></typedef>
<constructor><parametername="d"><paramtype>gregorian::date</paramtype></parameter><parametername="td"><paramtype>time_duration_type</paramtype></parameter><purpose>Construct with date and offset in day. </purpose></constructor>
<constructorspecifiers="explicit"><parametername="d"><paramtype>gregorian::date</paramtype></parameter><purpose>Construct a time at start of the given day (midnight) </purpose></constructor>
<constructor><parametername="rhs"><paramtype>const time_rep_type &</paramtype></parameter><purpose>Copy from time_rep. </purpose></constructor>
<constructor><parametername="sv"><paramtype>const special_values</paramtype></parameter><purpose>Construct from special value. </purpose></constructor>
</template><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Time to simple format CCYY-mmm-dd hh:mm:ss.fffffff. </purpose></function>
<functionname="to_simple_wstring"><type>std::wstring</type><parametername="td"><paramtype><classname>time_duration</classname></paramtype></parameter><purpose>Time duration to wstring -hh::mm::ss.fffffff. Example: 10:09:03.0123456. </purpose></function>
<functionname="to_iso_wstring"><type>std::wstring</type><parametername="td"><paramtype><classname>time_duration</classname></paramtype></parameter><purpose>Time duration in iso format -hhmmss,fffffff Example: 10:09:03,0123456. </purpose></function>
<functionname="to_simple_wstring"><type>std::wstring</type><parametername="tp"><paramtype>time_period</paramtype></parameter><purpose>Convert to wstring of form [YYYY-mmm-DD HH:MM::SS.ffffff/YYYY-mmm-DD HH:MM::SS.fffffff]. </purpose></function>
<functionname="to_iso_wstring"><type>std::wstring</type><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Convert iso short form YYYYMMDDTHHMMSS where T is the date-time separator. </purpose></function>
<functionname="to_iso_extended_wstring"><type>std::wstring</type><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Convert to form YYYY-MM-DDTHH:MM:SS where T is the date-time separator. </purpose></function>
<functionname="to_simple_string"><type>std::string</type><parametername="td"><paramtype><classname>time_duration</classname></paramtype></parameter><purpose>Time duration to string -hh::mm::ss.fffffff. Example: 10:09:03.0123456. </purpose></function>
<functionname="to_iso_string"><type>std::string</type><parametername="td"><paramtype><classname>time_duration</classname></paramtype></parameter><purpose>Time duration in iso format -hhmmss,fffffff Example: 10:09:03,0123456. </purpose></function>
<functionname="to_simple_string"><type>std::string</type><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Time to simple format CCYY-mmm-dd hh:mm:ss.fffffff. </purpose></function>
<functionname="to_simple_string"><type>std::string</type><parametername="tp"><paramtype>time_period</paramtype></parameter><purpose>Convert to string of form [YYYY-mmm-DD HH:MM::SS.ffffff/YYYY-mmm-DD HH:MM::SS.fffffff]. </purpose></function>
<functionname="to_iso_string"><type>std::string</type><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Convert iso short form YYYYMMDDTHHMMSS where T is the date-time separator. </purpose></function>
<functionname="to_iso_extended_string"><type>std::string</type><parametername="t"><paramtype><classname>ptime</classname></paramtype></parameter><purpose>Convert to form YYYY-MM-DDTHH:MM:SS where T is the date-time separator. </purpose></function>
<functionname="duration_from_string"><type><classname>time_duration</classname></type><parametername="s"><paramtype>const std::string &</paramtype></parameter><purpose>Creates a <classnamealt="boost::posix_time::time_duration">time_duration</classname> object from a delimited string. </purpose><description><para>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 "-:,.". </para></description></function>
<typedefname="time_period"><purpose>Time period type. </purpose><type>date_time::period<<classname>ptime</classname>, <classname>time_duration</classname>></type></typedef>
</template><specialization><template-arg>boost::posix_time::time_duration</template-arg></specialization><inheritaccess="public">integral_constant< int, BOOST_DATE_TIME_POSIX_TIME_DURATION_VERSION ></inherit></struct-specialization><functionname="BOOST_DATE_TIME_SPLIT_FREE"><type/><parametername=""><paramtype><classname>boost::posix_time::ptime</classname></paramtype></parameter><description><para>time_duration objects are broken down into 4 parts for serialization: types are hour_type, min_type, sec_type, and fractional_seconds_type as defined in the time_duration class </para></description></function>
</template><parametername="ar"><paramtype>Archive &</paramtype></parameter><parametername="td"><paramtype><classname>posix_time::time_duration</classname>&</paramtype></parameter><purpose>Function to load <classnamealt="boost::posix_time::time_duration">posix_time::time_duration</classname> objects using serialization lib. </purpose><description><para>time_duration objects are broken down into 4 parts for serialization: types are hour_type, min_type, sec_type, and fractional_seconds_type as defined in the time_duration class </para></description></function>
</template><parametername="ar"><paramtype>Archive &</paramtype></parameter><parametername="pt"><paramtype>const <classname>posix_time::ptime</classname>&</paramtype></parameter><parametername=""><paramtype>unsigned int</paramtype></parameter><purpose>Function to save <classnamealt="boost::posix_time::ptime">posix_time::ptime</classname> objects using serialization lib. </purpose><description><para>ptime objects are broken down into 2 parts for serialization: a date object and a time_duration onject </para></description></function>
</template><parametername="ar"><paramtype>Archive &</paramtype></parameter><parametername="pt"><paramtype><classname>posix_time::ptime</classname>&</paramtype></parameter><parametername=""><paramtype>unsigned int</paramtype></parameter><purpose>Function to load <classnamealt="boost::posix_time::ptime">posix_time::ptime</classname> objects using serialization lib. </purpose><description><para>ptime objects are broken down into 2 parts for serialization: a date object and a time_duration onject </para></description></function>
</template><parametername="ar"><paramtype>Archive &</paramtype></parameter><parametername="tp"><paramtype>const posix_time::time_period &</paramtype></parameter><parametername=""><paramtype>unsigned int</paramtype></parameter><purpose>Function to save posix_time::time_period objects using serialization lib. </purpose><description><para>time_period objects are broken down into 2 parts for serialization: a begining ptime object and an ending ptime object </para></description></function>
</template><parametername="ar"><paramtype>Archive &</paramtype></parameter><parametername="tp"><paramtype>boost::posix_time::time_period &</paramtype></parameter><parametername=""><paramtype>unsigned int</paramtype></parameter><purpose>Function to load posix_time::time_period objects using serialization lib. </purpose><description><para>time_period objects are broken down into 2 parts for serialization: a begining ptime object and an ending ptime object </para></description></function>