1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Class template time_zone_names_base</title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries"> |
---|
8 | <link rel="up" href="date_time/doxy.html#id2473483" title="Header <boost/date_time/time_zone_names.hpp>"> |
---|
9 | <link rel="prev" href="id2473370.html" title="Class template dst_adjustment_offsets"> |
---|
10 | <link rel="next" href="data_not_accessible.html" title="Struct data_not_accessible"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="id2473370.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2473483"><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="data_not_accessible.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="time_zone_names_base"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Class template time_zone_names_base</span></h2> |
---|
29 | <p>boost::date_time::time_zone_names_base — Base type that holds various string names for timezone output. </p> |
---|
30 | </div> |
---|
31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
32 | <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><<span class="bold"><strong>typename</strong></span> CharT = <span class="bold"><strong>char</strong></span>> |
---|
33 | <span class="bold"><strong>class</strong></span> time_zone_names_base { |
---|
34 | <span class="bold"><strong>public</strong></span>: |
---|
35 | <span class="emphasis"><em>// types</em></span> |
---|
36 | <span class="bold"><strong>typedef</strong></span> std::basic_string< CharT > string_type; |
---|
37 | |
---|
38 | <span class="emphasis"><em>// <a href="time_zone_names_base.html#time_zone_names_baseconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
---|
39 | <a href="time_zone_names_base.html#id2473595-bb">time_zone_names_base</a>(<span class="bold"><strong>const</strong></span> string_type &, <span class="bold"><strong>const</strong></span> string_type &, |
---|
40 | <span class="bold"><strong>const</strong></span> string_type &, <span class="bold"><strong>const</strong></span> string_type &); |
---|
41 | |
---|
42 | <span class="emphasis"><em>// <a href="time_zone_names_base.html#id2473539-bb">public member functions</a></em></span> |
---|
43 | <span class="type">string_type</span> <a href="time_zone_names_base.html#id2473544-bb">dst_zone_abbrev</a>() <span class="bold"><strong>const</strong></span>; |
---|
44 | <span class="type">string_type</span> <a href="time_zone_names_base.html#id2473556-bb">std_zone_abbrev</a>() <span class="bold"><strong>const</strong></span>; |
---|
45 | <span class="type">string_type</span> <a href="time_zone_names_base.html#id2473569-bb">dst_zone_name</a>() <span class="bold"><strong>const</strong></span>; |
---|
46 | <span class="type">string_type</span> <a href="time_zone_names_base.html#id2473581-bb">std_zone_name</a>() <span class="bold"><strong>const</strong></span>; |
---|
47 | };</pre></div> |
---|
48 | <div class="refsect1" lang="en"> |
---|
49 | <a name="id2665112"></a><h2>Description</h2> |
---|
50 | <p>Class that holds various types of strings used for timezones. For example, for the western United States there is the full name: Pacific Standard Time and the abbreviated name: PST. During daylight savings there are additional names: Pacific Daylight Time and PDT. CharT Allows class to support different character types </p> |
---|
51 | <div class="refsect2" lang="en"> |
---|
52 | <a name="id2665123"></a><h3> |
---|
53 | <a name="time_zone_names_baseconstruct-copy-destruct"></a><code class="computeroutput">time_zone_names_base</code> construct/copy/destruct</h3> |
---|
54 | <div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id2473595-bb"></a>time_zone_names_base(<span class="bold"><strong>const</strong></span> string_type & std_zone_name, |
---|
55 | <span class="bold"><strong>const</strong></span> string_type & std_zone_abbrev, |
---|
56 | <span class="bold"><strong>const</strong></span> string_type & dst_zone_name, |
---|
57 | <span class="bold"><strong>const</strong></span> string_type & dst_zone_abbrev);</pre></li></ol></div> |
---|
58 | </div> |
---|
59 | <div class="refsect2" lang="en"> |
---|
60 | <a name="id2665187"></a><h3> |
---|
61 | <a name="id2473539-bb"></a><code class="computeroutput">time_zone_names_base</code> public member functions</h3> |
---|
62 | <div class="orderedlist"><ol type="1"> |
---|
63 | <li><pre class="literallayout"><span class="type">string_type</span> <a name="id2473544-bb"></a>dst_zone_abbrev() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
64 | <li><pre class="literallayout"><span class="type">string_type</span> <a name="id2473556-bb"></a>std_zone_abbrev() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
65 | <li><pre class="literallayout"><span class="type">string_type</span> <a name="id2473569-bb"></a>dst_zone_name() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
66 | <li><pre class="literallayout"><span class="type">string_type</span> <a name="id2473581-bb"></a>std_zone_name() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
67 | </ol></div> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | </div> |
---|
71 | <table width="100%"><tr> |
---|
72 | <td align="left"></td> |
---|
73 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
---|
74 | </tr></table> |
---|
75 | <hr> |
---|
76 | <div class="spirit-nav"> |
---|
77 | <a accesskey="p" href="id2473370.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2473483"><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="data_not_accessible.html"><img src="images/next.png" alt="Next"></a> |
---|
78 | </div> |
---|
79 | </body> |
---|
80 | </html> |
---|