1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/xhtml;charset=UTF-8"/>
5 <meta http-equiv=
"X-UA-Compatible" content=
"IE=9"/>
6 <meta name=
"generator" content=
"Doxygen 1.8.6"/>
7 <title>Boost.Locale: boost::locale::date_time_period_set Class Reference
</title>
8 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
9 <script type=
"text/javascript" src=
"jquery.js"></script>
10 <script type=
"text/javascript" src=
"dynsections.js"></script>
11 <link href=
"navtree.css" rel=
"stylesheet" type=
"text/css"/>
12 <script type=
"text/javascript" src=
"resize.js"></script>
13 <script type=
"text/javascript" src=
"navtree.js"></script>
14 <script type=
"text/javascript">
15 $(document).ready(initResizable);
16 $(window).load(resizeHeight);
18 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css" />
21 <div id=
"top"><!-- do not remove this div, it is closed by doxygen! -->
23 <table cellspacing=
"0" cellpadding=
"0">
25 <tr style=
"height: 56px;">
26 <td id=
"projectlogo"><img alt=
"Logo" src=
"boost-small.png"/></td>
27 <td style=
"padding-left: 0.5em;">
28 <div id=
"projectname">Boost.Locale
35 <!-- end header part -->
36 <!-- Generated by Doxygen 1.8.6 -->
37 <div id=
"navrow1" class=
"tabs">
39 <li><a href=
"index.html"><span>Main
 Page
</span></a></li>
40 <li><a href=
"pages.html"><span>Related
 Pages
</span></a></li>
41 <li><a href=
"modules.html"><span>Modules
</span></a></li>
42 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
43 <li class=
"current"><a href=
"annotated.html"><span>Classes
</span></a></li>
44 <li><a href=
"files.html"><span>Files
</span></a></li>
45 <li><a href=
"examples.html"><span>Examples
</span></a></li>
48 <div id=
"navrow2" class=
"tabs2">
50 <li><a href=
"annotated.html"><span>Class
 List
</span></a></li>
51 <li><a href=
"hierarchy.html"><span>Class
 Hierarchy
</span></a></li>
52 <li><a href=
"functions.html"><span>Class
 Members
