summaryrefslogtreecommitdiff
path: root/doc/html/first_kday_before.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/first_kday_before.html')
-rw-r--r--doc/html/first_kday_before.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/doc/html/first_kday_before.html b/doc/html/first_kday_before.html
new file mode 100644
index 0000000000..01dcaf62ec
--- /dev/null
+++ b/doc/html/first_kday_before.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Class template first_kday_before</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="The Boost C++ Libraries">
+<link rel="up" href="date_time/doxy.html#id1109842" title="Header &lt;boost/date_time/date_generators.hpp&gt;">
+<link rel="prev" href="first_kday_after.html" title="Class template first_kday_after">
+<link rel="next" href="days_until_weekday.html" title="Function template days_until_weekday">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.htm">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="../../people/people.htm">People</a></td>
+<td align="center"><a href="../../more/faq.htm">FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="first_kday_after.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id1109842"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="days_until_weekday.html"><img src="images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="first_kday_before"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Class template first_kday_before</span></h2>
+<p>boost::date_time::first_kday_before &#8212; Calculate something like "First Sunday before Jan 1,2002. </p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
+<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> date_type&gt;
+<span class="bold"><strong>class</strong></span> first_kday_before {
+<span class="bold"><strong>public</strong></span>:
+  <span class="emphasis"><em>// types</em></span>
+  <span class="bold"><strong>typedef</strong></span> date_type::calendar_type        calendar_type;   
+  <span class="bold"><strong>typedef</strong></span> calendar_type::day_of_week_type day_of_week_type;
+  <span class="bold"><strong>typedef</strong></span> date_type::duration_type        duration_type;   
+
+  <span class="emphasis"><em>// <a href="first_kday_before.html#first_kday_beforeconstruct-copy-destruct">construct/copy/destruct</a></em></span>
+  <a href="first_kday_before.html#id826948-bb">first_kday_before</a>(day_of_week_type);
+
+  <span class="emphasis"><em>// <a href="first_kday_before.html#id1079950-bb">public member functions</a></em></span>
+  <span class="type">date_type</span> <a href="first_kday_before.html#id802966-bb">get_date</a>(date_type) <span class="bold"><strong>const</strong></span>;
+  <span class="type">day_of_week_type</span> <a href="first_kday_before.html#id901019-bb">day_of_week</a>() <span class="bold"><strong>const</strong></span>;
+};</pre></div>
+<div class="refsect1" lang="en">
+<a name="id1076004"></a><h2>Description</h2>
+<p>Date generator that takes a date and finds kday after </p>
+<pre class="programlisting"> typedef boost::date_time::first_kday_before&lt;date&gt; firstkdaybefore;
+ firstkdaybefore fkbf(Monday);
+ fkbf.get_date(date(2002,Feb,1));
+</pre>
+<div class="refsect2" lang="en">
+<a name="id1076015"></a><h3>
+<a name="first_kday_beforeconstruct-copy-destruct"></a><code class="computeroutput">first_kday_before</code> construct/copy/destruct</h3>
+<div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id826948-bb"></a>first_kday_before(day_of_week_type dow);</pre></li></ol></div>
+</div>
+<div class="refsect2" lang="en">
+<a name="id1076056"></a><h3>
+<a name="id1079950-bb"></a><code class="computeroutput">first_kday_before</code> public member functions</h3>
+<div class="orderedlist"><ol type="1">
+<li><pre class="literallayout"><span class="type">date_type</span> <a name="id802966-bb"></a>get_date(date_type start_day) <span class="bold"><strong>const</strong></span>;</pre></li>
+<li><pre class="literallayout"><span class="type">day_of_week_type</span> <a name="id901019-bb"></a>day_of_week() <span class="bold"><strong>const</strong></span>;</pre></li>
+</ol></div>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="first_kday_after.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id1109842"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="days_until_weekday.html"><img src="images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>