1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/xhtml;charset=UTF-8"/>
5 <meta http-equiv=
"X-UA-Compatible" content=
"IE=9"/>
6 <meta name=
"generator" content=
"Doxygen 1.8.6"/>
7 <title>Boost.Locale: boost::locale::date_time Class Reference
</title>
8 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
9 <script type=
"text/javascript" src=
"jquery.js"></script>
10 <script type=
"text/javascript" src=
"dynsections.js"></script>
11 <link href=
"navtree.css" rel=
"stylesheet" type=
"text/css"/>
12 <script type=
"text/javascript" src=
"resize.js"></script>
13 <script type=
"text/javascript" src=
"navtree.js"></script>
14 <script type=
"text/javascript">
15 $(document).ready(initResizable);
16 $(window).load(resizeHeight);
18 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css" />
21 <div id=
"top"><!-- do not remove this div, it is closed by doxygen! -->
23 <table cellspacing=
"0" cellpadding=
"0">
25 <tr style=
"height: 56px;">
26 <td id=
"projectlogo"><img alt=
"Logo" src=
"boost-small.png"/></td>
27 <td style=
"padding-left: 0.5em;">
28 <div id=
"projectname">Boost.Locale
35 <!-- end header part -->
36 <!-- Generated by Doxygen 1.8.6 -->
37 <div id=
"navrow1" class=
"tabs">
39 <li><a href=
"index.html"><span>Main
 Page
</span></a></li>
40 <li><a href=
"pages.html"><span>Related
 Pages
</span></a></li>
41 <li><a href=
"modules.html"><span>Modules
</span></a></li>
42 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
43 <li class=
"current"><a href=
"annotated.html"><span>Classes
</span></a></li>
44 <li><a href=
"files.html"><span>Files
</span></a></li>
45 <li><a href=
"examples.html"><span>Examples
</span></a></li>
48 <div id=
"navrow2" class=
"tabs2">
50 <li><a href=
"annotated.html"><span>Class
 List
</span></a></li>
51 <li><a href=
"hierarchy.html"><span>Class
 Hierarchy
</span></a></li>
52 <li><a href=
"functions.html"><span>Class
 Members
