1191 lines
79 KiB
HTML
1191 lines
79 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>Boost.Locale: boost::locale::date_time Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Boost.Locale
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('classboost_1_1locale_1_1date__time.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="classboost_1_1locale_1_1date__time-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<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>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>this class represents a date time and allows to perform various operation according to the locale settings.
|
|
<a href="classboost_1_1locale_1_1date__time.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="date__time_8hpp_source.html">boost/locale/date_time.hpp</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<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>
|
|
<tr class="separator:ae7a3b74e7512ddc4d618eb1f51c3d2b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a7d98e552f2ff8a421a5c226102ba0138"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a45008e76b980e7487e3d61b8372d67ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:abe5d459e7552ca13b127c682e0d9caab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:addfee06ea6efa5fdca252191176b5756"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ab806af3aee6d70057d1f8e6fbfd09216"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ada52e84093a2775db6e0b3c399b0b9cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:abfa9db762ab227427778d8fc3c2bf73d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a871745debde77a28f5fbc6e2b2a5f869"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a2f7ccfb9e28fa3bb172be9f0446caafd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a4c0ed3be4d5d3bb44014a2ea12927ff8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:af6436a546d3b944238f9fa952e5e18bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ac2a3a8f6fdba552b19e478bb6757523e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a0df3596add1804b1f64d363fea181fe2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ac870c0fcba5814cd91bb9c63823e280a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ab3117067df65d1c33e89ab375f03d27c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a38468aff1a820dc1c41a2a8280120848"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a22d2b503e2d58c7e2983b89c69ed13bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a3a53ba943cb5140bafbfbda3d44b4083"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ae71279d6e8dcc984fe3703b61d545416"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a178faa979338310b9a92370a3618fa0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a4e23796608a8ef0cbd5338f21d220a73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:af83662eb6a5d2298cda9159f5277a563"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a7116785ff9f8b5f403e10a24b9b4477d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a6780aae474f33f0a64e7b457789d7524"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:afc9286cc1d2ad907200a3d9ba5d91c00"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a50f73791a4a5b4b4a32483030d20e324"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:aa95d61963c07fb1e39d01d099a4c281a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a4605cf04447095908cba7a1cba700b9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:aa362fdfe044d1c56c4fe939bd3d406bc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a464e16b35656568b21f34cb8b3e2c81a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a1e5c7d2a8fed92d1e71f3dda2548b637"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ae03dfadaf23e2ff93ae3d456dd3eb05f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a2fb78903ee3c27d320798a72bb29a0b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:ad7132f1fb92d1703925b4d3d054c0c19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a048c4e2a1967351e84006177c14ef5e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a797242365127dae7142f0a950c4e4e78"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a17aa2b54462ebcf1860f8e4db9f7868e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a71bc51cd2ef635dfb0da6c0b740dcb5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a4f11ded4c5383cc3fcd3684d0aa43892"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a289953d80af568f86ddf533c0b161663"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a7b27ad955eade1013a43336e2a17adec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a1907c677ae9b7d0736705df8ad58b3aa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a76c5b0bbc01bd561c25cb83f26e5f535"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a4d807fa280bbe8d88efbc9a05f4a2d7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a704626c84b012080f5e0b73db3d080fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a36df44f891d2a39ca16f57e568b67a3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a3363a0c562300095432a17e472d2e52d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:adb258ce11408b62bc0f14a60a05f0752"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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>
|
|
<tr class="separator:a047e6e010df55fee166dcb3c9e7d3b95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>this class represents a date time and allows to perform various operation according to the locale settings. </p>
|
|
<p>This class allows to manipulate various aspects of dates and times easily using arithmetic operations with periods.</p>
|
|
<p>General arithmetic functions:</p>
|
|
<ul>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
</ul>
|
|
<p>You can also assign specific periods using assignment operator like: some_time = year * 1995 that sets the year to 1995. </p>
|
|
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#_a1">calendar.cpp</a>.</dd>
|
|
</dl></div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="ae7a3b74e7512ddc4d618eb1f51c3d2b0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7d98e552f2ff8a421a5c226102ba0138"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a45008e76b980e7487e3d61b8372d67ae"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>set</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="addfee06ea6efa5fdca252191176b5756"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>time</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab806af3aee6d70057d1f8e6fbfd09216"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>time</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const & </td>
|
|
<td class="paramname"><em>cal</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ada52e84093a2775db6e0b3c399b0b9cf"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const & </td>
|
|
<td class="paramname"><em>cal</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abfa9db762ab227427778d8fc3c2bf73d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>set</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a871745debde77a28f5fbc6e2b2a5f869"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boost::locale::date_time::date_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>set</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const & </td>
|
|
<td class="paramname"><em>cal</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a36df44f891d2a39ca16f57e568b67a3d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int boost::locale::date_time::difference </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af6436a546d3b944238f9fa952e5e18bd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int boost::locale::date_time::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>get specific period <em>f</em> value </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a047e6e010df55fee166dcb3c9e7d3b95"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::is_in_daylight_saving_time </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Check if *this time point is in daylight saving time </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adb258ce11408b62bc0f14a60a05f0752"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int boost::locale::date_time::maximum </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3363a0c562300095432a17e472d2e52d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int boost::locale::date_time::minimum </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get minimal possible value for *this time point for a period <em>f</em>. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a289953d80af568f86ddf533c0b161663"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0df3596add1804b1f64d363fea181fe2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4e23796608a8ef0cbd5338f21d220a73"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa362fdfe044d1c56c4fe939bd3d406bc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab3117067df65d1c33e89ab375f03d27c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7116785ff9f8b5f403e10a24b9b4477d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1e5c7d2a8fed92d1e71f3dda2548b637"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac870c0fcba5814cd91bb9c63823e280a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af83662eb6a5d2298cda9159f5277a563"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a464e16b35656568b21f34cb8b3e2c81a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a38468aff1a820dc1c41a2a8280120848"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6780aae474f33f0a64e7b457789d7524"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae03dfadaf23e2ff93ae3d456dd3eb05f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac2a3a8f6fdba552b19e478bb6757523e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int boost::locale::date_time::operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>syntactic sugar for get(f) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7b27ad955eade1013a43336e2a17adec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a22d2b503e2d58c7e2983b89c69ed13bd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>roll forward a date by single period f. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afc9286cc1d2ad907200a3d9ba5d91c00"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2fb78903ee3c27d320798a72bb29a0b0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae71279d6e8dcc984fe3703b61d545416"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator<<= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>roll forward a date by single period f. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa95d61963c07fb1e39d01d099a4c281a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator<<= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a048c4e2a1967351e84006177c14ef5e2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator<<= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a76c5b0bbc01bd561c25cb83f26e5f535"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator<= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abe5d459e7552ca13b127c682e0d9caab"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2f7ccfb9e28fa3bb172be9f0446caafd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>assign values to various periods in set <em>f</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4f11ded4c5383cc3fcd3684d0aa43892"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1907c677ae9b7d0736705df8ad58b3aa"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4d807fa280bbe8d88efbc9a05f4a2d7c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool boost::locale::date_time::operator>= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3a53ba943cb5140bafbfbda3d44b4083"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>roll backward a date by single period f. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50f73791a4a5b4b4a32483030d20e324"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad7132f1fb92d1703925b4d3d054c0c19"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> boost::locale::date_time::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a178faa979338310b9a92370a3618fa0e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator>>= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>roll backward a date by single period f. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4605cf04447095908cba7a1cba700b9e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator>>= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structboost_1_1locale_1_1date__time__period.html">date_time_period</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a797242365127dae7142f0a950c4e4e78"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> const& boost::locale::date_time::operator>>= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time__period__set.html">date_time_period_set</a> const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4c0ed3be4d5d3bb44014a2ea12927ff8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void boost::locale::date_time::set </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a> </td>
|
|
<td class="paramname"><em>f</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>v</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>set specific period <em>f</em> value to <em>v</em> </p>
|
|
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#a2">calendar.cpp</a>.</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a704626c84b012080f5e0b73db3d080fb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void boost::locale::date_time::swap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1date__time.html">date_time</a> & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>swaps two dates - efficient, does not throw </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a17aa2b54462ebcf1860f8e4db9f7868e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double boost::locale::date_time::time </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get POSIX time</p>
|
|
<p>The POSIX time is number of seconds since January 1st, 1970 00:00 UTC, ignoring leap seconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a71bc51cd2ef635dfb0da6c0b740dcb5f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void boost::locale::date_time::time </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>set POSIX time</p>
|
|
<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>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>boost/locale/<a class="el" href="date__time_8hpp_source.html">date_time.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
|
|
<li class="footer">
|
|
© Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|