• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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">
3<head>
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/time_zone.hpp Source File</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);
17</script>
18<link href="doxygen.css" rel="stylesheet" type="text/css" />
19</head>
20<body>
21<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
22<div id="titlearea">
23<table cellspacing="0" cellpadding="0">
24 <tbody>
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
29   </div>
30  </td>
31 </tr>
32 </tbody>
33</table>
34</div>
35<!-- end header part -->
36<!-- Generated by Doxygen 1.8.6 -->
37  <div id="navrow1" class="tabs">
38    <ul class="tablist">
39      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
40      <li><a href="pages.html"><span>Related&#160;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><a href="annotated.html"><span>Classes</span></a></li>
44      <li class="current"><a href="files.html"><span>Files</span></a></li>
45      <li><a href="examples.html"><span>Examples</span></a></li>
46    </ul>
47  </div>
48  <div id="navrow2" class="tabs2">
49    <ul class="tablist">
50      <li><a href="files.html"><span>File&#160;List</span></a></li>
51    </ul>
52  </div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55  <div id="nav-tree">
56    <div id="nav-tree-contents">
57      <div id="nav-sync" class="sync"></div>
58    </div>
59  </div>
60  <div id="splitbar" style="-moz-user-select:none;"
61       class="ui-resizable-handle">
62  </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('time__zone_8hpp_source.html','');});
66</script>
67<div id="doc-content">
68<div class="header">
69  <div class="headertitle">
70<div class="title">time_zone.hpp</div>  </div>
71</div><!--header-->
72<div class="contents">
73<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
74<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span></div>
75<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//</span></div>
76<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//  Distributed under the Boost Software License, Version 1.0. (See</span></div>
77<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  accompanying file LICENSE_1_0.txt or copy at</span></div>
78<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  http://www.boost.org/LICENSE_1_0.txt)</span></div>
79<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
80<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED</span></div>
81<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED</span></div>
82<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span></div>
83<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;boost/locale/config.hpp&gt;</span></div>
84<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
85<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(push)</span></div>
86<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(disable : 4275 4251 4231 4660)</span></div>
87<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
88<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor"></span></div>
89<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
90<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
91<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
92<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">namespace </span>boost {</div>
93<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="keyword">namespace </span>locale {</div>
94<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
95<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale_1_1time__zone.html">   31</a></span>&#160;        <span class="keyword">namespace </span><a class="code" href="group__manipulators.html#gad51fbdc634fe0c81e5183915e9eeb238">time_zone</a> {</div>
96<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;            BOOST_LOCALE_DECL std::string <a class="code" href="namespaceboost_1_1locale_1_1time__zone.html#a41f0e37ead92b29f6d09377070bbe398">global</a>();</div>
97<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;            BOOST_LOCALE_DECL std::string <a class="code" href="namespaceboost_1_1locale_1_1time__zone.html#a41f0e37ead92b29f6d09377070bbe398">global</a>(std::string <span class="keyword">const</span> &amp;new_tz);</div>
98<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        }</div>
99<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
100<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
101<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    } <span class="comment">// locale</span></div>
102<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;} <span class="comment">// boost</span></div>
103<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
104<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
105<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
106<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
107<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor"></span></div>
108<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
109<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div>
110<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor"></span></div>
111<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
112<div class="ttc" id="namespaceboost_1_1locale_1_1time__zone_html_a41f0e37ead92b29f6d09377070bbe398"><div class="ttname"><a href="namespaceboost_1_1locale_1_1time__zone.html#a41f0e37ead92b29f6d09377070bbe398">boost::locale::time_zone::global</a></div><div class="ttdeci">std::string global()</div></div>
113<div class="ttc" id="group__manipulators_html_gad51fbdc634fe0c81e5183915e9eeb238"><div class="ttname"><a href="group__manipulators.html#gad51fbdc634fe0c81e5183915e9eeb238">boost::locale::as::time_zone</a></div><div class="ttdeci">unspecified_type time_zone(char const *id)</div><div class="ttdef"><b>Definition:</b> formatting.hpp:634</div></div>
114</div><!-- fragment --></div><!-- contents -->
115</div><!-- doc-content -->
116
117    <li class="footer">
118&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.
119    </li>
120   </ul>
121 </div>
122</body>
123</html>
124