</span></a></li>
56 <div id=
"side-nav" class=
"ui-resizable side-nav-resizable">
58 <div id=
"nav-tree-contents">
59 <div id=
"nav-sync" class=
"sync"></div>
62 <div id=
"splitbar" style=
"-moz-user-select:none;"
63 class=
"ui-resizable-handle">
66 <script type=
"text/javascript">
67 $(document).ready(function(){initNavTree('classboost_1_1locale_1_1date__time.html','');});
69 <div id=
"doc-content">
72 <a href=
"#pub-methods">Public Member Functions
</a> |
73 <a href=
"classboost_1_1locale_1_1date__time-members.html">List of all members
</a> </div>
74 <div class=
"headertitle">
75 <div class=
"title">boost::locale::date_time Class Reference
<div class=
"ingroups"><a class=
"el" href=
"group__date__time.html">Date, Time, Timezone and Calendar manipulations
</a></div></div> </div>
77 <div class=
"contents">
79 <p>this class represents a date time and allows to perform various operation according to the locale settings.
80 <a href=
"classboost_1_1locale_1_1date__time.html#details">More...
</a></p>
82 <p><code>#include
<<a class=
"el" href=
"date__time_8hpp_source.html">boost/locale/date_time.hpp
</a>></code></p>
83 <table class=
"memberdecls">
84 <tr class=
"heading"><td colspan=
"2"><h2 class=
"groupheader"><a name=
"pub-methods"></a>
85 Public Member Functions
</h2></td></tr>
86 <tr class=
"memitem:ae7a3b74e7512ddc4d618eb1f51c3d2b0"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ae7a3b74e7512ddc4d618eb1f51c3d2b0">date_time
</a> ()
</td></tr>
87 <tr class=
"separator:ae7a3b74e7512ddc4d618eb1f51c3d2b0"><td class=
"memSeparator" colspan=
"2"> </td></tr>
88 <tr class=
"memitem:a7d98e552f2ff8a421a5c226102ba0138"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a7d98e552f2ff8a421a5c226102ba0138">date_time
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other)
</td></tr>
89 <tr class=
"separator:a7d98e552f2ff8a421a5c226102ba0138"><td class=
"memSeparator" colspan=
"2"> </td></tr>
90 <tr class=
"memitem:a45008e76b980e7487e3d61b8372d67ae"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a45008e76b980e7487e3d61b8372d67ae">date_time
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other,
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set
</a>)
</td></tr>
91 <tr class=
"separator:a45008e76b980e7487e3d61b8372d67ae"><td class=
"memSeparator" colspan=
"2"> </td></tr>
92 <tr class=
"memitem:abe5d459e7552ca13b127c682e0d9caab"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#abe5d459e7552ca13b127c682e0d9caab">operator=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other)
</td></tr>
93 <tr class=
"separator:abe5d459e7552ca13b127c682e0d9caab"><td class=
"memSeparator" colspan=
"2"> </td></tr>
94 <tr class=
"memitem:addfee06ea6efa5fdca252191176b5756"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#addfee06ea6efa5fdca252191176b5756">date_time
</a> (double
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a17aa2b54462ebcf1860f8e4db9f7868e">time
</a>)
</td></tr>
95 <tr class=
"separator:addfee06ea6efa5fdca252191176b5756"><td class=
"memSeparator" colspan=
"2"> </td></tr>
96 <tr class=
"memitem:ab806af3aee6d70057d1f8e6fbfd09216"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ab806af3aee6d70057d1f8e6fbfd09216">date_time
</a> (double
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a17aa2b54462ebcf1860f8e4db9f7868e">time
</a>,
<a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
&cal)
</td></tr>
97 <tr class=
"separator:ab806af3aee6d70057d1f8e6fbfd09216"><td class=
"memSeparator" colspan=
"2"> </td></tr>
98 <tr class=
"memitem:ada52e84093a2775db6e0b3c399b0b9cf"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ada52e84093a2775db6e0b3c399b0b9cf">date_time
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
&cal)
</td></tr>
99 <tr class=
"separator:ada52e84093a2775db6e0b3c399b0b9cf"><td class=
"memSeparator" colspan=
"2"> </td></tr>
100 <tr class=
"memitem:abfa9db762ab227427778d8fc3c2bf73d"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#abfa9db762ab227427778d8fc3c2bf73d">date_time
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set
</a>)
</td></tr>
101 <tr class=
"separator:abfa9db762ab227427778d8fc3c2bf73d"><td class=
"memSeparator" colspan=
"2"> </td></tr>
102 <tr class=
"memitem:a871745debde77a28f5fbc6e2b2a5f869"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a871745debde77a28f5fbc6e2b2a5f869">date_time
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set
</a>,
<a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
&cal)
</td></tr>
103 <tr class=
"separator:a871745debde77a28f5fbc6e2b2a5f869"><td class=
"memSeparator" colspan=
"2"> </td></tr>
104 <tr class=
"memitem:a2f7ccfb9e28fa3bb172be9f0446caafd"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a2f7ccfb9e28fa3bb172be9f0446caafd">operator=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&f)
</td></tr>
105 <tr class=
"separator:a2f7ccfb9e28fa3bb172be9f0446caafd"><td class=
"memSeparator" colspan=
"2"> </td></tr>
106 <tr class=
"memitem:a4c0ed3be4d5d3bb44014a2ea12927ff8"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f, int v)
</td></tr>
107 <tr class=
"separator:a4c0ed3be4d5d3bb44014a2ea12927ff8"><td class=
"memSeparator" colspan=
"2"> </td></tr>
108 <tr class=
"memitem:af6436a546d3b944238f9fa952e5e18bd"><td class=
"memItemLeft" align=
"right" valign=
"top">int
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#af6436a546d3b944238f9fa952e5e18bd">get
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
109 <tr class=
"separator:af6436a546d3b944238f9fa952e5e18bd"><td class=
"memSeparator" colspan=
"2"> </td></tr>
110 <tr class=
"memitem:ac2a3a8f6fdba552b19e478bb6757523e"><td class=
"memItemLeft" align=
"right" valign=
"top">int
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ac2a3a8f6fdba552b19e478bb6757523e">operator/
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
111 <tr class=
"separator:ac2a3a8f6fdba552b19e478bb6757523e"><td class=
"memSeparator" colspan=
"2"> </td></tr>
112 <tr class=
"memitem:a0df3596add1804b1f64d363fea181fe2"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a0df3596add1804b1f64d363fea181fe2">operator+
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
113 <tr class=
"separator:a0df3596add1804b1f64d363fea181fe2"><td class=
"memSeparator" colspan=
"2"> </td></tr>
114 <tr class=
"memitem:ac870c0fcba5814cd91bb9c63823e280a"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ac870c0fcba5814cd91bb9c63823e280a">operator-
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
115 <tr class=
"separator:ac870c0fcba5814cd91bb9c63823e280a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
116 <tr class=
"memitem:ab3117067df65d1c33e89ab375f03d27c"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ab3117067df65d1c33e89ab375f03d27c">operator+=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f)
</td></tr>
117 <tr class=
"separator:ab3117067df65d1c33e89ab375f03d27c"><td class=
"memSeparator" colspan=
"2"> </td></tr>
118 <tr class=
"memitem:a38468aff1a820dc1c41a2a8280120848"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a38468aff1a820dc1c41a2a8280120848">operator-=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f)
</td></tr>
119 <tr class=
"separator:a38468aff1a820dc1c41a2a8280120848"><td class=
"memSeparator" colspan=
"2"> </td></tr>
120 <tr class=
"memitem:a22d2b503e2d58c7e2983b89c69ed13bd"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a22d2b503e2d58c7e2983b89c69ed13bd">operator
<<</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
121 <tr class=
"separator:a22d2b503e2d58c7e2983b89c69ed13bd"><td class=
"memSeparator" colspan=
"2"> </td></tr>
122 <tr class=
"memitem:a3a53ba943cb5140bafbfbda3d44b4083"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a3a53ba943cb5140bafbfbda3d44b4083">operator
>></a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
123 <tr class=
"separator:a3a53ba943cb5140bafbfbda3d44b4083"><td class=
"memSeparator" colspan=
"2"> </td></tr>
124 <tr class=
"memitem:ae71279d6e8dcc984fe3703b61d545416"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ae71279d6e8dcc984fe3703b61d545416">operator
<<=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f)
</td></tr>
125 <tr class=
"separator:ae71279d6e8dcc984fe3703b61d545416"><td class=
"memSeparator" colspan=
"2"> </td></tr>
126 <tr class=
"memitem:a178faa979338310b9a92370a3618fa0e"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a178faa979338310b9a92370a3618fa0e">operator
>>=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f)
</td></tr>
127 <tr class=
"separator:a178faa979338310b9a92370a3618fa0e"><td class=
"memSeparator" colspan=
"2"> </td></tr>
128 <tr class=
"memitem:a4e23796608a8ef0cbd5338f21d220a73"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4e23796608a8ef0cbd5338f21d220a73">operator+
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v) const
</td></tr>
129 <tr class=
"separator:a4e23796608a8ef0cbd5338f21d220a73"><td class=
"memSeparator" colspan=
"2"> </td></tr>
130 <tr class=
"memitem:af83662eb6a5d2298cda9159f5277a563"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#af83662eb6a5d2298cda9159f5277a563">operator-
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v) const
</td></tr>
131 <tr class=
"separator:af83662eb6a5d2298cda9159f5277a563"><td class=
"memSeparator" colspan=
"2"> </td></tr>
132 <tr class=
"memitem:a7116785ff9f8b5f403e10a24b9b4477d"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a7116785ff9f8b5f403e10a24b9b4477d">operator+=
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v)
</td></tr>
133 <tr class=
"separator:a7116785ff9f8b5f403e10a24b9b4477d"><td class=
"memSeparator" colspan=
"2"> </td></tr>
134 <tr class=
"memitem:a6780aae474f33f0a64e7b457789d7524"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a6780aae474f33f0a64e7b457789d7524">operator-=
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v)
</td></tr>
135 <tr class=
"separator:a6780aae474f33f0a64e7b457789d7524"><td class=
"memSeparator" colspan=
"2"> </td></tr>
136 <tr class=
"memitem:afc9286cc1d2ad907200a3d9ba5d91c00"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#afc9286cc1d2ad907200a3d9ba5d91c00">operator
<<</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v) const
</td></tr>
137 <tr class=
"separator:afc9286cc1d2ad907200a3d9ba5d91c00"><td class=
"memSeparator" colspan=
"2"> </td></tr>
138 <tr class=
"memitem:a50f73791a4a5b4b4a32483030d20e324"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a50f73791a4a5b4b4a32483030d20e324">operator
>></a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v) const
</td></tr>
139 <tr class=
"separator:a50f73791a4a5b4b4a32483030d20e324"><td class=
"memSeparator" colspan=
"2"> </td></tr>
140 <tr class=
"memitem:aa95d61963c07fb1e39d01d099a4c281a"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#aa95d61963c07fb1e39d01d099a4c281a">operator
<<=
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v)
</td></tr>
141 <tr class=
"separator:aa95d61963c07fb1e39d01d099a4c281a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
142 <tr class=
"memitem:a4605cf04447095908cba7a1cba700b9e"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4605cf04447095908cba7a1cba700b9e">operator
>>=
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&v)
</td></tr>
143 <tr class=
"separator:a4605cf04447095908cba7a1cba700b9e"><td class=
"memSeparator" colspan=
"2"> </td></tr>
144 <tr class=
"memitem:aa362fdfe044d1c56c4fe939bd3d406bc"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#aa362fdfe044d1c56c4fe939bd3d406bc">operator+
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v) const
</td></tr>
145 <tr class=
"separator:aa362fdfe044d1c56c4fe939bd3d406bc"><td class=
"memSeparator" colspan=
"2"> </td></tr>
146 <tr class=
"memitem:a464e16b35656568b21f34cb8b3e2c81a"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a464e16b35656568b21f34cb8b3e2c81a">operator-
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v) const
</td></tr>
147 <tr class=
"separator:a464e16b35656568b21f34cb8b3e2c81a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
148 <tr class=
"memitem:a1e5c7d2a8fed92d1e71f3dda2548b637"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a1e5c7d2a8fed92d1e71f3dda2548b637">operator+=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v)
</td></tr>
149 <tr class=
"separator:a1e5c7d2a8fed92d1e71f3dda2548b637"><td class=
"memSeparator" colspan=
"2"> </td></tr>
150 <tr class=
"memitem:ae03dfadaf23e2ff93ae3d456dd3eb05f"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ae03dfadaf23e2ff93ae3d456dd3eb05f">operator-=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v)
</td></tr>
151 <tr class=
"separator:ae03dfadaf23e2ff93ae3d456dd3eb05f"><td class=
"memSeparator" colspan=
"2"> </td></tr>
152 <tr class=
"memitem:a2fb78903ee3c27d320798a72bb29a0b0"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a2fb78903ee3c27d320798a72bb29a0b0">operator
<<</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v) const
</td></tr>
153 <tr class=
"separator:a2fb78903ee3c27d320798a72bb29a0b0"><td class=
"memSeparator" colspan=
"2"> </td></tr>
154 <tr class=
"memitem:ad7132f1fb92d1703925b4d3d054c0c19"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#ad7132f1fb92d1703925b4d3d054c0c19">operator
>></a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v) const
</td></tr>
155 <tr class=
"separator:ad7132f1fb92d1703925b4d3d054c0c19"><td class=
"memSeparator" colspan=
"2"> </td></tr>
156 <tr class=
"memitem:a048c4e2a1967351e84006177c14ef5e2"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a048c4e2a1967351e84006177c14ef5e2">operator
<<=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v)
</td></tr>
157 <tr class=
"separator:a048c4e2a1967351e84006177c14ef5e2"><td class=
"memSeparator" colspan=
"2"> </td></tr>
158 <tr class=
"memitem:a797242365127dae7142f0a950c4e4e78"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a797242365127dae7142f0a950c4e4e78">operator
>>=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
&v)
</td></tr>
159 <tr class=
"separator:a797242365127dae7142f0a950c4e4e78"><td class=
"memSeparator" colspan=
"2"> </td></tr>
160 <tr class=
"memitem:a17aa2b54462ebcf1860f8e4db9f7868e"><td class=
"memItemLeft" align=
"right" valign=
"top">double
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a17aa2b54462ebcf1860f8e4db9f7868e">time
</a> () const
</td></tr>
161 <tr class=
"separator:a17aa2b54462ebcf1860f8e4db9f7868e"><td class=
"memSeparator" colspan=
"2"> </td></tr>
162 <tr class=
"memitem:a71bc51cd2ef635dfb0da6c0b740dcb5f"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a71bc51cd2ef635dfb0da6c0b740dcb5f">time
</a> (double v)
</td></tr>
163 <tr class=
"separator:a71bc51cd2ef635dfb0da6c0b740dcb5f"><td class=
"memSeparator" colspan=
"2"> </td></tr>
164 <tr class=
"memitem:a4f11ded4c5383cc3fcd3684d0aa43892"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4f11ded4c5383cc3fcd3684d0aa43892">operator==
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
165 <tr class=
"separator:a4f11ded4c5383cc3fcd3684d0aa43892"><td class=
"memSeparator" colspan=
"2"> </td></tr>
166 <tr class=
"memitem:a289953d80af568f86ddf533c0b161663"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a289953d80af568f86ddf533c0b161663">operator!=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
167 <tr class=
"separator:a289953d80af568f86ddf533c0b161663"><td class=
"memSeparator" colspan=
"2"> </td></tr>
168 <tr class=
"memitem:a7b27ad955eade1013a43336e2a17adec"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a7b27ad955eade1013a43336e2a17adec">operator
<</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
169 <tr class=
"separator:a7b27ad955eade1013a43336e2a17adec"><td class=
"memSeparator" colspan=
"2"> </td></tr>
170 <tr class=
"memitem:a1907c677ae9b7d0736705df8ad58b3aa"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a1907c677ae9b7d0736705df8ad58b3aa">operator
></a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
171 <tr class=
"separator:a1907c677ae9b7d0736705df8ad58b3aa"><td class=
"memSeparator" colspan=
"2"> </td></tr>
172 <tr class=
"memitem:a76c5b0bbc01bd561c25cb83f26e5f535"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a76c5b0bbc01bd561c25cb83f26e5f535">operator
<=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
173 <tr class=
"separator:a76c5b0bbc01bd561c25cb83f26e5f535"><td class=
"memSeparator" colspan=
"2"> </td></tr>
174 <tr class=
"memitem:a4d807fa280bbe8d88efbc9a05f4a2d7c"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a4d807fa280bbe8d88efbc9a05f4a2d7c">operator
>=
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other) const
</td></tr>
175 <tr class=
"separator:a4d807fa280bbe8d88efbc9a05f4a2d7c"><td class=
"memSeparator" colspan=
"2"> </td></tr>
176 <tr class=
"memitem:a704626c84b012080f5e0b73db3d080fb"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a704626c84b012080f5e0b73db3d080fb">swap
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> &other)
</td></tr>
177 <tr class=
"separator:a704626c84b012080f5e0b73db3d080fb"><td class=
"memSeparator" colspan=
"2"> </td></tr>
178 <tr class=
"memitem:a36df44f891d2a39ca16f57e568b67a3d"><td class=
"memItemLeft" align=
"right" valign=
"top">int
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a36df44f891d2a39ca16f57e568b67a3d">difference
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
&other,
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
179 <tr class=
"separator:a36df44f891d2a39ca16f57e568b67a3d"><td class=
"memSeparator" colspan=
"2"> </td></tr>
180 <tr class=
"memitem:a3363a0c562300095432a17e472d2e52d"><td class=
"memItemLeft" align=
"right" valign=
"top">int
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a3363a0c562300095432a17e472d2e52d">minimum
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
181 <tr class=
"separator:a3363a0c562300095432a17e472d2e52d"><td class=
"memSeparator" colspan=
"2"> </td></tr>
182 <tr class=
"memitem:adb258ce11408b62bc0f14a60a05f0752"><td class=
"memItemLeft" align=
"right" valign=
"top">int
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#adb258ce11408b62bc0f14a60a05f0752">maximum
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f) const
</td></tr>
183 <tr class=
"separator:adb258ce11408b62bc0f14a60a05f0752"><td class=
"memSeparator" colspan=
"2"> </td></tr>
184 <tr class=
"memitem:a047e6e010df55fee166dcb3c9e7d3b95"><td class=
"memItemLeft" align=
"right" valign=
"top">bool
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html#a047e6e010df55fee166dcb3c9e7d3b95">is_in_daylight_saving_time
</a> () const
</td></tr>
185 <tr class=
"separator:a047e6e010df55fee166dcb3c9e7d3b95"><td class=
"memSeparator" colspan=
"2"> </td></tr>
187 <a name=
"details" id=
"details"></a><h2 class=
"groupheader">Detailed Description
</h2>
188 <div class=
"textblock"><p>this class represents a date time and allows to perform various operation according to the locale settings.
</p>
189 <p>This class allows to manipulate various aspects of dates and times easily using arithmetic operations with periods.
</p>
190 <p>General arithmetic functions:
</p>
192 <li><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> +
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> =
<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>: move time point forward by specific periods like
<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> + month;
</li>
193 <li><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> -
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> =
<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>: move time point backward by specific periods like
<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> - month;
</li>
194 <li><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> << <a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> =
<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>: roll time point forward by specific periods with rolling to begin if overflows: like
"2010-01-31" << 2* day ==
"2010-01-02" instead of
"2010-02-02"</li>
195 <li><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> >> <a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> =
<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>: roll time point backward by specific periods with rolling to end if overflows: like
"2010-01-02" >> 2* day ==
"2010-01-31" instead of
"2009-12-30"</li>
196 <li><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> / period_type = int - current period value: like
"2010-12-21" / month ==
12.
"2010-12-21" / year =
2010</li>
197 <li>(
<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> -
<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>) / period_type = int: distance between dates in period_type. Like (
"2010-12-01" -
"2008-12-01") / month =
24.
</li>
199 <p>You can also assign specific periods using assignment operator like: some_time = year *
1995 that sets the year to
1995.
</p>
200 <dl><dt><b>Examples:
</b></dt><dd><a class=
"el" href=
"calendar_8cpp-example.html#_a1">calendar.cpp
</a>.
</dd>
201 </dl></div><h2 class=
"groupheader">Constructor
& Destructor Documentation
</h2>
202 <a class=
"anchor" id=
"ae7a3b74e7512ddc4d618eb1f51c3d2b0"></a>
203 <div class=
"memitem">
204 <div class=
"memproto">
205 <table class=
"memname">
207 <td class=
"memname">boost::locale::date_time::date_time
</td>
209 <td class=
"paramname"></td><td>)
</td>
213 </div><div class=
"memdoc">
214 <p>Dafault constructor, uses default calendar initialized
<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> object to current time.
</p>
215 <dl class=
"section note"><dt>Note
</dt><dd>throws std::bad_cast if the global locale does not have
<a class=
"el" href=
"classboost_1_1locale_1_1calendar__facet.html">calendar_facet
</a> facet installed
</dd></dl>
219 <a class=
"anchor" id=
"a7d98e552f2ff8a421a5c226102ba0138"></a>
220 <div class=
"memitem">
221 <div class=
"memproto">
222 <table class=
"memname">
224 <td class=
"memname">boost::locale::date_time::date_time
</td>
226 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
227 <td class=
"paramname"><em>other
</em></td><td>)
</td>
231 </div><div class=
"memdoc">
232 <p>copy
<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> </p>
236 <a class=
"anchor" id=
"a45008e76b980e7487e3d61b8372d67ae"></a>
237 <div class=
"memitem">
238 <div class=
"memproto">
239 <table class=
"memname">
241 <td class=
"memname">boost::locale::date_time::date_time
</td>
243 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
244 <td class=
"paramname"><em>other
</em>,
</td>
247 <td class=
"paramkey"></td>
249 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
250 <td class=
"paramname"><em>set
</em> </td>
258 </div><div class=
"memdoc">
259 <p>copy
<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> and change some fields according to the
<em>set
</em> </p>
263 <a class=
"anchor" id=
"addfee06ea6efa5fdca252191176b5756"></a>
264 <div class=
"memitem">
265 <div class=
"memproto">
266 <table class=
"memname">
268 <td class=
"memname">boost::locale::date_time::date_time
</td>
270 <td class=
"paramtype">double
 </td>
