<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Boost.Locale: Date, Time, Timezone and Calendar manipulations</title>
+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<link href="doxygen.css" rel="stylesheet" type="text/css"/>
-<link rel="stylesheet" type="text/css" href="../style/section-basic.css">
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+
+
</head>
<body>
-<div id="boost-common-heading-doc">
- <div class="heading-inner">
- <div class="heading-placard"></div>
-
- <h1 class="heading-title">
- <a href="http://www.boost.org/">
- <img src="../style/space.png" alt= "Boost C++ Libraries" class="heading-logo" />
- <span class="heading-boost">Boost</span>
- <span class="heading-cpplibraries">C++ Libraries</span>
- </a>
- </h1>
+<div id="top"><!-- do not remove this div! -->
- <p class="heading-quote">
- <q>...one of the most highly
- regarded and expertly designed C++ library projects in the
- world.</q>
-
- <span class="heading-attribution">— <a href=
- "http://www.gotw.ca/" class="external">Herb Sutter</a> and <a href=
- "http://en.wikipedia.org/wiki/Andrei_Alexandrescu" class="external">Andrei
- Alexandrescu</a>, <a href=
- "http://safari.awprofessional.com/?XmlId=0321113586" class="external">C++
- Coding Standards</a></span>
- </p>
- </div>
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+
+ <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
+
+
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Boost.Locale
+
+ </div>
+
+ </td>
+
+
+
+ </tr>
+ </tbody>
+</table>
</div>
-<div id="boost-common-heading-doc-spacer"></div>
-<!-- Generated by Doxygen 1.7.1 -->
-<div class="navigation" id="top">
- <div class="tabs">
+<!-- Generated by Doxygen 1.7.6.1 -->
+ <div id="navrow1" class="tabs">
<ul class="tablist">
- <li><a href="main.html"><span>Main Page</span></a></li>
+ <li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
</div>
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+ initNavTree('group__date__time.html','');
+</script>
+<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
-<h1>Date, Time, Timezone and Calendar manipulations</h1> </div>
-</div>
+<div class="title">Date, Time, Timezone and Calendar manipulations</div> </div>
+</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__error.html">boost::locale::date_time_error</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">This error is thrown in case of invalid state that occurred. <a href="classboost_1_1locale_1_1date__time__error.html#_details">More...</a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">boost::locale::date_time_period</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">This class represents a pair of period_type and the integer values that describes its amount. For example 3 days or 4 years. <a href="structboost_1_1locale_1_1date__time__period.html#_details">More...</a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">boost::locale::date_time_period_set</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">this class that represents a set of periods, <a href="classboost_1_1locale_1_1date__time__period__set.html#_details">More...</a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html">boost::locale::calendar</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">this class provides an access to general calendar information. <a href="classboost_1_1locale_1_1calendar.html#_details">More...</a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html">boost::locale::date_time</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">this class represents a date time and allows to perform various operation according to the locale settings. <a href="classboost_1_1locale_1_1date__time.html#_details">More...</a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__duration.html">boost::locale::date_time_duration</a></td></tr>
-<tr><td class="mdescLeft"> </td><td class="mdescRight">This class represents a period: a pair of two <a class="el" href="classboost_1_1locale_1_1date__time.html" title="this class represents a date time and allows to perform various operation according to the locale set...">date_time</a> objects. <a href="classboost_1_1locale_1_1date__time__duration.html#_details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__error.html">boost::locale::date_time_error</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">This error is thrown in case of invalid state that occurred. <a href="classboost_1_1locale_1_1date__time__error.html#details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">boost::locale::date_time_period</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">This class represents a pair of period_type and the integer values that describes its amount. For example 3 days or 4 years. <a href="structboost_1_1locale_1_1date__time__period.html#details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">boost::locale::date_time_period_set</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">this class that represents a set of periods, <a href="classboost_1_1locale_1_1date__time__period__set.html#details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html">boost::locale::calendar</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">this class provides an access to general calendar information. <a href="classboost_1_1locale_1_1calendar.html#details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html">boost::locale::date_time</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">this class represents a date time and allows to perform various operation according to the locale settings. <a href="classboost_1_1locale_1_1date__time.html#details">More...</a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time__duration.html">boost::locale::date_time_duration</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">This class represents a period: a pair of two <a class="el" href="classboost_1_1locale_1_1date__time.html" title="this class represents a date time and allows to perform various operation according to the locale set...">date_time</a> objects. <a href="classboost_1_1locale_1_1date__time__duration.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1period.html">boost::locale::period</a></td></tr>
-
-<p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Namespace that contains various types for manipulation with dates. </p>
+<tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1period.html">boost::locale::period</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Namespace that contains various types for manipulation with dates. </p>
<br/></td></tr>
-</p>
-<tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1time__zone.html">boost::locale::time_zone</a></td></tr>
-
-<p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>namespace that holds functions for operating with global time zone </p>
+<tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1time__zone.html">boost::locale::time_zone</a></td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight"><p>namespace that holds functions for operating with global time zone </p>
<br/></td></tr>
-</p>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">date_time_period_set </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#gaa7e728633f76cae8fa19e76cfb5e113b">boost::locale::operator+</a> (date_time_period_set const &a, date_time_period_set const &b)</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">date_time_period_set </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga023333646e070abf361be3890c12560b">boost::locale::operator-</a> (date_time_period_set const &a, date_time_period_set const &b)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">date_time_period_set </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#gaa7e728633f76cae8fa19e76cfb5e113b">boost::locale::operator+</a> (date_time_period_set const &a, date_time_period_set const &b)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">date_time_period_set </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga023333646e070abf361be3890c12560b">boost::locale::operator-</a> (date_time_period_set const &a, date_time_period_set const &b)</td></tr>
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
-<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_ostream< CharType > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga0055f16ba156eb9a3f333c2bf2eae815">boost::locale::operator<<</a> (std::basic_ostream< CharType > &out, date_time const &t)</td></tr>
+<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_ostream< CharType > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga759109f4470f00ec3d91f5797db82b9b">boost::locale::operator<<</a> (std::basic_ostream< CharType > &out, date_time const &t)</td></tr>
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
-<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_istream< CharType > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__date__time.html#gaaf12ac2d38329331a8d9101ecc5e64d5">boost::locale::operator>></a> (std::basic_istream< CharType > &in, date_time &t)</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">date_time_duration </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga13c05afeb4ea7904b944b42f6c685022">boost::locale::operator-</a> (date_time const &later, date_time const &earlier)</td></tr>
+<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_istream< CharType > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__date__time.html#gaf6e30351fc67e887e37853723c228484">boost::locale::operator>></a> (std::basic_istream< CharType > &in, date_time &t)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">date_time_duration </td><td class="memItemRight" valign="bottom"><a class="el" href="group__date__time.html#ga13c05afeb4ea7904b944b42f6c685022">boost::locale::operator-</a> (date_time const &later, date_time const &earlier)</td></tr>
</table>
-<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>This module provides various calendar, timezone and date time services </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gaa7e728633f76cae8fa19e76cfb5e113b"></a><!-- doxytag: member="boost::locale::operator+" ref="gaa7e728633f76cae8fa19e76cfb5e113b" args="(date_time_period_set const &a, date_time_period_set const &b)" -->
<tr>
<td class="memname">date_time_period_set boost::locale::operator+ </td>
<td>(</td>
- <td class="paramtype">date_time_period_set const & </td>
- <td class="paramname"> <em>a</em>, </td>
+ <td class="paramtype">date_time_period_set const & </td>
+ <td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">date_time_period_set const & </td>
- <td class="paramname"> <em>b</em></td><td> </td>
+ <td class="paramtype">date_time_period_set const & </td>
+ <td class="paramname"><em>b</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td><code> [inline]</code></td>
+ <td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
</div>
</div>
-<a class="anchor" id="ga13c05afeb4ea7904b944b42f6c685022"></a><!-- doxytag: member="boost::locale::operator-" ref="ga13c05afeb4ea7904b944b42f6c685022" args="(date_time const &later, date_time const &earlier)" -->
+<a class="anchor" id="ga023333646e070abf361be3890c12560b"></a><!-- doxytag: member="boost::locale::operator-" ref="ga023333646e070abf361be3890c12560b" args="(date_time_period_set const &a, date_time_period_set const &b)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">date_time_duration boost::locale::operator- </td>
+ <td class="memname">date_time_period_set boost::locale::operator- </td>
<td>(</td>
- <td class="paramtype">date_time const & </td>
- <td class="paramname"> <em>later</em>, </td>
+ <td class="paramtype">date_time_period_set const & </td>
+ <td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">date_time const & </td>
- <td class="paramname"> <em>earlier</em></td><td> </td>
+ <td class="paramtype">date_time_period_set const & </td>
+ <td class="paramname"><em>b</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td><code> [inline]</code></td>
+ <td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
-<p>Calculates the difference between two dates, the left operand is a later point on time line. Returns <a class="el" href="classboost_1_1locale_1_1date__time__duration.html" title="This class represents a period: a pair of two date_time objects.">date_time_duration</a> object. </p>
+<p>Append two period sets when all periods of set <b>change</b> their sign </p>
</div>
</div>
-<a class="anchor" id="ga023333646e070abf361be3890c12560b"></a><!-- doxytag: member="boost::locale::operator-" ref="ga023333646e070abf361be3890c12560b" args="(date_time_period_set const &a, date_time_period_set const &b)" -->
+<a class="anchor" id="ga13c05afeb4ea7904b944b42f6c685022"></a><!-- doxytag: member="boost::locale::operator-" ref="ga13c05afeb4ea7904b944b42f6c685022" args="(date_time const &later, date_time const &earlier)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">date_time_period_set boost::locale::operator- </td>
+ <td class="memname">date_time_duration boost::locale::operator- </td>
<td>(</td>
- <td class="paramtype">date_time_period_set const & </td>
- <td class="paramname"> <em>a</em>, </td>
+ <td class="paramtype">date_time const & </td>
+ <td class="paramname"><em>later</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">date_time_period_set const & </td>
- <td class="paramname"> <em>b</em></td><td> </td>
+ <td class="paramtype">date_time const & </td>
+ <td class="paramname"><em>earlier</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td><code> [inline]</code></td>
+ <td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
-<p>Append two period sets when all periods of set <b>change</b> their sign </p>
+<p>Calculates the difference between two dates, the left operand is a later point on time line. Returns <a class="el" href="classboost_1_1locale_1_1date__time__duration.html" title="This class represents a period: a pair of two date_time objects.">date_time_duration</a> object. </p>
</div>
</div>
-<a class="anchor" id="ga0055f16ba156eb9a3f333c2bf2eae815"></a><!-- doxytag: member="boost::locale::operator<<" ref="ga0055f16ba156eb9a3f333c2bf2eae815" args="(std::basic_ostream< CharType > &out, date_time const &t)" -->
+<a class="anchor" id="ga759109f4470f00ec3d91f5797db82b9b"></a><!-- doxytag: member="boost::locale::operator<<" ref="ga759109f4470f00ec3d91f5797db82b9b" args="(std::basic_ostream< CharType > &out, date_time const &t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
<tr>
<td class="memname">std::basic_ostream<CharType>& boost::locale::operator<< </td>
<td>(</td>
- <td class="paramtype">std::basic_ostream< CharType > & </td>
- <td class="paramname"> <em>out</em>, </td>
+ <td class="paramtype">std::basic_ostream< CharType > & </td>
+ <td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">date_time const & </td>
- <td class="paramname"> <em>t</em></td><td> </td>
+ <td class="paramtype">date_time const & </td>
+ <td class="paramname"><em>t</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
</div>
</div>
</div>
-<a class="anchor" id="gaaf12ac2d38329331a8d9101ecc5e64d5"></a><!-- doxytag: member="boost::locale::operator>>" ref="gaaf12ac2d38329331a8d9101ecc5e64d5" args="(std::basic_istream< CharType > &in, date_time &t)" -->
+<a class="anchor" id="gaf6e30351fc67e887e37853723c228484"></a><!-- doxytag: member="boost::locale::operator>>" ref="gaf6e30351fc67e887e37853723c228484" args="(std::basic_istream< CharType > &in, date_time &t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
<tr>
<td class="memname">std::basic_istream<CharType>& boost::locale::operator>> </td>
<td>(</td>
- <td class="paramtype">std::basic_istream< CharType > & </td>
- <td class="paramname"> <em>in</em>, </td>
+ <td class="paramtype">std::basic_istream< CharType > & </td>
+ <td class="paramname"><em>in</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">date_time & </td>
- <td class="paramname"> <em>t</em></td><td> </td>
+ <td class="paramtype">date_time & </td>
+ <td class="paramname"><em>t</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
</div>
</div>
</div>
+</div><!-- contents -->
</div>
-<hr class="footer"/><address class="footer"><small>
-© Copyright 2009-2011 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
-</small></address>
+ <div id="nav-path" class="navpath">
+ <ul>
+
+ <li class="footer">
+© Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
+ </li>
+ </ul>
+ </div>
+
+
</body>
</html>