]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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"> | |
3 | <head> | |
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); | |
17 | </script> | |
18 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
19 | </head> | |
20 | <body> | |
21 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
22 | <div id="titlearea"> | |
23 | <table cellspacing="0" cellpadding="0"> | |
24 | <tbody> | |
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 | |
29 | </div> | |
30 | </td> | |
31 | </tr> | |
32 | </tbody> | |
33 | </table> | |
34 | </div> | |
35 | <!-- end header part --> | |
36 | <!-- Generated by Doxygen 1.8.6 --> | |
37 | <div id="navrow1" class="tabs"> | |
38 | <ul class="tablist"> | |
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> | |
46 | </ul> | |
47 | </div> | |
48 | <div id="navrow2" class="tabs2"> | |
49 | <ul class="tablist"> | |
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> | |
53 | </ul> | |
54 | </div> | |
55 | </div><!-- top --> | |
56 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | |
57 | <div id="nav-tree"> | |
58 | <div id="nav-tree-contents"> | |
59 | <div id="nav-sync" class="sync"></div> | |
60 | </div> | |
61 | </div> | |
62 | <div id="splitbar" style="-moz-user-select:none;" | |
63 | class="ui-resizable-handle"> | |
64 | </div> | |
65 | </div> | |
66 | <script type="text/javascript"> | |
67 | $(document).ready(function(){initNavTree('classboost_1_1locale_1_1date__time.html','');}); | |
68 | </script> | |
69 | <div id="doc-content"> | |
70 | <div class="header"> | |
71 | <div class="summary"> | |
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> | |
76 | </div><!--header--> | |
77 | <div class="contents"> | |
78 | ||
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> | |
81 | ||
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> | |
186 | </table> | |
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> | |
191 | <ul> | |
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> | |
198 | </ul> | |
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"> | |
206 | <tr> | |
207 | <td class="memname">boost::locale::date_time::date_time </td> | |
208 | <td>(</td> | |
209 | <td class="paramname"></td><td>)</td> | |
210 | <td></td> | |
211 | </tr> | |
212 | </table> | |
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> | |
216 | ||
217 | </div> | |
218 | </div> | |
219 | <a class="anchor" id="a7d98e552f2ff8a421a5c226102ba0138"></a> | |
220 | <div class="memitem"> | |
221 | <div class="memproto"> | |
222 | <table class="memname"> | |
223 | <tr> | |
224 | <td class="memname">boost::locale::date_time::date_time </td> | |
225 | <td>(</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> | |
228 | <td></td> | |
229 | </tr> | |
230 | </table> | |
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> | |
233 | ||
234 | </div> | |
235 | </div> | |
236 | <a class="anchor" id="a45008e76b980e7487e3d61b8372d67ae"></a> | |
237 | <div class="memitem"> | |
238 | <div class="memproto"> | |
239 | <table class="memname"> | |
240 | <tr> | |
241 | <td class="memname">boost::locale::date_time::date_time </td> | |
242 | <td>(</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> | |
245 | </tr> | |
246 | <tr> | |
247 | <td class="paramkey"></td> | |
248 | <td></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> | |
251 | </tr> | |
252 | <tr> | |
253 | <td></td> | |
254 | <td>)</td> | |
255 | <td></td><td></td> | |
256 | </tr> | |
257 | </table> | |
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> | |
260 | ||
261 | </div> | |
262 | </div> | |
263 | <a class="anchor" id="addfee06ea6efa5fdca252191176b5756"></a> | |
264 | <div class="memitem"> | |
265 | <div class="memproto"> | |
266 | <table class="memname"> | |
267 | <tr> | |
268 | <td class="memname">boost::locale::date_time::date_time </td> | |
269 | <td>(</td> | |
270 | <td class="paramtype">double </td> | |
271 | <td class="paramname"><em>time</em></td><td>)</td> | |
272 | <td></td> | |
273 | </tr> | |
274 | </table> | |
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> | |
278 | ||
279 | </div> | |
280 | </div> | |
281 | <a class="anchor" id="ab806af3aee6d70057d1f8e6fbfd09216"></a> | |
282 | <div class="memitem"> | |
283 | <div class="memproto"> | |
284 | <table class="memname"> | |
285 | <tr> | |
286 | <td class="memname">boost::locale::date_time::date_time </td> | |
287 | <td>(</td> | |
288 | <td class="paramtype">double </td> | |
289 | <td class="paramname"><em>time</em>, </td> | |
290 | </tr> | |
291 | <tr> | |
292 | <td class="paramkey"></td> | |
293 | <td></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> | |
296 | </tr> | |
297 | <tr> | |
298 | <td></td> | |
299 | <td>)</td> | |
300 | <td></td><td></td> | |
301 | </tr> | |
302 | </table> | |
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> | |
305 | ||
306 | </div> | |
307 | </div> | |
308 | <a class="anchor" id="ada52e84093a2775db6e0b3c399b0b9cf"></a> | |
309 | <div class="memitem"> | |
310 | <div class="memproto"> | |
311 | <table class="memname"> | |
312 | <tr> | |
313 | <td class="memname">boost::locale::date_time::date_time </td> | |
314 | <td>(</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> | |
317 | <td></td> | |
318 | </tr> | |
319 | </table> | |
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> | |
322 | ||
323 | </div> | |
324 | </div> | |
325 | <a class="anchor" id="abfa9db762ab227427778d8fc3c2bf73d"></a> | |
326 | <div class="memitem"> | |
327 | <div class="memproto"> | |
328 | <table class="memname"> | |
329 | <tr> | |
330 | <td class="memname">boost::locale::date_time::date_time </td> | |
331 | <td>(</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> | |
334 | <td></td> | |
335 | </tr> | |
336 | </table> | |
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> | |
340 | ||
341 | </div> | |
342 | </div> | |
343 | <a class="anchor" id="a871745debde77a28f5fbc6e2b2a5f869"></a> | |
344 | <div class="memitem"> | |
345 | <div class="memproto"> | |
346 | <table class="memname"> | |
347 | <tr> | |
348 | <td class="memname">boost::locale::date_time::date_time </td> | |
349 | <td>(</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> | |
352 | </tr> | |
353 | <tr> | |
354 | <td class="paramkey"></td> | |
355 | <td></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> | |
358 | </tr> | |
359 | <tr> | |
360 | <td></td> | |
361 | <td>)</td> | |
362 | <td></td><td></td> | |
363 | </tr> | |
364 | </table> | |
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> | |
367 | ||
368 | </div> | |
369 | </div> | |
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"> | |
375 | <tr> | |
376 | <td class="memname">int boost::locale::date_time::difference </td> | |
377 | <td>(</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> | |
380 | </tr> | |
381 | <tr> | |
382 | <td class="paramkey"></td> | |
383 | <td></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> | |
386 | </tr> | |
387 | <tr> | |
388 | <td></td> | |
389 | <td>)</td> | |
390 | <td></td><td> const</td> | |
391 | </tr> | |
392 | </table> | |
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> | |
395 | ||
396 | </div> | |
397 | </div> | |
398 | <a class="anchor" id="af6436a546d3b944238f9fa952e5e18bd"></a> | |
399 | <div class="memitem"> | |
400 | <div class="memproto"> | |
401 | <table class="memname"> | |
402 | <tr> | |
403 | <td class="memname">int boost::locale::date_time::get </td> | |
404 | <td>(</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> | |
407 | <td> const</td> | |
408 | </tr> | |
409 | </table> | |
410 | </div><div class="memdoc"> | |
411 | <p>get specific period <em>f</em> value </p> | |
412 | ||
413 | </div> | |
414 | </div> | |
415 | <a class="anchor" id="a047e6e010df55fee166dcb3c9e7d3b95"></a> | |
416 | <div class="memitem"> | |
417 | <div class="memproto"> | |
418 | <table class="memname"> | |
419 | <tr> | |
420 | <td class="memname">bool boost::locale::date_time::is_in_daylight_saving_time </td> | |
421 | <td>(</td> | |
422 | <td class="paramname"></td><td>)</td> | |
423 | <td> const</td> | |
424 | </tr> | |
425 | </table> | |
426 | </div><div class="memdoc"> | |
427 | <p>Check if *this time point is in daylight saving time </p> | |
428 | ||
429 | </div> | |
430 | </div> | |
431 | <a class="anchor" id="adb258ce11408b62bc0f14a60a05f0752"></a> | |
432 | <div class="memitem"> | |
433 | <div class="memproto"> | |
434 | <table class="memname"> | |
435 | <tr> | |
436 | <td class="memname">int boost::locale::date_time::maximum </td> | |
437 | <td>(</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> | |
440 | <td> const</td> | |
441 | </tr> | |
442 | </table> | |
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> | |
445 | ||
446 | </div> | |
447 | </div> | |
448 | <a class="anchor" id="a3363a0c562300095432a17e472d2e52d"></a> | |
449 | <div class="memitem"> | |
450 | <div class="memproto"> | |
451 | <table class="memname"> | |
452 | <tr> | |
453 | <td class="memname">int boost::locale::date_time::minimum </td> | |
454 | <td>(</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> | |
457 | <td> const</td> | |
458 | </tr> | |
459 | </table> | |
460 | </div><div class="memdoc"> | |
461 | <p>Get minimal possible value for *this time point for a period <em>f</em>. </p> | |
462 | ||
463 | </div> | |
464 | </div> | |
465 | <a class="anchor" id="a289953d80af568f86ddf533c0b161663"></a> | |
466 | <div class="memitem"> | |
467 | <div class="memproto"> | |
468 | <table class="memname"> | |
469 | <tr> | |
470 | <td class="memname">bool boost::locale::date_time::operator!= </td> | |
471 | <td>(</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> | |
474 | <td> const</td> | |
475 | </tr> | |
476 | </table> | |
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> | |
479 | ||
480 | </div> | |
481 | </div> | |
482 | <a class="anchor" id="a0df3596add1804b1f64d363fea181fe2"></a> | |
483 | <div class="memitem"> | |
484 | <div class="memproto"> | |
485 | <table class="mlabels"> | |
486 | <tr> | |
487 | <td class="mlabels-left"> | |
488 | <table class="memname"> | |
489 | <tr> | |
490 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td> | |
491 | <td>(</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> | |
494 | <td> const</td> | |
495 | </tr> | |
496 | </table> | |
497 | </td> | |
498 | <td class="mlabels-right"> | |
499 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
500 | </tr> | |
501 | </table> | |
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> | |
504 | ||
505 | </div> | |
506 | </div> | |
507 | <a class="anchor" id="a4e23796608a8ef0cbd5338f21d220a73"></a> | |
508 | <div class="memitem"> | |
509 | <div class="memproto"> | |
510 | <table class="memname"> | |
511 | <tr> | |
512 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td> | |
513 | <td>(</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> | |
516 | <td> const</td> | |
517 | </tr> | |
518 | </table> | |
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> | |
521 | ||
522 | </div> | |
523 | </div> | |
524 | <a class="anchor" id="aa362fdfe044d1c56c4fe939bd3d406bc"></a> | |
525 | <div class="memitem"> | |
526 | <div class="memproto"> | |
527 | <table class="memname"> | |
528 | <tr> | |
529 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td> | |
530 | <td>(</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> | |
533 | <td> const</td> | |
534 | </tr> | |
535 | </table> | |
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> | |
538 | ||
539 | </div> | |
540 | </div> | |
541 | <a class="anchor" id="ab3117067df65d1c33e89ab375f03d27c"></a> | |
542 | <div class="memitem"> | |
543 | <div class="memproto"> | |
544 | <table class="mlabels"> | |
545 | <tr> | |
546 | <td class="mlabels-left"> | |
547 | <table class="memname"> | |
548 | <tr> | |
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> | |
550 | <td>(</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> | |
553 | <td></td> | |
554 | </tr> | |
555 | </table> | |
556 | </td> | |
557 | <td class="mlabels-right"> | |
558 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
559 | </tr> | |
560 | </table> | |
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> | |
563 | ||
564 | </div> | |
565 | </div> | |
566 | <a class="anchor" id="a7116785ff9f8b5f403e10a24b9b4477d"></a> | |
567 | <div class="memitem"> | |
568 | <div class="memproto"> | |
569 | <table class="memname"> | |
570 | <tr> | |
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> | |
572 | <td>(</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> | |
575 | <td></td> | |
576 | </tr> | |
577 | </table> | |
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> | |
580 | ||
581 | </div> | |
582 | </div> | |
583 | <a class="anchor" id="a1e5c7d2a8fed92d1e71f3dda2548b637"></a> | |
584 | <div class="memitem"> | |
585 | <div class="memproto"> | |
586 | <table class="memname"> | |
587 | <tr> | |
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> | |
589 | <td>(</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> | |
592 | <td></td> | |
593 | </tr> | |
594 | </table> | |
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> | |
597 | ||
598 | </div> | |
599 | </div> | |
600 | <a class="anchor" id="ac870c0fcba5814cd91bb9c63823e280a"></a> | |
601 | <div class="memitem"> | |
602 | <div class="memproto"> | |
603 | <table class="mlabels"> | |
604 | <tr> | |
605 | <td class="mlabels-left"> | |
606 | <table class="memname"> | |
607 | <tr> | |
608 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td> | |
609 | <td>(</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> | |
612 | <td> const</td> | |
613 | </tr> | |
614 | </table> | |
615 | </td> | |
616 | <td class="mlabels-right"> | |
617 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
618 | </tr> | |
619 | </table> | |
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> | |
622 | ||
623 | </div> | |
624 | </div> | |
625 | <a class="anchor" id="af83662eb6a5d2298cda9159f5277a563"></a> | |
626 | <div class="memitem"> | |
627 | <div class="memproto"> | |
628 | <table class="memname"> | |
629 | <tr> | |
630 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td> | |
631 | <td>(</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> | |
634 | <td> const</td> | |
635 | </tr> | |
636 | </table> | |
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> | |
639 | ||
640 | </div> | |
641 | </div> | |
642 | <a class="anchor" id="a464e16b35656568b21f34cb8b3e2c81a"></a> | |
643 | <div class="memitem"> | |
644 | <div class="memproto"> | |
645 | <table class="memname"> | |
646 | <tr> | |
647 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td> | |
648 | <td>(</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> | |
651 | <td> const</td> | |
652 | </tr> | |
653 | </table> | |
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> | |
656 | ||
657 | </div> | |
658 | </div> | |
659 | <a class="anchor" id="a38468aff1a820dc1c41a2a8280120848"></a> | |
660 | <div class="memitem"> | |
661 | <div class="memproto"> | |
662 | <table class="mlabels"> | |
663 | <tr> | |
664 | <td class="mlabels-left"> | |
665 | <table class="memname"> | |
666 | <tr> | |
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> | |
668 | <td>(</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> | |
671 | <td></td> | |
672 | </tr> | |
673 | </table> | |
674 | </td> | |
675 | <td class="mlabels-right"> | |
676 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
677 | </tr> | |
678 | </table> | |
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> | |
681 | ||
682 | </div> | |
683 | </div> | |
684 | <a class="anchor" id="a6780aae474f33f0a64e7b457789d7524"></a> | |
685 | <div class="memitem"> | |
686 | <div class="memproto"> | |
687 | <table class="memname"> | |
688 | <tr> | |
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> | |
690 | <td>(</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> | |
693 | <td></td> | |
694 | </tr> | |
695 | </table> | |
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> | |
698 | ||
699 | </div> | |
700 | </div> | |
701 | <a class="anchor" id="ae03dfadaf23e2ff93ae3d456dd3eb05f"></a> | |
702 | <div class="memitem"> | |
703 | <div class="memproto"> | |
704 | <table class="memname"> | |
705 | <tr> | |
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> | |
707 | <td>(</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> | |
710 | <td></td> | |
711 | </tr> | |
712 | </table> | |
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> | |
715 | ||
716 | </div> | |
717 | </div> | |
718 | <a class="anchor" id="ac2a3a8f6fdba552b19e478bb6757523e"></a> | |
719 | <div class="memitem"> | |
720 | <div class="memproto"> | |
721 | <table class="mlabels"> | |
722 | <tr> | |
723 | <td class="mlabels-left"> | |
724 | <table class="memname"> | |
725 | <tr> | |
726 | <td class="memname">int boost::locale::date_time::operator/ </td> | |
727 | <td>(</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> | |
730 | <td> const</td> | |
731 | </tr> | |
732 | </table> | |
733 | </td> | |
734 | <td class="mlabels-right"> | |
735 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
736 | </tr> | |
737 | </table> | |
738 | </div><div class="memdoc"> | |
739 | <p>syntactic sugar for get(f) </p> | |
740 | ||
741 | </div> | |
742 | </div> | |
743 | <a class="anchor" id="a7b27ad955eade1013a43336e2a17adec"></a> | |
744 | <div class="memitem"> | |
745 | <div class="memproto"> | |
746 | <table class="memname"> | |
747 | <tr> | |
748 | <td class="memname">bool boost::locale::date_time::operator< </td> | |
749 | <td>(</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> | |
752 | <td> const</td> | |
753 | </tr> | |
754 | </table> | |
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> | |
757 | ||
758 | </div> | |
759 | </div> | |
760 | <a class="anchor" id="a22d2b503e2d58c7e2983b89c69ed13bd"></a> | |
761 | <div class="memitem"> | |
762 | <div class="memproto"> | |
763 | <table class="mlabels"> | |
764 | <tr> | |
765 | <td class="mlabels-left"> | |
766 | <table class="memname"> | |
767 | <tr> | |
768 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td> | |
769 | <td>(</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> | |
772 | <td> const</td> | |
773 | </tr> | |
774 | </table> | |
775 | </td> | |
776 | <td class="mlabels-right"> | |
777 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
778 | </tr> | |
779 | </table> | |
780 | </div><div class="memdoc"> | |
781 | <p>roll forward a date by single period f. </p> | |
782 | ||
783 | </div> | |
784 | </div> | |
785 | <a class="anchor" id="afc9286cc1d2ad907200a3d9ba5d91c00"></a> | |
786 | <div class="memitem"> | |
787 | <div class="memproto"> | |
788 | <table class="memname"> | |
789 | <tr> | |
790 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td> | |
791 | <td>(</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> | |
794 | <td> const</td> | |
795 | </tr> | |
796 | </table> | |
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> | |
799 | ||
800 | </div> | |
801 | </div> | |
802 | <a class="anchor" id="a2fb78903ee3c27d320798a72bb29a0b0"></a> | |
803 | <div class="memitem"> | |
804 | <div class="memproto"> | |
805 | <table class="memname"> | |
806 | <tr> | |
807 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td> | |
808 | <td>(</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> | |
811 | <td> const</td> | |
812 | </tr> | |
813 | </table> | |
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> | |
816 | ||
817 | </div> | |
818 | </div> | |
819 | <a class="anchor" id="ae71279d6e8dcc984fe3703b61d545416"></a> | |
820 | <div class="memitem"> | |
821 | <div class="memproto"> | |
822 | <table class="mlabels"> | |
823 | <tr> | |
824 | <td class="mlabels-left"> | |
825 | <table class="memname"> | |
826 | <tr> | |
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> | |
828 | <td>(</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> | |
831 | <td></td> | |
832 | </tr> | |
833 | </table> | |
834 | </td> | |
835 | <td class="mlabels-right"> | |
836 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
837 | </tr> | |
838 | </table> | |
839 | </div><div class="memdoc"> | |
840 | <p>roll forward a date by single period f. </p> | |
841 | ||
842 | </div> | |
843 | </div> | |
844 | <a class="anchor" id="aa95d61963c07fb1e39d01d099a4c281a"></a> | |
845 | <div class="memitem"> | |
846 | <div class="memproto"> | |
847 | <table class="memname"> | |
848 | <tr> | |
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> | |
850 | <td>(</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> | |
853 | <td></td> | |
854 | </tr> | |
855 | </table> | |
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> | |
858 | ||
859 | </div> | |
860 | </div> | |
861 | <a class="anchor" id="a048c4e2a1967351e84006177c14ef5e2"></a> | |
862 | <div class="memitem"> | |
863 | <div class="memproto"> | |
864 | <table class="memname"> | |
865 | <tr> | |
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> | |
867 | <td>(</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> | |
870 | <td></td> | |
871 | </tr> | |
872 | </table> | |
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> | |
875 | ||
876 | </div> | |
877 | </div> | |
878 | <a class="anchor" id="a76c5b0bbc01bd561c25cb83f26e5f535"></a> | |
879 | <div class="memitem"> | |
880 | <div class="memproto"> | |
881 | <table class="memname"> | |
882 | <tr> | |
883 | <td class="memname">bool boost::locale::date_time::operator<= </td> | |
884 | <td>(</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> | |
887 | <td> const</td> | |
888 | </tr> | |
889 | </table> | |
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> | |
892 | ||
893 | </div> | |
894 | </div> | |
895 | <a class="anchor" id="abe5d459e7552ca13b127c682e0d9caab"></a> | |
896 | <div class="memitem"> | |
897 | <div class="memproto"> | |
898 | <table class="memname"> | |
899 | <tr> | |
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> | |
901 | <td>(</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> | |
904 | <td></td> | |
905 | </tr> | |
906 | </table> | |
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> | |
909 | ||
910 | </div> | |
911 | </div> | |
912 | <a class="anchor" id="a2f7ccfb9e28fa3bb172be9f0446caafd"></a> | |
913 | <div class="memitem"> | |
914 | <div class="memproto"> | |
915 | <table class="memname"> | |
916 | <tr> | |
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> | |
918 | <td>(</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> | |
921 | <td></td> | |
922 | </tr> | |
923 | </table> | |
924 | </div><div class="memdoc"> | |
925 | <p>assign values to various periods in set <em>f</em> </p> | |
926 | ||
927 | </div> | |
928 | </div> | |
929 | <a class="anchor" id="a4f11ded4c5383cc3fcd3684d0aa43892"></a> | |
930 | <div class="memitem"> | |
931 | <div class="memproto"> | |
932 | <table class="memname"> | |
933 | <tr> | |
934 | <td class="memname">bool boost::locale::date_time::operator== </td> | |
935 | <td>(</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> | |
938 | <td> const</td> | |
939 | </tr> | |
940 | </table> | |
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> | |
943 | ||
944 | </div> | |
945 | </div> | |
946 | <a class="anchor" id="a1907c677ae9b7d0736705df8ad58b3aa"></a> | |
947 | <div class="memitem"> | |
948 | <div class="memproto"> | |
949 | <table class="memname"> | |
950 | <tr> | |
951 | <td class="memname">bool boost::locale::date_time::operator> </td> | |
952 | <td>(</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> | |
955 | <td> const</td> | |
956 | </tr> | |
957 | </table> | |
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> | |
960 | ||
961 | </div> | |
962 | </div> | |
963 | <a class="anchor" id="a4d807fa280bbe8d88efbc9a05f4a2d7c"></a> | |
964 | <div class="memitem"> | |
965 | <div class="memproto"> | |
966 | <table class="memname"> | |
967 | <tr> | |
968 | <td class="memname">bool boost::locale::date_time::operator>= </td> | |
969 | <td>(</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> | |
972 | <td> const</td> | |
973 | </tr> | |
974 | </table> | |
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> | |
977 | ||
978 | </div> | |
979 | </div> | |
980 | <a class="anchor" id="a3a53ba943cb5140bafbfbda3d44b4083"></a> | |
981 | <div class="memitem"> | |
982 | <div class="memproto"> | |
983 | <table class="mlabels"> | |
984 | <tr> | |
985 | <td class="mlabels-left"> | |
986 | <table class="memname"> | |
987 | <tr> | |
988 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td> | |
989 | <td>(</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> | |
992 | <td> const</td> | |
993 | </tr> | |
994 | </table> | |
995 | </td> | |
996 | <td class="mlabels-right"> | |
997 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
998 | </tr> | |
999 | </table> | |
1000 | </div><div class="memdoc"> | |
1001 | <p>roll backward a date by single period f. </p> | |
1002 | ||
1003 | </div> | |
1004 | </div> | |
1005 | <a class="anchor" id="a50f73791a4a5b4b4a32483030d20e324"></a> | |
1006 | <div class="memitem"> | |
1007 | <div class="memproto"> | |
1008 | <table class="memname"> | |
1009 | <tr> | |
1010 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td> | |
1011 | <td>(</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> | |
1014 | <td> const</td> | |
1015 | </tr> | |
1016 | </table> | |
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> | |
1019 | ||
1020 | </div> | |
1021 | </div> | |
1022 | <a class="anchor" id="ad7132f1fb92d1703925b4d3d054c0c19"></a> | |
1023 | <div class="memitem"> | |
1024 | <div class="memproto"> | |
1025 | <table class="memname"> | |
1026 | <tr> | |
1027 | <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td> | |
1028 | <td>(</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> | |
1031 | <td> const</td> | |
1032 | </tr> | |
1033 | </table> | |
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> | |
1036 | ||
1037 | </div> | |
1038 | </div> | |
1039 | <a class="anchor" id="a178faa979338310b9a92370a3618fa0e"></a> | |
1040 | <div class="memitem"> | |
1041 | <div class="memproto"> | |
1042 | <table class="mlabels"> | |
1043 | <tr> | |
1044 | <td class="mlabels-left"> | |
1045 | <table class="memname"> | |
1046 | <tr> | |
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> | |
1048 | <td>(</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> | |
1051 | <td></td> | |
1052 | </tr> | |
1053 | </table> | |
1054 | </td> | |
1055 | <td class="mlabels-right"> | |
1056 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> | |
1057 | </tr> | |
1058 | </table> | |
1059 | </div><div class="memdoc"> | |
1060 | <p>roll backward a date by single period f. </p> | |
1061 | ||
1062 | </div> | |
1063 | </div> | |
1064 | <a class="anchor" id="a4605cf04447095908cba7a1cba700b9e"></a> | |
1065 | <div class="memitem"> | |
1066 | <div class="memproto"> | |
1067 | <table class="memname"> | |
1068 | <tr> | |
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> | |
1070 | <td>(</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> | |
1073 | <td></td> | |
1074 | </tr> | |
1075 | </table> | |
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> | |
1078 | ||
1079 | </div> | |
1080 | </div> | |
1081 | <a class="anchor" id="a797242365127dae7142f0a950c4e4e78"></a> | |
1082 | <div class="memitem"> | |
1083 | <div class="memproto"> | |
1084 | <table class="memname"> | |
1085 | <tr> | |
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> | |
1087 | <td>(</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> | |
1090 | <td></td> | |
1091 | </tr> | |
1092 | </table> | |
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> | |
1095 | ||
1096 | </div> | |
1097 | </div> | |
1098 | <a class="anchor" id="a4c0ed3be4d5d3bb44014a2ea12927ff8"></a> | |
1099 | <div class="memitem"> | |
1100 | <div class="memproto"> | |
1101 | <table class="memname"> | |
1102 | <tr> | |
1103 | <td class="memname">void boost::locale::date_time::set </td> | |
1104 | <td>(</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> | |
1107 | </tr> | |
1108 | <tr> | |
1109 | <td class="paramkey"></td> | |
1110 | <td></td> | |
1111 | <td class="paramtype">int </td> | |
1112 | <td class="paramname"><em>v</em> </td> | |
1113 | </tr> | |
1114 | <tr> | |
1115 | <td></td> | |
1116 | <td>)</td> | |
1117 | <td></td><td></td> | |
1118 | </tr> | |
1119 | </table> | |
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> | |
1123 | </dl> | |
1124 | </div> | |
1125 | </div> | |
1126 | <a class="anchor" id="a704626c84b012080f5e0b73db3d080fb"></a> | |
1127 | <div class="memitem"> | |
1128 | <div class="memproto"> | |
1129 | <table class="memname"> | |
1130 | <tr> | |
1131 | <td class="memname">void boost::locale::date_time::swap </td> | |
1132 | <td>(</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> | |
1135 | <td></td> | |
1136 | </tr> | |
1137 | </table> | |
1138 | </div><div class="memdoc"> | |
1139 | <p>swaps two dates - efficient, does not throw </p> | |
1140 | ||
1141 | </div> | |
1142 | </div> | |
1143 | <a class="anchor" id="a17aa2b54462ebcf1860f8e4db9f7868e"></a> | |
1144 | <div class="memitem"> | |
1145 | <div class="memproto"> | |
1146 | <table class="memname"> | |
1147 | <tr> | |
1148 | <td class="memname">double boost::locale::date_time::time </td> | |
1149 | <td>(</td> | |
1150 | <td class="paramname"></td><td>)</td> | |
1151 | <td> const</td> | |
1152 | </tr> | |
1153 | </table> | |
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> | |
1157 | ||
1158 | </div> | |
1159 | </div> | |
1160 | <a class="anchor" id="a71bc51cd2ef635dfb0da6c0b740dcb5f"></a> | |
1161 | <div class="memitem"> | |
1162 | <div class="memproto"> | |
1163 | <table class="memname"> | |
1164 | <tr> | |
1165 | <td class="memname">void boost::locale::date_time::time </td> | |
1166 | <td>(</td> | |
1167 | <td class="paramtype">double </td> | |
1168 | <td class="paramname"><em>v</em></td><td>)</td> | |
1169 | <td></td> | |
1170 | </tr> | |
1171 | </table> | |
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> | |
1175 | ||
1176 | </div> | |
1177 | </div> | |
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> | |
1180 | </ul> | |
1181 | </div><!-- contents --> | |
1182 | </div><!-- doc-content --> | |
1183 | ||
1184 | <li class="footer"> | |
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. | |
1186 | </li> | |
1187 | </ul> | |
1188 | </div> | |
1189 | </body> | |
1190 | </html> |