271 <td class=
"paramname"><em>time
</em></td><td>)
</td>
275 </div><div class=
"memdoc">
276 <p>Create a
<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> object using POSIX time
<em>time
</em> and default calendar
</p>
277 <dl class=
"section note"><dt>Note
</dt><dd>throws std::bad_cast if the global locale does not have
<a class=
"el" href=
"classboost_1_1locale_1_1calendar__facet.html">calendar_facet
</a> facet installed
</dd></dl>
281 <a class=
"anchor" id=
"ab806af3aee6d70057d1f8e6fbfd09216"></a>
282 <div class=
"memitem">
283 <div class=
"memproto">
284 <table class=
"memname">
286 <td class=
"memname">boost::locale::date_time::date_time
</td>
288 <td class=
"paramtype">double
 </td>
289 <td class=
"paramname"><em>time
</em>,
</td>
292 <td class=
"paramkey"></td>
294 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
& </td>
295 <td class=
"paramname"><em>cal
</em> </td>
303 </div><div class=
"memdoc">
304 <p>Create a
<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> object using POSIX time
<em>time
</em> and calendar
<em>cal
</em> </p>
308 <a class=
"anchor" id=
"ada52e84093a2775db6e0b3c399b0b9cf"></a>
309 <div class=
"memitem">
310 <div class=
"memproto">
311 <table class=
"memname">
313 <td class=
"memname">boost::locale::date_time::date_time
</td>
315 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
& </td>
316 <td class=
"paramname"><em>cal
</em></td><td>)
</td>
320 </div><div class=
"memdoc">
321 <p>Create a
<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> object using calendar
<em>cal
</em> and initializes it to current time.
</p>
325 <a class=
"anchor" id=
"abfa9db762ab227427778d8fc3c2bf73d"></a>
326 <div class=
"memitem">
327 <div class=
"memproto">
328 <table class=
"memname">
330 <td class=
"memname">boost::locale::date_time::date_time
</td>
332 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
333 <td class=
"paramname"><em>set
</em></td><td>)
</td>
337 </div><div class=
"memdoc">
338 <p>Create a
<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> object using default calendar and define values given in
<em>set
</em> </p>
339 <dl class=
"section note"><dt>Note
</dt><dd>throws std::bad_cast if the global locale does not have
<a class=
"el" href=
"classboost_1_1locale_1_1calendar__facet.html">calendar_facet
</a> facet installed
</dd></dl>
343 <a class=
"anchor" id=
"a871745debde77a28f5fbc6e2b2a5f869"></a>
344 <div class=
"memitem">
345 <div class=
"memproto">
346 <table class=
"memname">
348 <td class=
"memname">boost::locale::date_time::date_time
</td>
350 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
351 <td class=
"paramname"><em>set
</em>,
</td>
354 <td class=
"paramkey"></td>
356 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1calendar.html">calendar
</a> const
& </td>
357 <td class=
"paramname"><em>cal
</em> </td>
365 </div><div class=
"memdoc">
366 <p>Create a
<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> object using calendar
<em>cal
</em> and define values given in
<em>set
</em> </p>
370 <h2 class=
"groupheader">Member Function Documentation
</h2>
371 <a class=
"anchor" id=
"a36df44f891d2a39ca16f57e568b67a3d"></a>
372 <div class=
"memitem">
373 <div class=
"memproto">
374 <table class=
"memname">
376 <td class=
"memname">int boost::locale::date_time::difference
</td>
378 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
379 <td class=
"paramname"><em>other
</em>,
</td>
382 <td class=
"paramkey"></td>
384 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
385 <td class=
"paramname"><em>f
</em> </td>
390 <td></td><td> const
</td>
393 </div><div class=
"memdoc">
394 <p>calculate the distance from this
<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> to
<em>other
</em> in terms of perios
<em>f
</em> </p>
398 <a class=
"anchor" id=
"af6436a546d3b944238f9fa952e5e18bd"></a>
399 <div class=
"memitem">
400 <div class=
"memproto">
401 <table class=
"memname">
403 <td class=
"memname">int boost::locale::date_time::get
</td>
405 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
406 <td class=
"paramname"><em>f
</em></td><td>)
</td>
410 </div><div class=
"memdoc">
411 <p>get specific period
<em>f
</em> value
</p>
415 <a class=
"anchor" id=
"a047e6e010df55fee166dcb3c9e7d3b95"></a>
416 <div class=
"memitem">
417 <div class=
"memproto">
418 <table class=
"memname">
420 <td class=
"memname">bool boost::locale::date_time::is_in_daylight_saving_time
</td>
422 <td class=
"paramname"></td><td>)
</td>
426 </div><div class=
"memdoc">
427 <p>Check if *this time point is in daylight saving time
</p>
431 <a class=
"anchor" id=
"adb258ce11408b62bc0f14a60a05f0752"></a>
432 <div class=
"memitem">
433 <div class=
"memproto">
434 <table class=
"memname">
436 <td class=
"memname">int boost::locale::date_time::maximum
</td>
438 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
439 <td class=
"paramname"><em>f
</em></td><td>)
</td>
443 </div><div class=
"memdoc">
444 <p>Get minimal possible value for *this time point for a period
<em>f
</em>. For example in February maximum(day) may be
28 or
29, in January maximum(day)==
31 </p>
448 <a class=
"anchor" id=
"a3363a0c562300095432a17e472d2e52d"></a>
449 <div class=
"memitem">
450 <div class=
"memproto">
451 <table class=
"memname">
453 <td class=
"memname">int boost::locale::date_time::minimum
</td>
455 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
456 <td class=
"paramname"><em>f
</em></td><td>)
</td>
460 </div><div class=
"memdoc">
461 <p>Get minimal possible value for *this time point for a period
<em>f
</em>.
</p>
465 <a class=
"anchor" id=
"a289953d80af568f86ddf533c0b161663"></a>
466 <div class=
"memitem">
467 <div class=
"memproto">
468 <table class=
"memname">
470 <td class=
"memname">bool boost::locale::date_time::operator!=
</td>
472 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
473 <td class=
"paramname"><em>other
</em></td><td>)
</td>
477 </div><div class=
"memdoc">
478 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
482 <a class=
"anchor" id=
"a0df3596add1804b1f64d363fea181fe2"></a>
483 <div class=
"memitem">
484 <div class=
"memproto">
485 <table class=
"mlabels">
487 <td class=
"mlabels-left">
488 <table class=
"memname">
490 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator+
</td>
492 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
493 <td class=
"paramname"><em>f
</em></td><td>)
</td>
498 <td class=
"mlabels-right">
499 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
502 </div><div class=
"memdoc">
503 <p>add single period f to the current
<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> </p>
507 <a class=
"anchor" id=
"a4e23796608a8ef0cbd5338f21d220a73"></a>
508 <div class=
"memitem">
509 <div class=
"memproto">
510 <table class=
"memname">
512 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator+
</td>
514 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
515 <td class=
"paramname"><em>v
</em></td><td>)
</td>
519 </div><div class=
"memdoc">
520 <p>add
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> to the current
<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> </p>
524 <a class=
"anchor" id=
"aa362fdfe044d1c56c4fe939bd3d406bc"></a>
525 <div class=
"memitem">
526 <div class=
"memproto">
527 <table class=
"memname">
529 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator+
</td>
531 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
532 <td class=
"paramname"><em>v
</em></td><td>)
</td>
536 </div><div class=
"memdoc">
537 <p>add
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v to the current
<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> </p>
541 <a class=
"anchor" id=
"ab3117067df65d1c33e89ab375f03d27c"></a>
542 <div class=
"memitem">
543 <div class=
"memproto">
544 <table class=
"mlabels">
546 <td class=
"mlabels-left">
547 <table class=
"memname">
549 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator+=
</td>
551 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
552 <td class=
"paramname"><em>f
</em></td><td>)
</td>
557 <td class=
"mlabels-right">
558 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
561 </div><div class=
"memdoc">
562 <p>add single period f to the current
<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> </p>
566 <a class=
"anchor" id=
"a7116785ff9f8b5f403e10a24b9b4477d"></a>
567 <div class=
"memitem">
568 <div class=
"memproto">
569 <table class=
"memname">
571 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator+=
</td>
573 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
574 <td class=
"paramname"><em>v
</em></td><td>)
</td>
578 </div><div class=
"memdoc">
579 <p>add
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> to the current
<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> </p>
583 <a class=
"anchor" id=
"a1e5c7d2a8fed92d1e71f3dda2548b637"></a>
584 <div class=
"memitem">
585 <div class=
"memproto">
586 <table class=
"memname">
588 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator+=
</td>
590 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
591 <td class=
"paramname"><em>v
</em></td><td>)
</td>
595 </div><div class=
"memdoc">
596 <p>add
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v to the current
<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> </p>
600 <a class=
"anchor" id=
"ac870c0fcba5814cd91bb9c63823e280a"></a>
601 <div class=
"memitem">
602 <div class=
"memproto">
603 <table class=
"mlabels">
605 <td class=
"mlabels-left">
606 <table class=
"memname">
608 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator-
</td>
610 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
611 <td class=
"paramname"><em>f
</em></td><td>)
</td>
616 <td class=
"mlabels-right">
617 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
620 </div><div class=
"memdoc">
621 <p>subtract single period f from the current
<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> </p>
625 <a class=
"anchor" id=
"af83662eb6a5d2298cda9159f5277a563"></a>
626 <div class=
"memitem">
627 <div class=
"memproto">
628 <table class=
"memname">
630 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator-
</td>
632 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
633 <td class=
"paramname"><em>v
</em></td><td>)
</td>
637 </div><div class=
"memdoc">
638 <p>subtract
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> from the current
<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> </p>
642 <a class=
"anchor" id=
"a464e16b35656568b21f34cb8b3e2c81a"></a>
643 <div class=
"memitem">
644 <div class=
"memproto">
645 <table class=
"memname">
647 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator-
</td>
649 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
650 <td class=
"paramname"><em>v
</em></td><td>)
</td>
654 </div><div class=
"memdoc">
655 <p>subtract
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v from the current
<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> </p>
659 <a class=
"anchor" id=
"a38468aff1a820dc1c41a2a8280120848"></a>
660 <div class=
"memitem">
661 <div class=
"memproto">
662 <table class=
"mlabels">
664 <td class=
"mlabels-left">
665 <table class=
"memname">
667 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator-=
</td>
669 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
670 <td class=
"paramname"><em>f
</em></td><td>)
</td>
675 <td class=
"mlabels-right">
676 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
679 </div><div class=
"memdoc">
680 <p>subtract single period f from the current
<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> </p>
684 <a class=
"anchor" id=
"a6780aae474f33f0a64e7b457789d7524"></a>
685 <div class=
"memitem">
686 <div class=
"memproto">
687 <table class=
"memname">
689 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator-=
</td>
691 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
692 <td class=
"paramname"><em>v
</em></td><td>)
</td>
696 </div><div class=
"memdoc">
697 <p>subtract
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> from the current
<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> </p>
701 <a class=
"anchor" id=
"ae03dfadaf23e2ff93ae3d456dd3eb05f"></a>
702 <div class=
"memitem">
703 <div class=
"memproto">
704 <table class=
"memname">
706 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator-=
</td>
708 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
709 <td class=
"paramname"><em>v
</em></td><td>)
</td>
713 </div><div class=
"memdoc">
714 <p>subtract
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v from the current
<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> </p>
718 <a class=
"anchor" id=
"ac2a3a8f6fdba552b19e478bb6757523e"></a>
719 <div class=
"memitem">
720 <div class=
"memproto">
721 <table class=
"mlabels">
723 <td class=
"mlabels-left">
724 <table class=
"memname">
726 <td class=
"memname">int boost::locale::date_time::operator/
</td>
728 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
729 <td class=
"paramname"><em>f
</em></td><td>)
</td>
734 <td class=
"mlabels-right">
735 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
738 </div><div class=
"memdoc">
739 <p>syntactic sugar for get(f)
</p>
743 <a class=
"anchor" id=
"a7b27ad955eade1013a43336e2a17adec"></a>
744 <div class=
"memitem">
745 <div class=
"memproto">
746 <table class=
"memname">
748 <td class=
"memname">bool boost::locale::date_time::operator
< </td>
750 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
751 <td class=
"paramname"><em>other
</em></td><td>)
</td>
755 </div><div class=
"memdoc">
756 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
760 <a class=
"anchor" id=
"a22d2b503e2d58c7e2983b89c69ed13bd"></a>
761 <div class=
"memitem">
762 <div class=
"memproto">
763 <table class=
"mlabels">
765 <td class=
"mlabels-left">
766 <table class=
"memname">
768 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
<< </td>
770 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
771 <td class=
"paramname"><em>f
</em></td><td>)
</td>
776 <td class=
"mlabels-right">
777 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
780 </div><div class=
"memdoc">
781 <p>roll forward a date by single period f.
</p>
785 <a class=
"anchor" id=
"afc9286cc1d2ad907200a3d9ba5d91c00"></a>
786 <div class=
"memitem">
787 <div class=
"memproto">
788 <table class=
"memname">
790 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
<< </td>
792 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
793 <td class=
"paramname"><em>v
</em></td><td>)
</td>
797 </div><div class=
"memdoc">
798 <p>roll current
<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> forward by
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> v
</p>
802 <a class=
"anchor" id=
"a2fb78903ee3c27d320798a72bb29a0b0"></a>
803 <div class=
"memitem">
804 <div class=
"memproto">
805 <table class=
"memname">
807 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
<< </td>
809 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
810 <td class=
"paramname"><em>v
</em></td><td>)
</td>
814 </div><div class=
"memdoc">
815 <p>roll current
<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> forward by
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v
</p>
819 <a class=
"anchor" id=
"ae71279d6e8dcc984fe3703b61d545416"></a>
820 <div class=
"memitem">
821 <div class=
"memproto">
822 <table class=
"mlabels">
824 <td class=
"mlabels-left">
825 <table class=
"memname">
827 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
<<=
</td>
829 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
830 <td class=
"paramname"><em>f
</em></td><td>)
</td>
835 <td class=
"mlabels-right">
836 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
839 </div><div class=
"memdoc">
840 <p>roll forward a date by single period f.
</p>
844 <a class=
"anchor" id=
"aa95d61963c07fb1e39d01d099a4c281a"></a>
845 <div class=
"memitem">
846 <div class=
"memproto">
847 <table class=
"memname">
849 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
<<=
</td>
851 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
852 <td class=
"paramname"><em>v
</em></td><td>)
</td>
856 </div><div class=
"memdoc">
857 <p>roll current
<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> forward by
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> v
</p>
861 <a class=
"anchor" id=
"a048c4e2a1967351e84006177c14ef5e2"></a>
862 <div class=
"memitem">
863 <div class=
"memproto">
864 <table class=
"memname">
866 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
<<=
</td>
868 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
869 <td class=
"paramname"><em>v
</em></td><td>)
</td>
873 </div><div class=
"memdoc">
874 <p>roll current
<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> forward by
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v
</p>
878 <a class=
"anchor" id=
"a76c5b0bbc01bd561c25cb83f26e5f535"></a>
879 <div class=
"memitem">
880 <div class=
"memproto">
881 <table class=
"memname">
883 <td class=
"memname">bool boost::locale::date_time::operator
<=
</td>
885 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
886 <td class=
"paramname"><em>other
</em></td><td>)
</td>
890 </div><div class=
"memdoc">
891 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
895 <a class=
"anchor" id=
"abe5d459e7552ca13b127c682e0d9caab"></a>
896 <div class=
"memitem">
897 <div class=
"memproto">
898 <table class=
"memname">
900 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator=
</td>
902 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
903 <td class=
"paramname"><em>other
</em></td><td>)
</td>
907 </div><div class=
"memdoc">
908 <p>assign the
<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> </p>
912 <a class=
"anchor" id=
"a2f7ccfb9e28fa3bb172be9f0446caafd"></a>
913 <div class=
"memitem">
914 <div class=
"memproto">
915 <table class=
"memname">
917 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator=
</td>
919 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
920 <td class=
"paramname"><em>f
</em></td><td>)
</td>
924 </div><div class=
"memdoc">
925 <p>assign values to various periods in set
<em>f
</em> </p>
929 <a class=
"anchor" id=
"a4f11ded4c5383cc3fcd3684d0aa43892"></a>
930 <div class=
"memitem">
931 <div class=
"memproto">
932 <table class=
"memname">
934 <td class=
"memname">bool boost::locale::date_time::operator==
</td>
936 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
937 <td class=
"paramname"><em>other
</em></td><td>)
</td>
941 </div><div class=
"memdoc">
942 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
946 <a class=
"anchor" id=
"a1907c677ae9b7d0736705df8ad58b3aa"></a>
947 <div class=
"memitem">
948 <div class=
"memproto">
949 <table class=
"memname">
951 <td class=
"memname">bool boost::locale::date_time::operator
> </td>
953 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
954 <td class=
"paramname"><em>other
</em></td><td>)
</td>
958 </div><div class=
"memdoc">
959 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
963 <a class=
"anchor" id=
"a4d807fa280bbe8d88efbc9a05f4a2d7c"></a>
964 <div class=
"memitem">
965 <div class=
"memproto">
966 <table class=
"memname">
968 <td class=
"memname">bool boost::locale::date_time::operator
>=
</td>
970 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& </td>
971 <td class=
"paramname"><em>other
</em></td><td>)
</td>
975 </div><div class=
"memdoc">
976 <p>compare
<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> in the timeline (ignores difference in calendar, timezone etc)
</p>
980 <a class=
"anchor" id=
"a3a53ba943cb5140bafbfbda3d44b4083"></a>
981 <div class=
"memitem">
982 <div class=
"memproto">
983 <table class=
"mlabels">
985 <td class=
"mlabels-left">
986 <table class=
"memname">
988 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
>> </td>
990 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
991 <td class=
"paramname"><em>f
</em></td><td>)
</td>
996 <td class=
"mlabels-right">
997 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
1000 </div><div class=
"memdoc">
1001 <p>roll backward a date by single period f.
</p>
1005 <a class=
"anchor" id=
"a50f73791a4a5b4b4a32483030d20e324"></a>
1006 <div class=
"memitem">
1007 <div class=
"memproto">
1008 <table class=
"memname">
1010 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
>> </td>
1012 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
1013 <td class=
"paramname"><em>v
</em></td><td>)
</td>
1017 </div><div class=
"memdoc">
1018 <p>roll current
<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> backward by
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> v
</p>
1022 <a class=
"anchor" id=
"ad7132f1fb92d1703925b4d3d054c0c19"></a>
1023 <div class=
"memitem">
1024 <div class=
"memproto">
1025 <table class=
"memname">
1027 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> boost::locale::date_time::operator
>> </td>
1029 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
1030 <td class=
"paramname"><em>v
</em></td><td>)
</td>
1034 </div><div class=
"memdoc">
1035 <p>roll current
<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> backward by
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v
</p>
1039 <a class=
"anchor" id=
"a178faa979338310b9a92370a3618fa0e"></a>
1040 <div class=
"memitem">
1041 <div class=
"memproto">
1042 <table class=
"mlabels">
1044 <td class=
"mlabels-left">
1045 <table class=
"memname">
1047 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
>>=
</td>
1049 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
1050 <td class=
"paramname"><em>f
</em></td><td>)
</td>
1055 <td class=
"mlabels-right">
1056 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
1059 </div><div class=
"memdoc">
1060 <p>roll backward a date by single period f.
</p>
1064 <a class=
"anchor" id=
"a4605cf04447095908cba7a1cba700b9e"></a>
1065 <div class=
"memitem">
1066 <div class=
"memproto">
1067 <table class=
"memname">
1069 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
>>=
</td>
1071 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
1072 <td class=
"paramname"><em>v
</em></td><td>)
</td>
1076 </div><div class=
"memdoc">
1077 <p>roll current
<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> backward by
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html" title=
"This class represents a pair of period_type and the integer values that describes its amount...">date_time_period
</a> v
</p>
1081 <a class=
"anchor" id=
"a797242365127dae7142f0a950c4e4e78"></a>
1082 <div class=
"memitem">
1083 <div class=
"memproto">
1084 <table class=
"memname">
1086 <td class=
"memname"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> const
& boost::locale::date_time::operator
>>=
</td>
1088 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set
</a> const
& </td>
1089 <td class=
"paramname"><em>v
</em></td><td>)
</td>
1093 </div><div class=
"memdoc">
1094 <p>roll current
<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> backward by
<a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html" title=
"this class that represents a set of periods, ">date_time_period_set
</a> v
</p>
1098 <a class=
"anchor" id=
"a4c0ed3be4d5d3bb44014a2ea12927ff8"></a>
1099 <div class=
"memitem">
1100 <div class=
"memproto">
1101 <table class=
"memname">
1103 <td class=
"memname">void boost::locale::date_time::set
</td>
1105 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
1106 <td class=
"paramname"><em>f
</em>,
</td>
1109 <td class=
"paramkey"></td>
1111 <td class=
"paramtype">int
 </td>
