classboost_1_1locale_1_1date__time.html 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190
  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&#160;Page</span></a></li>
  40. <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
  51. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  52. <li><a href="functions.html"><span>Class&#160;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> &#124;
  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. <p>this class represents a date time and allows to perform various operation according to the locale settings.
  79. <a href="classboost_1_1locale_1_1date__time.html#details">More...</a></p>
  80. <p><code>#include &lt;<a class="el" href="date__time_8hpp_source.html">boost/locale/date_time.hpp</a>&gt;</code></p>
  81. <table class="memberdecls">
  82. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  83. Public Member Functions</h2></td></tr>
  84. <tr class="memitem:ae7a3b74e7512ddc4d618eb1f51c3d2b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#ae7a3b74e7512ddc4d618eb1f51c3d2b0">date_time</a> ()</td></tr>
  85. <tr class="separator:ae7a3b74e7512ddc4d618eb1f51c3d2b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a7d98e552f2ff8a421a5c226102ba0138"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;other)</td></tr>
  87. <tr class="separator:a7d98e552f2ff8a421a5c226102ba0138"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a45008e76b980e7487e3d61b8372d67ae"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;other, <a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;<a class="el" href="classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set</a>)</td></tr>
  89. <tr class="separator:a45008e76b980e7487e3d61b8372d67ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <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 &amp;&#160;</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 &amp;other)</td></tr>
  91. <tr class="separator:abe5d459e7552ca13b127c682e0d9caab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:addfee06ea6efa5fdca252191176b5756"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  93. <tr class="separator:addfee06ea6efa5fdca252191176b5756"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:ab806af3aee6d70057d1f8e6fbfd09216"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;cal)</td></tr>
  95. <tr class="separator:ab806af3aee6d70057d1f8e6fbfd09216"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:ada52e84093a2775db6e0b3c399b0b9cf"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;cal)</td></tr>
  97. <tr class="separator:ada52e84093a2775db6e0b3c399b0b9cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:abfa9db762ab227427778d8fc3c2bf73d"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;<a class="el" href="classboost_1_1locale_1_1date__time.html#a4c0ed3be4d5d3bb44014a2ea12927ff8">set</a>)</td></tr>
  99. <tr class="separator:abfa9db762ab227427778d8fc3c2bf73d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a871745debde77a28f5fbc6e2b2a5f869"><td class="memItemLeft" align="right" valign="top">&#160;</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 &amp;<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 &amp;cal)</td></tr>
  101. <tr class="separator:a871745debde77a28f5fbc6e2b2a5f869"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <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 &amp;&#160;</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 &amp;f)</td></tr>
  103. <tr class="separator:a2f7ccfb9e28fa3bb172be9f0446caafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a4c0ed3be4d5d3bb44014a2ea12927ff8"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  105. <tr class="separator:a4c0ed3be4d5d3bb44014a2ea12927ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:af6436a546d3b944238f9fa952e5e18bd"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  107. <tr class="separator:af6436a546d3b944238f9fa952e5e18bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ac2a3a8f6fdba552b19e478bb6757523e"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  109. <tr class="separator:ac2a3a8f6fdba552b19e478bb6757523e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <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>&#160;</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>
  111. <tr class="separator:a0df3596add1804b1f64d363fea181fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <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>&#160;</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>
  113. <tr class="separator:ac870c0fcba5814cd91bb9c63823e280a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <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 &amp;&#160;</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>
  115. <tr class="separator:ab3117067df65d1c33e89ab375f03d27c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <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 &amp;&#160;</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>
  117. <tr class="separator:a38468aff1a820dc1c41a2a8280120848"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a22d2b503e2d58c7e2983b89c69ed13bd">operator&lt;&lt;</a> (<a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> f) const </td></tr>
  119. <tr class="separator:a22d2b503e2d58c7e2983b89c69ed13bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a3a53ba943cb5140bafbfbda3d44b4083">operator&gt;&gt;</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:a3a53ba943cb5140bafbfbda3d44b4083"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#ae71279d6e8dcc984fe3703b61d545416">operator&lt;&lt;=</a> (<a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> f)</td></tr>
  123. <tr class="separator:ae71279d6e8dcc984fe3703b61d545416"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a178faa979338310b9a92370a3618fa0e">operator&gt;&gt;=</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:a178faa979338310b9a92370a3618fa0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <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>&#160;</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 &amp;v) const </td></tr>
  127. <tr class="separator:a4e23796608a8ef0cbd5338f21d220a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <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>&#160;</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 &amp;v) const </td></tr>
  129. <tr class="separator:af83662eb6a5d2298cda9159f5277a563"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <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 &amp;&#160;</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 &amp;v)</td></tr>
  131. <tr class="separator:a7116785ff9f8b5f403e10a24b9b4477d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <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 &amp;&#160;</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 &amp;v)</td></tr>
  133. <tr class="separator:a6780aae474f33f0a64e7b457789d7524"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#afc9286cc1d2ad907200a3d9ba5d91c00">operator&lt;&lt;</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;v) const </td></tr>
  135. <tr class="separator:afc9286cc1d2ad907200a3d9ba5d91c00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a50f73791a4a5b4b4a32483030d20e324">operator&gt;&gt;</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;v) const </td></tr>
  137. <tr class="separator:a50f73791a4a5b4b4a32483030d20e324"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#aa95d61963c07fb1e39d01d099a4c281a">operator&lt;&lt;=</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;v)</td></tr>
  139. <tr class="separator:aa95d61963c07fb1e39d01d099a4c281a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a4605cf04447095908cba7a1cba700b9e">operator&gt;&gt;=</a> (<a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;v)</td></tr>
  141. <tr class="separator:a4605cf04447095908cba7a1cba700b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <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>&#160;</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 &amp;v) const </td></tr>
  143. <tr class="separator:aa362fdfe044d1c56c4fe939bd3d406bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <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>&#160;</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 &amp;v) const </td></tr>
  145. <tr class="separator:a464e16b35656568b21f34cb8b3e2c81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <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 &amp;&#160;</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 &amp;v)</td></tr>
  147. <tr class="separator:a1e5c7d2a8fed92d1e71f3dda2548b637"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <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 &amp;&#160;</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 &amp;v)</td></tr>
  149. <tr class="separator:ae03dfadaf23e2ff93ae3d456dd3eb05f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a2fb78903ee3c27d320798a72bb29a0b0">operator&lt;&lt;</a> (<a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;v) const </td></tr>
  151. <tr class="separator:a2fb78903ee3c27d320798a72bb29a0b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#ad7132f1fb92d1703925b4d3d054c0c19">operator&gt;&gt;</a> (<a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;v) const </td></tr>
  153. <tr class="separator:ad7132f1fb92d1703925b4d3d054c0c19"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a048c4e2a1967351e84006177c14ef5e2">operator&lt;&lt;=</a> (<a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;v)</td></tr>
  155. <tr class="separator:a048c4e2a1967351e84006177c14ef5e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <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 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a797242365127dae7142f0a950c4e4e78">operator&gt;&gt;=</a> (<a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;v)</td></tr>
  157. <tr class="separator:a797242365127dae7142f0a950c4e4e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a17aa2b54462ebcf1860f8e4db9f7868e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a17aa2b54462ebcf1860f8e4db9f7868e">time</a> () const </td></tr>
  159. <tr class="separator:a17aa2b54462ebcf1860f8e4db9f7868e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a71bc51cd2ef635dfb0da6c0b740dcb5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a71bc51cd2ef635dfb0da6c0b740dcb5f">time</a> (double v)</td></tr>
  161. <tr class="separator:a71bc51cd2ef635dfb0da6c0b740dcb5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a4f11ded4c5383cc3fcd3684d0aa43892"><td class="memItemLeft" align="right" valign="top">bool&#160;</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 &amp;other) const </td></tr>
  163. <tr class="separator:a4f11ded4c5383cc3fcd3684d0aa43892"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a289953d80af568f86ddf533c0b161663"><td class="memItemLeft" align="right" valign="top">bool&#160;</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 &amp;other) const </td></tr>
  165. <tr class="separator:a289953d80af568f86ddf533c0b161663"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a7b27ad955eade1013a43336e2a17adec"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a7b27ad955eade1013a43336e2a17adec">operator&lt;</a> (<a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;other) const </td></tr>
  167. <tr class="separator:a7b27ad955eade1013a43336e2a17adec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a1907c677ae9b7d0736705df8ad58b3aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a1907c677ae9b7d0736705df8ad58b3aa">operator&gt;</a> (<a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;other) const </td></tr>
  169. <tr class="separator:a1907c677ae9b7d0736705df8ad58b3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a76c5b0bbc01bd561c25cb83f26e5f535"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a76c5b0bbc01bd561c25cb83f26e5f535">operator&lt;=</a> (<a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;other) const </td></tr>
  171. <tr class="separator:a76c5b0bbc01bd561c25cb83f26e5f535"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a4d807fa280bbe8d88efbc9a05f4a2d7c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1date__time.html#a4d807fa280bbe8d88efbc9a05f4a2d7c">operator&gt;=</a> (<a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;other) const </td></tr>
  173. <tr class="separator:a4d807fa280bbe8d88efbc9a05f4a2d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a704626c84b012080f5e0b73db3d080fb"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;other)</td></tr>
  175. <tr class="separator:a704626c84b012080f5e0b73db3d080fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a36df44f891d2a39ca16f57e568b67a3d"><td class="memItemLeft" align="right" valign="top">int&#160;</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 &amp;other, <a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> f) const </td></tr>
  177. <tr class="separator:a36df44f891d2a39ca16f57e568b67a3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a3363a0c562300095432a17e472d2e52d"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  179. <tr class="separator:a3363a0c562300095432a17e472d2e52d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:adb258ce11408b62bc0f14a60a05f0752"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  181. <tr class="separator:adb258ce11408b62bc0f14a60a05f0752"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a047e6e010df55fee166dcb3c9e7d3b95"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  183. <tr class="separator:a047e6e010df55fee166dcb3c9e7d3b95"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. </table>
  185. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  186. <div class="textblock"><p>this class represents a date time and allows to perform various operation according to the locale settings. </p>
  187. <p>This class allows to manipulate various aspects of dates and times easily using arithmetic operations with periods.</p>
  188. <p>General arithmetic functions:</p>
  189. <ul>
  190. <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>
  191. <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>
  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> &lt;&lt; <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" &lt;&lt; 2* day == "2010-01-02" instead of "2010-02-02"</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> &gt;&gt; <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" &gt;&gt; 2* day == "2010-01-31" instead of "2009-12-30"</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> / period_type = int - current period value: like "2010-12-21" / month == 12. "2010-12-21" / year = 2010</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.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>
  196. </ul>
  197. <p>You can also assign specific periods using assignment operator like: some_time = year * 1995 that sets the year to 1995. </p>
  198. <dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#_a1">calendar.cpp</a>.</dd>
  199. </dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  200. <a class="anchor" id="ae7a3b74e7512ddc4d618eb1f51c3d2b0"></a>
  201. <div class="memitem">
  202. <div class="memproto">
  203. <table class="memname">
  204. <tr>
  205. <td class="memname">boost::locale::date_time::date_time </td>
  206. <td>(</td>
  207. <td class="paramname"></td><td>)</td>
  208. <td></td>
  209. </tr>
  210. </table>
  211. </div><div class="memdoc">
  212. <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>
  213. <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>
  214. </div>
  215. </div>
  216. <a class="anchor" id="a7d98e552f2ff8a421a5c226102ba0138"></a>
  217. <div class="memitem">
  218. <div class="memproto">
  219. <table class="memname">
  220. <tr>
  221. <td class="memname">boost::locale::date_time::date_time </td>
  222. <td>(</td>
  223. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  224. <td class="paramname"><em>other</em></td><td>)</td>
  225. <td></td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. <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>
  230. </div>
  231. </div>
  232. <a class="anchor" id="a45008e76b980e7487e3d61b8372d67ae"></a>
  233. <div class="memitem">
  234. <div class="memproto">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">boost::locale::date_time::date_time </td>
  238. <td>(</td>
  239. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  240. <td class="paramname"><em>other</em>, </td>
  241. </tr>
  242. <tr>
  243. <td class="paramkey"></td>
  244. <td></td>
  245. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  246. <td class="paramname"><em>set</em>&#160;</td>
  247. </tr>
  248. <tr>
  249. <td></td>
  250. <td>)</td>
  251. <td></td><td></td>
  252. </tr>
  253. </table>
  254. </div><div class="memdoc">
  255. <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>
  256. </div>
  257. </div>
  258. <a class="anchor" id="addfee06ea6efa5fdca252191176b5756"></a>
  259. <div class="memitem">
  260. <div class="memproto">
  261. <table class="memname">
  262. <tr>
  263. <td class="memname">boost::locale::date_time::date_time </td>
  264. <td>(</td>
  265. <td class="paramtype">double&#160;</td>
  266. <td class="paramname"><em>time</em></td><td>)</td>
  267. <td></td>
  268. </tr>
  269. </table>
  270. </div><div class="memdoc">
  271. <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>
  272. <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>
  273. </div>
  274. </div>
  275. <a class="anchor" id="ab806af3aee6d70057d1f8e6fbfd09216"></a>
  276. <div class="memitem">
  277. <div class="memproto">
  278. <table class="memname">
  279. <tr>
  280. <td class="memname">boost::locale::date_time::date_time </td>
  281. <td>(</td>
  282. <td class="paramtype">double&#160;</td>
  283. <td class="paramname"><em>time</em>, </td>
  284. </tr>
  285. <tr>
  286. <td class="paramkey"></td>
  287. <td></td>
  288. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
  289. <td class="paramname"><em>cal</em>&#160;</td>
  290. </tr>
  291. <tr>
  292. <td></td>
  293. <td>)</td>
  294. <td></td><td></td>
  295. </tr>
  296. </table>
  297. </div><div class="memdoc">
  298. <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>
  299. </div>
  300. </div>
  301. <a class="anchor" id="ada52e84093a2775db6e0b3c399b0b9cf"></a>
  302. <div class="memitem">
  303. <div class="memproto">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">boost::locale::date_time::date_time </td>
  307. <td>(</td>
  308. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
  309. <td class="paramname"><em>cal</em></td><td>)</td>
  310. <td></td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. <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>
  315. </div>
  316. </div>
  317. <a class="anchor" id="abfa9db762ab227427778d8fc3c2bf73d"></a>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="memname">
  321. <tr>
  322. <td class="memname">boost::locale::date_time::date_time </td>
  323. <td>(</td>
  324. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  325. <td class="paramname"><em>set</em></td><td>)</td>
  326. <td></td>
  327. </tr>
  328. </table>
  329. </div><div class="memdoc">
  330. <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>
  331. <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>
  332. </div>
  333. </div>
  334. <a class="anchor" id="a871745debde77a28f5fbc6e2b2a5f869"></a>
  335. <div class="memitem">
  336. <div class="memproto">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname">boost::locale::date_time::date_time </td>
  340. <td>(</td>
  341. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  342. <td class="paramname"><em>set</em>, </td>
  343. </tr>
  344. <tr>
  345. <td class="paramkey"></td>
  346. <td></td>
  347. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
  348. <td class="paramname"><em>cal</em>&#160;</td>
  349. </tr>
  350. <tr>
  351. <td></td>
  352. <td>)</td>
  353. <td></td><td></td>
  354. </tr>
  355. </table>
  356. </div><div class="memdoc">
  357. <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>
  358. </div>
  359. </div>
  360. <h2 class="groupheader">Member Function Documentation</h2>
  361. <a class="anchor" id="a36df44f891d2a39ca16f57e568b67a3d"></a>
  362. <div class="memitem">
  363. <div class="memproto">
  364. <table class="memname">
  365. <tr>
  366. <td class="memname">int boost::locale::date_time::difference </td>
  367. <td>(</td>
  368. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  369. <td class="paramname"><em>other</em>, </td>
  370. </tr>
  371. <tr>
  372. <td class="paramkey"></td>
  373. <td></td>
  374. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  375. <td class="paramname"><em>f</em>&#160;</td>
  376. </tr>
  377. <tr>
  378. <td></td>
  379. <td>)</td>
  380. <td></td><td> const</td>
  381. </tr>
  382. </table>
  383. </div><div class="memdoc">
  384. <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>
  385. </div>
  386. </div>
  387. <a class="anchor" id="af6436a546d3b944238f9fa952e5e18bd"></a>
  388. <div class="memitem">
  389. <div class="memproto">
  390. <table class="memname">
  391. <tr>
  392. <td class="memname">int boost::locale::date_time::get </td>
  393. <td>(</td>
  394. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  395. <td class="paramname"><em>f</em></td><td>)</td>
  396. <td> const</td>
  397. </tr>
  398. </table>
  399. </div><div class="memdoc">
  400. <p>get specific period <em>f</em> value </p>
  401. </div>
  402. </div>
  403. <a class="anchor" id="a047e6e010df55fee166dcb3c9e7d3b95"></a>
  404. <div class="memitem">
  405. <div class="memproto">
  406. <table class="memname">
  407. <tr>
  408. <td class="memname">bool boost::locale::date_time::is_in_daylight_saving_time </td>
  409. <td>(</td>
  410. <td class="paramname"></td><td>)</td>
  411. <td> const</td>
  412. </tr>
  413. </table>
  414. </div><div class="memdoc">
  415. <p>Check if *this time point is in daylight saving time </p>
  416. </div>
  417. </div>
  418. <a class="anchor" id="adb258ce11408b62bc0f14a60a05f0752"></a>
  419. <div class="memitem">
  420. <div class="memproto">
  421. <table class="memname">
  422. <tr>
  423. <td class="memname">int boost::locale::date_time::maximum </td>
  424. <td>(</td>
  425. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  426. <td class="paramname"><em>f</em></td><td>)</td>
  427. <td> const</td>
  428. </tr>
  429. </table>
  430. </div><div class="memdoc">
  431. <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>
  432. </div>
  433. </div>
  434. <a class="anchor" id="a3363a0c562300095432a17e472d2e52d"></a>
  435. <div class="memitem">
  436. <div class="memproto">
  437. <table class="memname">
  438. <tr>
  439. <td class="memname">int boost::locale::date_time::minimum </td>
  440. <td>(</td>
  441. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  442. <td class="paramname"><em>f</em></td><td>)</td>
  443. <td> const</td>
  444. </tr>
  445. </table>
  446. </div><div class="memdoc">
  447. <p>Get minimal possible value for *this time point for a period <em>f</em>. </p>
  448. </div>
  449. </div>
  450. <a class="anchor" id="a289953d80af568f86ddf533c0b161663"></a>
  451. <div class="memitem">
  452. <div class="memproto">
  453. <table class="memname">
  454. <tr>
  455. <td class="memname">bool boost::locale::date_time::operator!= </td>
  456. <td>(</td>
  457. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  458. <td class="paramname"><em>other</em></td><td>)</td>
  459. <td> const</td>
  460. </tr>
  461. </table>
  462. </div><div class="memdoc">
  463. <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>
  464. </div>
  465. </div>
  466. <a class="anchor" id="a0df3596add1804b1f64d363fea181fe2"></a>
  467. <div class="memitem">
  468. <div class="memproto">
  469. <table class="mlabels">
  470. <tr>
  471. <td class="mlabels-left">
  472. <table class="memname">
  473. <tr>
  474. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
  475. <td>(</td>
  476. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  477. <td class="paramname"><em>f</em></td><td>)</td>
  478. <td> const</td>
  479. </tr>
  480. </table>
  481. </td>
  482. <td class="mlabels-right">
  483. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  484. </tr>
  485. </table>
  486. </div><div class="memdoc">
  487. <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>
  488. </div>
  489. </div>
  490. <a class="anchor" id="a4e23796608a8ef0cbd5338f21d220a73"></a>
  491. <div class="memitem">
  492. <div class="memproto">
  493. <table class="memname">
  494. <tr>
  495. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
  496. <td>(</td>
  497. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  498. <td class="paramname"><em>v</em></td><td>)</td>
  499. <td> const</td>
  500. </tr>
  501. </table>
  502. </div><div class="memdoc">
  503. <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>
  504. </div>
  505. </div>
  506. <a class="anchor" id="aa362fdfe044d1c56c4fe939bd3d406bc"></a>
  507. <div class="memitem">
  508. <div class="memproto">
  509. <table class="memname">
  510. <tr>
  511. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
  512. <td>(</td>
  513. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  514. <td class="paramname"><em>v</em></td><td>)</td>
  515. <td> const</td>
  516. </tr>
  517. </table>
  518. </div><div class="memdoc">
  519. <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>
  520. </div>
  521. </div>
  522. <a class="anchor" id="ab3117067df65d1c33e89ab375f03d27c"></a>
  523. <div class="memitem">
  524. <div class="memproto">
  525. <table class="mlabels">
  526. <tr>
  527. <td class="mlabels-left">
  528. <table class="memname">
  529. <tr>
  530. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator+= </td>
  531. <td>(</td>
  532. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  533. <td class="paramname"><em>f</em></td><td>)</td>
  534. <td></td>
  535. </tr>
  536. </table>
  537. </td>
  538. <td class="mlabels-right">
  539. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  540. </tr>
  541. </table>
  542. </div><div class="memdoc">
  543. <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>
  544. </div>
  545. </div>
  546. <a class="anchor" id="a7116785ff9f8b5f403e10a24b9b4477d"></a>
  547. <div class="memitem">
  548. <div class="memproto">
  549. <table class="memname">
  550. <tr>
  551. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator+= </td>
  552. <td>(</td>
  553. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  554. <td class="paramname"><em>v</em></td><td>)</td>
  555. <td></td>
  556. </tr>
  557. </table>
  558. </div><div class="memdoc">
  559. <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>
  560. </div>
  561. </div>
  562. <a class="anchor" id="a1e5c7d2a8fed92d1e71f3dda2548b637"></a>
  563. <div class="memitem">
  564. <div class="memproto">
  565. <table class="memname">
  566. <tr>
  567. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator+= </td>
  568. <td>(</td>
  569. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  570. <td class="paramname"><em>v</em></td><td>)</td>
  571. <td></td>
  572. </tr>
  573. </table>
  574. </div><div class="memdoc">
  575. <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>
  576. </div>
  577. </div>
  578. <a class="anchor" id="ac870c0fcba5814cd91bb9c63823e280a"></a>
  579. <div class="memitem">
  580. <div class="memproto">
  581. <table class="mlabels">
  582. <tr>
  583. <td class="mlabels-left">
  584. <table class="memname">
  585. <tr>
  586. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
  587. <td>(</td>
  588. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  589. <td class="paramname"><em>f</em></td><td>)</td>
  590. <td> const</td>
  591. </tr>
  592. </table>
  593. </td>
  594. <td class="mlabels-right">
  595. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  596. </tr>
  597. </table>
  598. </div><div class="memdoc">
  599. <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>
  600. </div>
  601. </div>
  602. <a class="anchor" id="af83662eb6a5d2298cda9159f5277a563"></a>
  603. <div class="memitem">
  604. <div class="memproto">
  605. <table class="memname">
  606. <tr>
  607. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
  608. <td>(</td>
  609. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  610. <td class="paramname"><em>v</em></td><td>)</td>
  611. <td> const</td>
  612. </tr>
  613. </table>
  614. </div><div class="memdoc">
  615. <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>
  616. </div>
  617. </div>
  618. <a class="anchor" id="a464e16b35656568b21f34cb8b3e2c81a"></a>
  619. <div class="memitem">
  620. <div class="memproto">
  621. <table class="memname">
  622. <tr>
  623. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
  624. <td>(</td>
  625. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  626. <td class="paramname"><em>v</em></td><td>)</td>
  627. <td> const</td>
  628. </tr>
  629. </table>
  630. </div><div class="memdoc">
  631. <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>
  632. </div>
  633. </div>
  634. <a class="anchor" id="a38468aff1a820dc1c41a2a8280120848"></a>
  635. <div class="memitem">
  636. <div class="memproto">
  637. <table class="mlabels">
  638. <tr>
  639. <td class="mlabels-left">
  640. <table class="memname">
  641. <tr>
  642. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator-= </td>
  643. <td>(</td>
  644. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  645. <td class="paramname"><em>f</em></td><td>)</td>
  646. <td></td>
  647. </tr>
  648. </table>
  649. </td>
  650. <td class="mlabels-right">
  651. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  652. </tr>
  653. </table>
  654. </div><div class="memdoc">
  655. <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>
  656. </div>
  657. </div>
  658. <a class="anchor" id="a6780aae474f33f0a64e7b457789d7524"></a>
  659. <div class="memitem">
  660. <div class="memproto">
  661. <table class="memname">
  662. <tr>
  663. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator-= </td>
  664. <td>(</td>
  665. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  666. <td class="paramname"><em>v</em></td><td>)</td>
  667. <td></td>
  668. </tr>
  669. </table>
  670. </div><div class="memdoc">
  671. <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>
  672. </div>
  673. </div>
  674. <a class="anchor" id="ae03dfadaf23e2ff93ae3d456dd3eb05f"></a>
  675. <div class="memitem">
  676. <div class="memproto">
  677. <table class="memname">
  678. <tr>
  679. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator-= </td>
  680. <td>(</td>
  681. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  682. <td class="paramname"><em>v</em></td><td>)</td>
  683. <td></td>
  684. </tr>
  685. </table>
  686. </div><div class="memdoc">
  687. <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>
  688. </div>
  689. </div>
  690. <a class="anchor" id="ac2a3a8f6fdba552b19e478bb6757523e"></a>
  691. <div class="memitem">
  692. <div class="memproto">
  693. <table class="mlabels">
  694. <tr>
  695. <td class="mlabels-left">
  696. <table class="memname">
  697. <tr>
  698. <td class="memname">int boost::locale::date_time::operator/ </td>
  699. <td>(</td>
  700. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  701. <td class="paramname"><em>f</em></td><td>)</td>
  702. <td> const</td>
  703. </tr>
  704. </table>
  705. </td>
  706. <td class="mlabels-right">
  707. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  708. </tr>
  709. </table>
  710. </div><div class="memdoc">
  711. <p>syntactic sugar for get(f) </p>
  712. </div>
  713. </div>
  714. <a class="anchor" id="a7b27ad955eade1013a43336e2a17adec"></a>
  715. <div class="memitem">
  716. <div class="memproto">
  717. <table class="memname">
  718. <tr>
  719. <td class="memname">bool boost::locale::date_time::operator&lt; </td>
  720. <td>(</td>
  721. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  722. <td class="paramname"><em>other</em></td><td>)</td>
  723. <td> const</td>
  724. </tr>
  725. </table>
  726. </div><div class="memdoc">
  727. <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>
  728. </div>
  729. </div>
  730. <a class="anchor" id="a22d2b503e2d58c7e2983b89c69ed13bd"></a>
  731. <div class="memitem">
  732. <div class="memproto">
  733. <table class="mlabels">
  734. <tr>
  735. <td class="mlabels-left">
  736. <table class="memname">
  737. <tr>
  738. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&lt;&lt; </td>
  739. <td>(</td>
  740. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  741. <td class="paramname"><em>f</em></td><td>)</td>
  742. <td> const</td>
  743. </tr>
  744. </table>
  745. </td>
  746. <td class="mlabels-right">
  747. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <p>roll forward a date by single period f. </p>
  752. </div>
  753. </div>
  754. <a class="anchor" id="afc9286cc1d2ad907200a3d9ba5d91c00"></a>
  755. <div class="memitem">
  756. <div class="memproto">
  757. <table class="memname">
  758. <tr>
  759. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&lt;&lt; </td>
  760. <td>(</td>
  761. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  762. <td class="paramname"><em>v</em></td><td>)</td>
  763. <td> const</td>
  764. </tr>
  765. </table>
  766. </div><div class="memdoc">
  767. <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>
  768. </div>
  769. </div>
  770. <a class="anchor" id="a2fb78903ee3c27d320798a72bb29a0b0"></a>
  771. <div class="memitem">
  772. <div class="memproto">
  773. <table class="memname">
  774. <tr>
  775. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&lt;&lt; </td>
  776. <td>(</td>
  777. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  778. <td class="paramname"><em>v</em></td><td>)</td>
  779. <td> const</td>
  780. </tr>
  781. </table>
  782. </div><div class="memdoc">
  783. <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>
  784. </div>
  785. </div>
  786. <a class="anchor" id="ae71279d6e8dcc984fe3703b61d545416"></a>
  787. <div class="memitem">
  788. <div class="memproto">
  789. <table class="mlabels">
  790. <tr>
  791. <td class="mlabels-left">
  792. <table class="memname">
  793. <tr>
  794. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&lt;&lt;= </td>
  795. <td>(</td>
  796. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  797. <td class="paramname"><em>f</em></td><td>)</td>
  798. <td></td>
  799. </tr>
  800. </table>
  801. </td>
  802. <td class="mlabels-right">
  803. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  804. </tr>
  805. </table>
  806. </div><div class="memdoc">
  807. <p>roll forward a date by single period f. </p>
  808. </div>
  809. </div>
  810. <a class="anchor" id="aa95d61963c07fb1e39d01d099a4c281a"></a>
  811. <div class="memitem">
  812. <div class="memproto">
  813. <table class="memname">
  814. <tr>
  815. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&lt;&lt;= </td>
  816. <td>(</td>
  817. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  818. <td class="paramname"><em>v</em></td><td>)</td>
  819. <td></td>
  820. </tr>
  821. </table>
  822. </div><div class="memdoc">
  823. <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>
  824. </div>
  825. </div>
  826. <a class="anchor" id="a048c4e2a1967351e84006177c14ef5e2"></a>
  827. <div class="memitem">
  828. <div class="memproto">
  829. <table class="memname">
  830. <tr>
  831. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&lt;&lt;= </td>
  832. <td>(</td>
  833. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  834. <td class="paramname"><em>v</em></td><td>)</td>
  835. <td></td>
  836. </tr>
  837. </table>
  838. </div><div class="memdoc">
  839. <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>
  840. </div>
  841. </div>
  842. <a class="anchor" id="a76c5b0bbc01bd561c25cb83f26e5f535"></a>
  843. <div class="memitem">
  844. <div class="memproto">
  845. <table class="memname">
  846. <tr>
  847. <td class="memname">bool boost::locale::date_time::operator&lt;= </td>
  848. <td>(</td>
  849. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  850. <td class="paramname"><em>other</em></td><td>)</td>
  851. <td> const</td>
  852. </tr>
  853. </table>
  854. </div><div class="memdoc">
  855. <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>
  856. </div>
  857. </div>
  858. <a class="anchor" id="abe5d459e7552ca13b127c682e0d9caab"></a>
  859. <div class="memitem">
  860. <div class="memproto">
  861. <table class="memname">
  862. <tr>
  863. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator= </td>
  864. <td>(</td>
  865. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  866. <td class="paramname"><em>other</em></td><td>)</td>
  867. <td></td>
  868. </tr>
  869. </table>
  870. </div><div class="memdoc">
  871. <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>
  872. </div>
  873. </div>
  874. <a class="anchor" id="a2f7ccfb9e28fa3bb172be9f0446caafd"></a>
  875. <div class="memitem">
  876. <div class="memproto">
  877. <table class="memname">
  878. <tr>
  879. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator= </td>
  880. <td>(</td>
  881. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  882. <td class="paramname"><em>f</em></td><td>)</td>
  883. <td></td>
  884. </tr>
  885. </table>
  886. </div><div class="memdoc">
  887. <p>assign values to various periods in set <em>f</em> </p>
  888. </div>
  889. </div>
  890. <a class="anchor" id="a4f11ded4c5383cc3fcd3684d0aa43892"></a>
  891. <div class="memitem">
  892. <div class="memproto">
  893. <table class="memname">
  894. <tr>
  895. <td class="memname">bool boost::locale::date_time::operator== </td>
  896. <td>(</td>
  897. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  898. <td class="paramname"><em>other</em></td><td>)</td>
  899. <td> const</td>
  900. </tr>
  901. </table>
  902. </div><div class="memdoc">
  903. <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>
  904. </div>
  905. </div>
  906. <a class="anchor" id="a1907c677ae9b7d0736705df8ad58b3aa"></a>
  907. <div class="memitem">
  908. <div class="memproto">
  909. <table class="memname">
  910. <tr>
  911. <td class="memname">bool boost::locale::date_time::operator&gt; </td>
  912. <td>(</td>
  913. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  914. <td class="paramname"><em>other</em></td><td>)</td>
  915. <td> const</td>
  916. </tr>
  917. </table>
  918. </div><div class="memdoc">
  919. <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>
  920. </div>
  921. </div>
  922. <a class="anchor" id="a4d807fa280bbe8d88efbc9a05f4a2d7c"></a>
  923. <div class="memitem">
  924. <div class="memproto">
  925. <table class="memname">
  926. <tr>
  927. <td class="memname">bool boost::locale::date_time::operator&gt;= </td>
  928. <td>(</td>
  929. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const &amp;&#160;</td>
  930. <td class="paramname"><em>other</em></td><td>)</td>
  931. <td> const</td>
  932. </tr>
  933. </table>
  934. </div><div class="memdoc">
  935. <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>
  936. </div>
  937. </div>
  938. <a class="anchor" id="a3a53ba943cb5140bafbfbda3d44b4083"></a>
  939. <div class="memitem">
  940. <div class="memproto">
  941. <table class="mlabels">
  942. <tr>
  943. <td class="mlabels-left">
  944. <table class="memname">
  945. <tr>
  946. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&gt;&gt; </td>
  947. <td>(</td>
  948. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  949. <td class="paramname"><em>f</em></td><td>)</td>
  950. <td> const</td>
  951. </tr>
  952. </table>
  953. </td>
  954. <td class="mlabels-right">
  955. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  956. </tr>
  957. </table>
  958. </div><div class="memdoc">
  959. <p>roll backward a date by single period f. </p>
  960. </div>
  961. </div>
  962. <a class="anchor" id="a50f73791a4a5b4b4a32483030d20e324"></a>
  963. <div class="memitem">
  964. <div class="memproto">
  965. <table class="memname">
  966. <tr>
  967. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&gt;&gt; </td>
  968. <td>(</td>
  969. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  970. <td class="paramname"><em>v</em></td><td>)</td>
  971. <td> const</td>
  972. </tr>
  973. </table>
  974. </div><div class="memdoc">
  975. <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>
  976. </div>
  977. </div>
  978. <a class="anchor" id="ad7132f1fb92d1703925b4d3d054c0c19"></a>
  979. <div class="memitem">
  980. <div class="memproto">
  981. <table class="memname">
  982. <tr>
  983. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator&gt;&gt; </td>
  984. <td>(</td>
  985. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  986. <td class="paramname"><em>v</em></td><td>)</td>
  987. <td> const</td>
  988. </tr>
  989. </table>
  990. </div><div class="memdoc">
  991. <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>
  992. </div>
  993. </div>
  994. <a class="anchor" id="a178faa979338310b9a92370a3618fa0e"></a>
  995. <div class="memitem">
  996. <div class="memproto">
  997. <table class="mlabels">
  998. <tr>
  999. <td class="mlabels-left">
  1000. <table class="memname">
  1001. <tr>
  1002. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&gt;&gt;= </td>
  1003. <td>(</td>
  1004. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  1005. <td class="paramname"><em>f</em></td><td>)</td>
  1006. <td></td>
  1007. </tr>
  1008. </table>
  1009. </td>
  1010. <td class="mlabels-right">
  1011. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1012. </tr>
  1013. </table>
  1014. </div><div class="memdoc">
  1015. <p>roll backward a date by single period f. </p>
  1016. </div>
  1017. </div>
  1018. <a class="anchor" id="a4605cf04447095908cba7a1cba700b9e"></a>
  1019. <div class="memitem">
  1020. <div class="memproto">
  1021. <table class="memname">
  1022. <tr>
  1023. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&gt;&gt;= </td>
  1024. <td>(</td>
  1025. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const &amp;&#160;</td>
  1026. <td class="paramname"><em>v</em></td><td>)</td>
  1027. <td></td>
  1028. </tr>
  1029. </table>
  1030. </div><div class="memdoc">
  1031. <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>
  1032. </div>
  1033. </div>
  1034. <a class="anchor" id="a797242365127dae7142f0a950c4e4e78"></a>
  1035. <div class="memitem">
  1036. <div class="memproto">
  1037. <table class="memname">
  1038. <tr>
  1039. <td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const&amp; boost::locale::date_time::operator&gt;&gt;= </td>
  1040. <td>(</td>
  1041. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const &amp;&#160;</td>
  1042. <td class="paramname"><em>v</em></td><td>)</td>
  1043. <td></td>
  1044. </tr>
  1045. </table>
  1046. </div><div class="memdoc">
  1047. <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>
  1048. </div>
  1049. </div>
  1050. <a class="anchor" id="a4c0ed3be4d5d3bb44014a2ea12927ff8"></a>
  1051. <div class="memitem">
  1052. <div class="memproto">
  1053. <table class="memname">
  1054. <tr>
  1055. <td class="memname">void boost::locale::date_time::set </td>
  1056. <td>(</td>
  1057. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
  1058. <td class="paramname"><em>f</em>, </td>
  1059. </tr>
  1060. <tr>
  1061. <td class="paramkey"></td>
  1062. <td></td>
  1063. <td class="paramtype">int&#160;</td>
  1064. <td class="paramname"><em>v</em>&#160;</td>
  1065. </tr>
  1066. <tr>
  1067. <td></td>
  1068. <td>)</td>
  1069. <td></td><td></td>
  1070. </tr>
  1071. </table>
  1072. </div><div class="memdoc">
  1073. <p>set specific period <em>f</em> value to <em>v</em> </p>
  1074. <dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#a2">calendar.cpp</a>.</dd>
  1075. </dl>
  1076. </div>
  1077. </div>
  1078. <a class="anchor" id="a704626c84b012080f5e0b73db3d080fb"></a>
  1079. <div class="memitem">
  1080. <div class="memproto">
  1081. <table class="memname">
  1082. <tr>
  1083. <td class="memname">void boost::locale::date_time::swap </td>
  1084. <td>(</td>
  1085. <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> &amp;&#160;</td>
  1086. <td class="paramname"><em>other</em></td><td>)</td>
  1087. <td></td>
  1088. </tr>
  1089. </table>
  1090. </div><div class="memdoc">
  1091. <p>swaps two dates - efficient, does not throw </p>
  1092. </div>
  1093. </div>
  1094. <a class="anchor" id="a17aa2b54462ebcf1860f8e4db9f7868e"></a>
  1095. <div class="memitem">
  1096. <div class="memproto">
  1097. <table class="memname">
  1098. <tr>
  1099. <td class="memname">double boost::locale::date_time::time </td>
  1100. <td>(</td>
  1101. <td class="paramname"></td><td>)</td>
  1102. <td> const</td>
  1103. </tr>
  1104. </table>
  1105. </div><div class="memdoc">
  1106. <p>Get POSIX time</p>
  1107. <p>The POSIX time is number of seconds since January 1st, 1970 00:00 UTC, ignoring leap seconds. </p>
  1108. </div>
  1109. </div>
  1110. <a class="anchor" id="a71bc51cd2ef635dfb0da6c0b740dcb5f"></a>
  1111. <div class="memitem">
  1112. <div class="memproto">
  1113. <table class="memname">
  1114. <tr>
  1115. <td class="memname">void boost::locale::date_time::time </td>
  1116. <td>(</td>
  1117. <td class="paramtype">double&#160;</td>
  1118. <td class="paramname"><em>v</em></td><td>)</td>
  1119. <td></td>
  1120. </tr>
  1121. </table>
  1122. </div><div class="memdoc">
  1123. <p>set POSIX time</p>
  1124. <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>
  1125. </div>
  1126. </div>
  1127. <hr/>The documentation for this class was generated from the following file:<ul>
  1128. <li>boost/locale/<a class="el" href="date__time_8hpp_source.html">date_time.hpp</a></li>
  1129. </ul>
  1130. </div><!-- contents -->
  1131. </div><!-- doc-content -->
  1132. <li class="footer">
  1133. &copy; 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.
  1134. </li>
  1135. </ul>
  1136. </div>
  1137. </body>
  1138. </html>