</span></a></li>
56 <div id=
"side-nav" class=
"ui-resizable side-nav-resizable">
58 <div id=
"nav-tree-contents">
59 <div id=
"nav-sync" class=
"sync"></div>
62 <div id=
"splitbar" style=
"-moz-user-select:none;"
63 class=
"ui-resizable-handle">
66 <script type=
"text/javascript">
67 $(document).ready(function(){initNavTree('classboost_1_1locale_1_1date__time__period__set.html','');});
69 <div id=
"doc-content">
72 <a href=
"#pub-methods">Public Member Functions
</a> |
73 <a href=
"classboost_1_1locale_1_1date__time__period__set-members.html">List of all members
</a> </div>
74 <div class=
"headertitle">
75 <div class=
"title">boost::locale::date_time_period_set Class Reference
<div class=
"ingroups"><a class=
"el" href=
"group__date__time.html">Date, Time, Timezone and Calendar manipulations
</a></div></div> </div>
77 <div class=
"contents">
79 <p>this class that represents a set of periods,
80 <a href=
"classboost_1_1locale_1_1date__time__period__set.html#details">More...
</a></p>
82 <p><code>#include
<<a class=
"el" href=
"date__time_8hpp_source.html">boost/locale/date_time.hpp
</a>></code></p>
83 <table class=
"memberdecls">
84 <tr class=
"heading"><td colspan=
"2"><h2 class=
"groupheader"><a name=
"pub-methods"></a>
85 Public Member Functions
</h2></td></tr>
86 <tr class=
"memitem:a635b8d91c4c8da99857810e42a0aff65"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a635b8d91c4c8da99857810e42a0aff65">date_time_period_set
</a> ()
</td></tr>
87 <tr class=
"separator:a635b8d91c4c8da99857810e42a0aff65"><td class=
"memSeparator" colspan=
"2"> </td></tr>
88 <tr class=
"memitem:a0966962f5da78fc06121d1455efcbbae"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a0966962f5da78fc06121d1455efcbbae">date_time_period_set
</a> (
<a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> f)
</td></tr>
89 <tr class=
"separator:a0966962f5da78fc06121d1455efcbbae"><td class=
"memSeparator" colspan=
"2"> </td></tr>
90 <tr class=
"memitem:a144842e64250343d87aaff270a9b53a0"><td class=
"memItemLeft" align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a144842e64250343d87aaff270a9b53a0">date_time_period_set
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
&fl)
</td></tr>
91 <tr class=
"separator:a144842e64250343d87aaff270a9b53a0"><td class=
"memSeparator" colspan=
"2"> </td></tr>
92 <tr class=
"memitem:a0e70247c1738dbf6869e6d8c04461893"><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a0e70247c1738dbf6869e6d8c04461893">add
</a> (
<a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> f)
</td></tr>
93 <tr class=
"separator:a0e70247c1738dbf6869e6d8c04461893"><td class=
"memSeparator" colspan=
"2"> </td></tr>
94 <tr class=
"memitem:a0b726bd57ce8b631de89bbf404b8df2a"><td class=
"memItemLeft" align=
"right" valign=
"top">size_t
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a0b726bd57ce8b631de89bbf404b8df2a">size
</a> () const
</td></tr>
95 <tr class=
"separator:a0b726bd57ce8b631de89bbf404b8df2a"><td class=
"memSeparator" colspan=
"2"> </td></tr>
96 <tr class=
"memitem:a177a4c3cb2de3b5c9b5fe5738660eba4"><td class=
"memItemLeft" align=
"right" valign=
"top"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classboost_1_1locale_1_1date__time__period__set.html#a177a4c3cb2de3b5c9b5fe5738660eba4">operator[]
</a> (size_t n) const
</td></tr>
97 <tr class=
"separator:a177a4c3cb2de3b5c9b5fe5738660eba4"><td class=
"memSeparator" colspan=
"2"> </td></tr>
99 <a name=
"details" id=
"details"></a><h2 class=
"groupheader">Detailed Description
</h2>
100 <div class=
"textblock"><p>this class that represents a set of periods,
</p>
101 <p>It is generally created by operations on periods:
1995*year +
3*month +
1*day. Note: operations are not commutative.
</p>
102 </div><h2 class=
"groupheader">Constructor
& Destructor Documentation
</h2>
103 <a class=
"anchor" id=
"a635b8d91c4c8da99857810e42a0aff65"></a>
104 <div class=
"memitem">
105 <div class=
"memproto">
106 <table class=
"mlabels">
108 <td class=
"mlabels-left">
109 <table class=
"memname">
111 <td class=
"memname">boost::locale::date_time_period_set::date_time_period_set
</td>
113 <td class=
"paramname"></td><td>)
</td>
118 <td class=
"mlabels-right">
119 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
122 </div><div class=
"memdoc">
123 <p>Default constructor - empty set
</p>
127 <a class=
"anchor" id=
"a0966962f5da78fc06121d1455efcbbae"></a>
128 <div class=
"memitem">
129 <div class=
"memproto">
130 <table class=
"mlabels">
132 <td class=
"mlabels-left">
133 <table class=
"memname">
135 <td class=
"memname">boost::locale::date_time_period_set::date_time_period_set
</td>
137 <td class=
"paramtype"><a class=
"el" href=
"classboost_1_1locale_1_1period_1_1period__type.html">period::period_type
</a> </td>
138 <td class=
"paramname"><em>f
</em></td><td>)
</td>
143 <td class=
"mlabels-right">
144 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
147 </div><div class=
"memdoc">
148 <p>Create a set of single period with value
1 </p>
152 <a class=
"anchor" id=
"a144842e64250343d87aaff270a9b53a0"></a>
153 <div class=
"memitem">
154 <div class=
"memproto">
155 <table class=
"mlabels">
157 <td class=
"mlabels-left">
158 <table class=
"memname">
160 <td class=
"memname">boost::locale::date_time_period_set::date_time_period_set
</td>
162 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& </td>
163 <td class=
"paramname"><em>fl
</em></td><td>)
</td>
168 <td class=
"mlabels-right">
169 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
172 </div><div class=
"memdoc">
173 <p>Create a set of single period
<em>fl
</em> </p>
177 <h2 class=
"groupheader">Member Function Documentation
</h2>
178 <a class=
"anchor" id=
"a0e70247c1738dbf6869e6d8c04461893"></a>
179 <div class=
"memitem">
180 <div class=
"memproto">
181 <table class=
"mlabels">
183 <td class=
"mlabels-left">
184 <table class=
"memname">
186 <td class=
"memname">void boost::locale::date_time_period_set::add
</td>
188 <td class=
"paramtype"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> </td>
189 <td class=
"paramname"><em>f
</em></td><td>)
</td>
194 <td class=
"mlabels-right">
195 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
198 </div><div class=
"memdoc">
199 <p>Append
<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> <em>f
</em> to the set
</p>
203 <a class=
"anchor" id=
"a177a4c3cb2de3b5c9b5fe5738660eba4"></a>
204 <div class=
"memitem">
205 <div class=
"memproto">
206 <table class=
"mlabels">
208 <td class=
"mlabels-left">
209 <table class=
"memname">
211 <td class=
"memname"><a class=
"el" href=
"structboost_1_1locale_1_1date__time__period.html">date_time_period
</a> const
& boost::locale::date_time_period_set::operator[]
</td>
213 <td class=
"paramtype">size_t
 </td>
214 <td class=
"paramname"><em>n
</em></td><td>)
</td>
219 <td class=
"mlabels-right">
220 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
223 </div><div class=
"memdoc">
224 <p>Get item at position
<em>n
</em> the set, n should be in range [
0,size)
</p>
228 <a class=
"anchor" id=
"a0b726bd57ce8b631de89bbf404b8df2a"></a>
229 <div class=
"memitem">
230 <div class=
"memproto">
231 <table class=
"mlabels">
233 <td class=
"mlabels-left">
234 <table class=
"memname">
236 <td class=
"memname">size_t boost::locale::date_time_period_set::size
</td>
238 <td class=
"paramname"></td><td>)
</td>
243 <td class=
"mlabels-right">
244 <span class=
"mlabels"><span class=
"mlabel">inline
</span></span> </td>
247 </div><div class=
"memdoc">
248 <p>Get number if items in list
</p>
252 <hr/>The documentation for this class was generated from the following file:
<ul>
253 <li>boost/locale/
<a class=
"el" href=
"date__time_8hpp_source.html">date_time.hpp
</a></li>
255 </div><!-- contents -->
256 </div><!-- doc-content -->
259 © 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.