locale/doc/html/classboost_1_1locale_1_1calendar.html
2015-10-18 17:31:48 +03:00

433 lines
24 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::calendar 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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1calendar.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classboost_1_1locale_1_1calendar-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">boost::locale::calendar 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 provides an access to general calendar information.
<a href="classboost_1_1locale_1_1calendar.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="date__time_8hpp_source.html">boost/locale/date_time.hpp</a>&gt;</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:a889746f73b03bb21f5c8459cbe9b293d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a889746f73b03bb21f5c8459cbe9b293d">calendar</a> (std::ios_base &amp;ios)</td></tr>
<tr class="separator:a889746f73b03bb21f5c8459cbe9b293d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece160bf9ded6145ac5a066448085bae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#aece160bf9ded6145ac5a066448085bae">calendar</a> (std::locale const &amp;l, std::string const &amp;zone)</td></tr>
<tr class="separator:aece160bf9ded6145ac5a066448085bae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f47a96941c041996da64384bc5879d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#ad9f47a96941c041996da64384bc5879d">calendar</a> (std::locale const &amp;l)</td></tr>
<tr class="separator:ad9f47a96941c041996da64384bc5879d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9538c3aab4b8eaf7229ed2d9af18328"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#af9538c3aab4b8eaf7229ed2d9af18328">calendar</a> (std::string const &amp;zone)</td></tr>
<tr class="separator:af9538c3aab4b8eaf7229ed2d9af18328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56c55c24fbbb29fac5a18c44d3a27beb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a56c55c24fbbb29fac5a18c44d3a27beb">calendar</a> ()</td></tr>
<tr class="separator:a56c55c24fbbb29fac5a18c44d3a27beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad33ad15b5b032ba5234ebe5959159668"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#ad33ad15b5b032ba5234ebe5959159668">calendar</a> (<a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;other)</td></tr>
<tr class="separator:ad33ad15b5b032ba5234ebe5959159668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7125a6c3f3d629f871ddb0f3c2f5a181"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a7125a6c3f3d629f871ddb0f3c2f5a181">operator=</a> (<a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;other)</td></tr>
<tr class="separator:a7125a6c3f3d629f871ddb0f3c2f5a181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6670c7319dcaec257819b7a802d2c5f7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a6670c7319dcaec257819b7a802d2c5f7">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:a6670c7319dcaec257819b7a802d2c5f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2475ee3ebb107e47701cf732532f9f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a3c2475ee3ebb107e47701cf732532f9f">greatest_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:a3c2475ee3ebb107e47701cf732532f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd88cbf4c3b9f072430f9e7d9ab2d744"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#abd88cbf4c3b9f072430f9e7d9ab2d744">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:abd88cbf4c3b9f072430f9e7d9ab2d744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c708d889ef92487982d918a78be5eda"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a4c708d889ef92487982d918a78be5eda">least_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:a4c708d889ef92487982d918a78be5eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8144b98a316798476040348483fe2a6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8144b98a316798476040348483fe2a6e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a8144b98a316798476040348483fe2a6e">first_day_of_week</a> () const </td></tr>
<tr class="memdesc:a8144b98a316798476040348483fe2a6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get first day of week for specific calendar, for example for US it is 1 - Sunday for France it is 2 - Monday. <br/></td></tr>
<tr class="separator:a8144b98a316798476040348483fe2a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf669f493ef0226aefbb6d13db8c27d1"><td class="memItemLeft" align="right" valign="top">std::locale&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#aaf669f493ef0226aefbb6d13db8c27d1">get_locale</a> () const </td></tr>
<tr class="separator:aaf669f493ef0226aefbb6d13db8c27d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4063debebd6cc08cf25171ce5ee220e"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#af4063debebd6cc08cf25171ce5ee220e">get_time_zone</a> () const </td></tr>
<tr class="separator:af4063debebd6cc08cf25171ce5ee220e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a657ece3d3d59b8fc3c817bc05227620b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a657ece3d3d59b8fc3c817bc05227620b">is_gregorian</a> () const </td></tr>
<tr class="separator:a657ece3d3d59b8fc3c817bc05227620b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8939fba5987659b3153cb18eea9af969"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#a8939fba5987659b3153cb18eea9af969">operator==</a> (<a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;other) const </td></tr>
<tr class="separator:a8939fba5987659b3153cb18eea9af969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d93fe1d3bfb7b66f8ef631ede93236"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1calendar.html#ab0d93fe1d3bfb7b66f8ef631ede93236">operator!=</a> (<a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;other) const </td></tr>
<tr class="separator:ab0d93fe1d3bfb7b66f8ef631ede93236"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a7c627d823bfb1186af76ed36016cbb31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c627d823bfb1186af76ed36016cbb31"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>date_time</b></td></tr>
<tr class="separator:a7c627d823bfb1186af76ed36016cbb31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>this class provides an access to general calendar information. </p>
<p>This information is not connected to specific date but generic to locale, and timezone. It is used in obtaining general information about calendar and is essential for creation of <a class="el" href="classboost_1_1locale_1_1date__time.html" title="this class represents a date time and allows to perform various operation according to the locale set...">date_time</a> objects. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#_a7">calendar.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a889746f73b03bb21f5c8459cbe9b293d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramtype">std::ios_base &amp;&#160;</td>
<td class="paramname"><em>ios</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create calendar taking locale and timezone information from ios_base instance.</p>
<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if ios does not have a locale with installed <a class="el" href="classboost_1_1locale_1_1calendar__facet.html">calendar_facet</a> facet installed </dd></dl>
</div>
</div>
<a class="anchor" id="aece160bf9ded6145ac5a066448085bae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramtype">std::locale const &amp;&#160;</td>
<td class="paramname"><em>l</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string const &amp;&#160;</td>
<td class="paramname"><em>zone</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create calendar with locale <em>l</em> and <a class="el" href="namespaceboost_1_1locale_1_1time__zone.html" title="namespace that holds functions for operating with global time zone ">time_zone</a> <em>zone</em> </p>
<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc 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="ad9f47a96941c041996da64384bc5879d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramtype">std::locale const &amp;&#160;</td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create calendar with locale <em>l</em> and default timezone</p>
<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc 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="af9538c3aab4b8eaf7229ed2d9af18328"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramtype">std::string const &amp;&#160;</td>
<td class="paramname"><em>zone</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create calendar with default locale and timezone <em>zone</em> </p>
<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if 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="a56c55c24fbbb29fac5a18c44d3a27beb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create calendar with default locale and timezone</p>
<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if 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="ad33ad15b5b032ba5234ebe5959159668"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::locale::calendar::calendar </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>copy calendar </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aaf669f493ef0226aefbb6d13db8c27d1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::locale boost::locale::calendar::get_locale </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>get calendar's locale </p>
</div>
</div>
<a class="anchor" id="af4063debebd6cc08cf25171ce5ee220e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string boost::locale::calendar::get_time_zone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>get calendar's time zone </p>
</div>
</div>
<a class="anchor" id="a3c2475ee3ebb107e47701cf732532f9f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int boost::locale::calendar::greatest_minimum </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get greatest possible minimum value for period f, For example for <a class="el" href="namespaceboost_1_1locale_1_1period.html#a72438d8d7da8493457e043aa442f0d9d">period::day</a> it is 1, but may be different for other calendars. </p>
</div>
</div>
<a class="anchor" id="a657ece3d3d59b8fc3c817bc05227620b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool boost::locale::calendar::is_gregorian </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the calendar is Gregorian </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="calendar_8cpp-example.html#a8">calendar.cpp</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a4c708d889ef92487982d918a78be5eda"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int boost::locale::calendar::least_maximum </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get least maximum value for period f, For example for Gregorian calendar's maximum <a class="el" href="namespaceboost_1_1locale_1_1period.html#a72438d8d7da8493457e043aa442f0d9d">period::day</a> it is 28. </p>
</div>
</div>
<a class="anchor" id="abd88cbf4c3b9f072430f9e7d9ab2d744"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int boost::locale::calendar::maximum </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get maximum value for period f, For example for Gregorian calendar's maximum <a class="el" href="namespaceboost_1_1locale_1_1period.html#a72438d8d7da8493457e043aa442f0d9d">period::day</a> it is 31. </p>
</div>
</div>
<a class="anchor" id="a6670c7319dcaec257819b7a802d2c5f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int boost::locale::calendar::minimum </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1period_1_1period__type.html">period::period_type</a>&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get minimum value for period f, For example for <a class="el" href="namespaceboost_1_1locale_1_1period.html#a72438d8d7da8493457e043aa442f0d9d">period::day</a> it is 1. </p>
</div>
</div>
<a class="anchor" id="ab0d93fe1d3bfb7b66f8ef631ede93236"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool boost::locale::calendar::operator!= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Opposite of == </p>
</div>
</div>
<a class="anchor" id="a7125a6c3f3d629f871ddb0f3c2f5a181"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const&amp; boost::locale::calendar::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>assign calendar </p>
</div>
</div>
<a class="anchor" id="a8939fba5987659b3153cb18eea9af969"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool boost::locale::calendar::operator== </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1calendar.html">calendar</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare calendars for equivalence: i.e. calendar types, time zones etc. </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">
&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.
</li>
</ul>
</div>
</body>
</html>