summaryrefslogtreecommitdiff
path: root/doc/html/boost/date_time/gregorian_calendar_base.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:38:45 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:39:52 +0900
commit5cde13f21d36c7224b0e13d11c4b49379ae5210d (patch)
treee8269ac85a4b0f7d416e2565fa4f451b5cb41351 /doc/html/boost/date_time/gregorian_calendar_base.html
parentd9ec475d945d3035377a0d89ed42e382d8988891 (diff)
downloadboost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.gz
boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.bz2
boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.zip
Imported Upstream version 1.61.0
Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/boost/date_time/gregorian_calendar_base.html')
-rw-r--r--doc/html/boost/date_time/gregorian_calendar_base.html58
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/boost/date_time/gregorian_calendar_base.html b/doc/html/boost/date_time/gregorian_calendar_base.html
index 6f9256bf48..bb57fba11e 100644
--- a/doc/html/boost/date_time/gregorian_calendar_base.html
+++ b/doc/html/boost/date_time/gregorian_calendar_base.html
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template gregorian_calendar_base</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#header.boost.date_time.gregorian_calendar_hpp" title="Header &lt;boost/date_time/gregorian_calendar.hpp&gt;">
<link rel="prev" href="var_string_to_int.html" title="Function template var_string_to_int">
@@ -42,40 +42,40 @@
<span class="keyword">typedef</span> <span class="identifier">ymd_type</span><span class="special">::</span><span class="identifier">year_type</span> <a name="boost.date_time.gregorian_calendar_base.year_type"></a><span class="identifier">year_type</span><span class="special">;</span> <span class="comment">// Type to hold a stand alone year value (eg: 2002) </span>
<span class="keyword">typedef</span> <span class="identifier">date_int_type_</span> <a name="boost.date_time.gregorian_calendar_base.date_int_type"></a><span class="identifier">date_int_type</span><span class="special">;</span> <span class="comment">// Define the integer type to use for internal calculations. </span>
- <span class="comment">// <a class="link" href="gregorian_calendar_base.html#idm45507136693536-bb">public static functions</a></span>
- <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idm45507136692976-bb"><span class="identifier">day_of_week</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">int</span> <a class="link" href="gregorian_calendar_base.html#idm45507096203072-bb"><span class="identifier">week_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507101315760-bb"><span class="identifier">day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507103892064-bb"><span class="identifier">julian_day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507107106928-bb"><span class="identifier">modjulian_day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507107105120-bb"><span class="identifier">from_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507129229360-bb"><span class="identifier">from_julian_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507135918096-bb"><span class="identifier">from_modjulian_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">bool</span> <a class="link" href="gregorian_calendar_base.html#idm45507160275984-bb"><span class="identifier">is_leap_year</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idm45507138151904-bb"><span class="identifier">end_of_month_day</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">,</span> <span class="identifier">month_type</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idm45507086460320-bb"><span class="identifier">epoch</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idm45507086459200-bb"><span class="identifier">days_in_week</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="gregorian_calendar_base.html#idp86921760-bb">public static functions</a></span>
+ <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idp8074208-bb"><span class="identifier">day_of_week</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">int</span> <a class="link" href="gregorian_calendar_base.html#idp63394240-bb"><span class="identifier">week_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idp44225232-bb"><span class="identifier">day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idp81595056-bb"><span class="identifier">julian_day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">date_int_type</span> <a class="link" href="gregorian_calendar_base.html#idp84360848-bb"><span class="identifier">modjulian_day_number</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idp75748224-bb"><span class="identifier">from_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idp72371584-bb"><span class="identifier">from_julian_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idp67767344-bb"><span class="identifier">from_modjulian_day_number</span></a><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">bool</span> <a class="link" href="gregorian_calendar_base.html#idp81602352-bb"><span class="identifier">is_leap_year</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idp84373232-bb"><span class="identifier">end_of_month_day</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">,</span> <span class="identifier">month_type</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">ymd_type</span> <a class="link" href="gregorian_calendar_base.html#idp64913424-bb"><span class="identifier">epoch</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a class="link" href="gregorian_calendar_base.html#idp42819936-bb"><span class="identifier">days_in_week</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
-<a name="idm45555369640352"></a><h2>Description</h2>
+<a name="idp114983600"></a><h2>Description</h2>
<p>This is a parameterized implementation of a proleptic Gregorian Calendar that can be used in the creation of date systems or just to perform calculations. All the methods of this class are static functions, so the intent is to never create instances of this class.
</p>
<div class="refsect2">
-<a name="idm45555369639392"></a><h3>
-<a name="idm45507136693536-bb"></a><code class="computeroutput">gregorian_calendar_base</code> public static functions</h3>
+<a name="idp114984560"></a><h3>
+<a name="idp86921760-bb"></a><code class="computeroutput">gregorian_calendar_base</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idm45507136692976-bb"></a><span class="identifier">day_of_week</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">int</span> <a name="idm45507096203072-bb"></a><span class="identifier">week_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idm45507101315760-bb"></a><span class="identifier">day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idm45507103892064-bb"></a><span class="identifier">julian_day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idm45507107106928-bb"></a><span class="identifier">modjulian_day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idm45507107105120-bb"></a><span class="identifier">from_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idm45507129229360-bb"></a><span class="identifier">from_julian_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idm45507135918096-bb"></a><span class="identifier">from_modjulian_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">bool</span> <a name="idm45507160275984-bb"></a><span class="identifier">is_leap_year</span><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idm45507138151904-bb"></a><span class="identifier">end_of_month_day</span><span class="special">(</span><span class="identifier">year_type</span> y<span class="special">,</span> <span class="identifier">month_type</span> m<span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idm45507086460320-bb"></a><span class="identifier">epoch</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idm45507086459200-bb"></a><span class="identifier">days_in_week</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idp8074208-bb"></a><span class="identifier">day_of_week</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">int</span> <a name="idp63394240-bb"></a><span class="identifier">week_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idp44225232-bb"></a><span class="identifier">day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idp81595056-bb"></a><span class="identifier">julian_day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">date_int_type</span> <a name="idp84360848-bb"></a><span class="identifier">modjulian_day_number</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ymd_type</span> <span class="special">&amp;</span> ymd<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idp75748224-bb"></a><span class="identifier">from_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idp72371584-bb"></a><span class="identifier">from_julian_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idp67767344-bb"></a><span class="identifier">from_modjulian_day_number</span><span class="special">(</span><span class="identifier">date_int_type</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">bool</span> <a name="idp81602352-bb"></a><span class="identifier">is_leap_year</span><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idp84373232-bb"></a><span class="identifier">end_of_month_day</span><span class="special">(</span><span class="identifier">year_type</span> y<span class="special">,</span> <span class="identifier">month_type</span> m<span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">ymd_type</span> <a name="idp64913424-bb"></a><span class="identifier">epoch</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <a name="idp42819936-bb"></a><span class="identifier">days_in_week</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>