1112 <td class=
"paramname"><em>v
</em> </td>
1120 </div><div class=
"memdoc">
1121 <p>set specific period
<em>f
</em> value to
<em>v
</em> </p>
1122 <dl><dt><b>Examples:
</b></dt><dd><a class=
"el" href=
"calendar_8cpp-example.html#a2">calendar.cpp
</a>.
</dd>
1126 <a class=
"anchor" id=
"a704626c84b012080f5e0b73db3d080fb"></a>
1127 <div class=
"memitem">
1128 <div class=
"memproto">
1129 <table class=
"memname">
1131 <td class=
"memname">void boost::locale::date_time::swap
</td>
1133 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1date__time.html">date_time
</a> & </td>
1134 <td class=
"paramname"><em>other
</em></td><td>)
</td>
1138 </div><div class=
"memdoc">
1139 <p>swaps two dates - efficient, does not throw
</p>
1143 <a class=
"anchor" id=
"a17aa2b54462ebcf1860f8e4db9f7868e"></a>
1144 <div class=
"memitem">
1145 <div class=
"memproto">
1146 <table class=
"memname">
1148 <td class=
"memname">double boost::locale::date_time::time
</td>
1150 <td class=
"paramname"></td><td>)
</td>
1154 </div><div class=
"memdoc">
1155 <p>Get POSIX time
</p>
1156 <p>The POSIX time is number of seconds since January
1st,
1970 00:
00 UTC, ignoring leap seconds.
</p>
1160 <a class=
"anchor" id=
"a71bc51cd2ef635dfb0da6c0b740dcb5f"></a>
1161 <div class=
"memitem">
1162 <div class=
"memproto">
1163 <table class=
"memname">
1165 <td class=
"memname">void boost::locale::date_time::time
</td>
1167 <td class=
"paramtype">double
 </td>
1168 <td class=
"paramname"><em>v
</em></td><td>)
</td>
1172 </div><div class=
"memdoc">
1173 <p>set POSIX time
</p>
1174 <p>The POSIX time is number of seconds since January
1st,
1970 00:
00 UTC, ignoring leap seconds. This time can be fetched from Operating system clock using C function time, gettimeofday and others.
</p>
1178 <hr/>The documentation for this class was generated from the following file:
<ul>
1179 <li>boost/locale/
<a class=
"el" href=
"date__time_8hpp_source.html">date_time.hpp
</a></li>
1181 </div><!-- contents -->
1182 </div><!-- doc-content -->
1185 © 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.