Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates > by-pkgid > 67d6f1fcdf59eeb6f1363fc33c40091c > files > 304

icu-doc-53.1-12.6.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ICU 53.1: icu::TimeZone Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 53.1
   &#160;<span id="projectnumber">53.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::TimeZone Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> represents a time zone offset, and also figures out daylight savings.  
 <a href="classicu_1_1TimeZone.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="timezone_8h_source.html">timezone.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::TimeZone:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1TimeZone.png" usemap="#icu::TimeZone_map" alt=""/>
  <map id="icu::TimeZone_map" name="icu::TimeZone_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="161,56,312,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="161,0,312,24"/>
<area href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone. " alt="icu::BasicTimeZone" shape="rect" coords="161,168,312,192"/>
<area href="classicu_1_1RuleBasedTimeZone.html" title="a BasicTimeZone subclass implemented in terms of InitialTimeZoneRule and TimeZoneRule instances ..." alt="icu::RuleBasedTimeZone" shape="rect" coords="0,224,151,248"/>
<area href="classicu_1_1SimpleTimeZone.html" title="SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregoria..." alt="icu::SimpleTimeZone" shape="rect" coords="161,224,312,248"/>
<area href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE. " alt="icu::VTimeZone" shape="rect" coords="322,224,473,248"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a07cc5464421c1ae84f55ada930cf03df"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">EDisplayType</a> { <br/>
&#160;&#160;<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfacf8bdac105168cf42e9350f7f5b2c73b">SHORT</a> = 1, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfa7cb5bca16851d6d844e8d6360cae706d">LONG</a>, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfa50f1bd07adb2c6bad3e01ad18b616ad8">SHORT_GENERIC</a>, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfac8036ecae72c354b247ef735b0096f2b">LONG_GENERIC</a>, 
<br/>
&#160;&#160;<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfa822f7f90bbb88684c1704f3f1bd3b023">SHORT_GMT</a>, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfa420d51b41effa0a91b731fcf7cd79113">LONG_GMT</a>, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfa2e85e4887a95c53621a9bce58b163da7">SHORT_COMMONLY_USED</a>, 
<a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03dfabe884fb56c078112aee71c80496eb11d">GENERIC_LOCATION</a>
<br/>
 }</td></tr>
<tr class="memdesc:a07cc5464421c1ae84f55ada930cf03df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enum for use with getDisplayName.  <a href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">More...</a><br/></td></tr>
<tr class="separator:a07cc5464421c1ae84f55ada930cf03df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae5a525aeedacb363322421aa6d4e6399"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ae5a525aeedacb363322421aa6d4e6399">~TimeZone</a> ()</td></tr>
<tr class="separator:ae5a525aeedacb363322421aa6d4e6399"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c2b510e0d3d56ccc00de547b39efa80"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a8c2b510e0d3d56ccc00de547b39efa80">operator==</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;that) const </td></tr>
<tr class="memdesc:a8c2b510e0d3d56ccc00de547b39efa80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the two TimeZones are equal.  <a href="#a8c2b510e0d3d56ccc00de547b39efa80">More...</a><br/></td></tr>
<tr class="separator:a8c2b510e0d3d56ccc00de547b39efa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb82ab341bda5d2ad69df3b5684f70c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#aeb82ab341bda5d2ad69df3b5684f70c1">operator!=</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;that) const </td></tr>
<tr class="memdesc:aeb82ab341bda5d2ad69df3b5684f70c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the two TimeZones are NOT equal; that is, if <a class="el" href="classicu_1_1TimeZone.html#a8c2b510e0d3d56ccc00de547b39efa80" title="Returns true if the two TimeZones are equal. ">operator==()</a> returns false.  <a href="#aeb82ab341bda5d2ad69df3b5684f70c1">More...</a><br/></td></tr>
<tr class="separator:aeb82ab341bda5d2ad69df3b5684f70c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46ea292ce977f08f7a1b4868994b5914"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a46ea292ce977f08f7a1b4868994b5914">getOffset</a> (uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:a46ea292ce977f08f7a1b4868994b5914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get local time in this time zone, taking daylight savings time into account) as of a particular reference date.  <a href="#a46ea292ce977f08f7a1b4868994b5914">More...</a><br/></td></tr>
<tr class="separator:a46ea292ce977f08f7a1b4868994b5914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab374d74c511e2941c63f6f4d54c3eda7"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ab374d74c511e2941c63f6f4d54c3eda7">getOffset</a> (uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t milliseconds, int32_t monthLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:ab374d74c511e2941c63f6f4d54c3eda7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings.  <a href="#ab374d74c511e2941c63f6f4d54c3eda7">More...</a><br/></td></tr>
<tr class="separator:ab374d74c511e2941c63f6f4d54c3eda7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026e66c6f698915089c3a3ab29dfd80b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a026e66c6f698915089c3a3ab29dfd80b">getOffset</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> local, int32_t &amp;rawOffset, int32_t &amp;dstOffset, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec) const </td></tr>
<tr class="memdesc:a026e66c6f698915089c3a3ab29dfd80b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time zone raw and GMT offset for the given moment in time.  <a href="#a026e66c6f698915089c3a3ab29dfd80b">More...</a><br/></td></tr>
<tr class="separator:a026e66c6f698915089c3a3ab29dfd80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19c3aad4a860a75067855605aaeb8e1e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a19c3aad4a860a75067855605aaeb8e1e">setRawOffset</a> (int32_t offsetMillis)=0</td></tr>
<tr class="memdesc:a19c3aad4a860a75067855605aaeb8e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account).  <a href="#a19c3aad4a860a75067855605aaeb8e1e">More...</a><br/></td></tr>
<tr class="separator:a19c3aad4a860a75067855605aaeb8e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d5dfcbaec14010c151344752b9eea8"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a36d5dfcbaec14010c151344752b9eea8">getRawOffset</a> (void) const =0</td></tr>
<tr class="memdesc:a36d5dfcbaec14010c151344752b9eea8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account).  <a href="#a36d5dfcbaec14010c151344752b9eea8">More...</a><br/></td></tr>
<tr class="separator:a36d5dfcbaec14010c151344752b9eea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f14022d9a7fb76fae459a1d10af4a7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a9f14022d9a7fb76fae459a1d10af4a7d">getID</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;ID) const </td></tr>
<tr class="memdesc:a9f14022d9a7fb76fae459a1d10af4a7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "ID" with the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID.  <a href="#a9f14022d9a7fb76fae459a1d10af4a7d">More...</a><br/></td></tr>
<tr class="separator:a9f14022d9a7fb76fae459a1d10af4a7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b6daa38728e1015f22d121b45f74dda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a1b6daa38728e1015f22d121b45f74dda">setID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;ID)</td></tr>
<tr class="memdesc:a1b6daa38728e1015f22d121b45f74dda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID to the specified value.  <a href="#a1b6daa38728e1015f22d121b45f74dda">More...</a><br/></td></tr>
<tr class="separator:a1b6daa38728e1015f22d121b45f74dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3e2c4c68641d422543d4dffa68bf57a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ab3e2c4c68641d422543d4dffa68bf57a">getDisplayName</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:ab3e2c4c68641d422543d4dffa68bf57a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a name of this time zone suitable for presentation to the user in the default locale.  <a href="#ab3e2c4c68641d422543d4dffa68bf57a">More...</a><br/></td></tr>
<tr class="separator:ab3e2c4c68641d422543d4dffa68bf57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae60bc25c08e20c0e0ed3c675e11ec9fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ae60bc25c08e20c0e0ed3c675e11ec9fe">getDisplayName</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:ae60bc25c08e20c0e0ed3c675e11ec9fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a name of this time zone suitable for presentation to the user in the specified locale.  <a href="#ae60bc25c08e20c0e0ed3c675e11ec9fe">More...</a><br/></td></tr>
<tr class="separator:ae60bc25c08e20c0e0ed3c675e11ec9fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3a0b64d0a45bd2145c0aa699bc519bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ab3a0b64d0a45bd2145c0aa699bc519bb">getDisplayName</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> daylight, <a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">EDisplayType</a> style, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:ab3a0b64d0a45bd2145c0aa699bc519bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a name of this time zone suitable for presentation to the user in the default locale.  <a href="#ab3a0b64d0a45bd2145c0aa699bc519bb">More...</a><br/></td></tr>
<tr class="separator:ab3a0b64d0a45bd2145c0aa699bc519bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7330eac5e0d8ab0ec566bc33d480e8b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a7330eac5e0d8ab0ec566bc33d480e8b0">getDisplayName</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> daylight, <a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">EDisplayType</a> style, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a7330eac5e0d8ab0ec566bc33d480e8b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a name of this time zone suitable for presentation to the user in the specified locale.  <a href="#a7330eac5e0d8ab0ec566bc33d480e8b0">More...</a><br/></td></tr>
<tr class="separator:a7330eac5e0d8ab0ec566bc33d480e8b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a838c7663925e7d1805475c2c5053d416"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a838c7663925e7d1805475c2c5053d416">useDaylightTime</a> (void) const =0</td></tr>
<tr class="memdesc:a838c7663925e7d1805475c2c5053d416"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if this time zone uses daylight savings time.  <a href="#a838c7663925e7d1805475c2c5053d416">More...</a><br/></td></tr>
<tr class="separator:a838c7663925e7d1805475c2c5053d416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9698381477a6f59ead590bb8917c1a4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ad9698381477a6f59ead590bb8917c1a4">inDaylightTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:ad9698381477a6f59ead590bb8917c1a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if the given date is in daylight savings time in this time zone.  <a href="#ad9698381477a6f59ead590bb8917c1a4">More...</a><br/></td></tr>
<tr class="separator:ad9698381477a6f59ead590bb8917c1a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e240212db4c8f714286a739506abb5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#af7e240212db4c8f714286a739506abb5">hasSameRules</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;other) const </td></tr>
<tr class="memdesc:af7e240212db4c8f714286a739506abb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this zone has the same rule and offset as another zone.  <a href="#af7e240212db4c8f714286a739506abb5">More...</a><br/></td></tr>
<tr class="separator:af7e240212db4c8f714286a739506abb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb3568dd3c62e6dcb55a74037535bcbb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#adb3568dd3c62e6dcb55a74037535bcbb">clone</a> (void) const =0</td></tr>
<tr class="memdesc:adb3568dd3c62e6dcb55a74037535bcbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clones <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> objects polymorphically.  <a href="#adb3568dd3c62e6dcb55a74037535bcbb">More...</a><br/></td></tr>
<tr class="separator:adb3568dd3c62e6dcb55a74037535bcbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01e831eb651448ff2fdf7d825de19663"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a01e831eb651448ff2fdf7d825de19663">getDynamicClassID</a> (void) const =0</td></tr>
<tr class="memdesc:a01e831eb651448ff2fdf7d825de19663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#a01e831eb651448ff2fdf7d825de19663">More...</a><br/></td></tr>
<tr class="separator:a01e831eb651448ff2fdf7d825de19663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed17d2111fc563c6a5169a9d17acb98"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a8ed17d2111fc563c6a5169a9d17acb98">getDSTSavings</a> () const </td></tr>
<tr class="memdesc:a8ed17d2111fc563c6a5169a9d17acb98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the amount of time to be added to local standard time to get local wall clock time.  <a href="#a8ed17d2111fc563c6a5169a9d17acb98">More...</a><br/></td></tr>
<tr class="separator:a8ed17d2111fc563c6a5169a9d17acb98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br/></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adef7a2ddaf2f28f0912fe1a3142d5de7"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#adef7a2ddaf2f28f0912fe1a3142d5de7">getUnknown</a> ()</td></tr>
<tr class="memdesc:adef7a2ddaf2f28f0912fe1a3142d5de7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the "unknown" time zone.  <a href="#adef7a2ddaf2f28f0912fe1a3142d5de7">More...</a><br/></td></tr>
<tr class="separator:adef7a2ddaf2f28f0912fe1a3142d5de7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40570c8194c931f9340465371151cda"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ab40570c8194c931f9340465371151cda">getGMT</a> (void)</td></tr>
<tr class="memdesc:ab40570c8194c931f9340465371151cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">The GMT (=UTC) time zone has a raw offset of zero and does not use daylight savings time.  <a href="#ab40570c8194c931f9340465371151cda">More...</a><br/></td></tr>
<tr class="separator:ab40570c8194c931f9340465371151cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35da0507b62754ffe5d8d59c19775cdb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb">createTimeZone</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;ID)</td></tr>
<tr class="memdesc:a35da0507b62754ffe5d8d59c19775cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> for the given ID.  <a href="#a35da0507b62754ffe5d8d59c19775cdb">More...</a><br/></td></tr>
<tr class="separator:a35da0507b62754ffe5d8d59c19775cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a667313ec7d27682aec7f87c6ffe43742"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a667313ec7d27682aec7f87c6ffe43742">createTimeZoneIDEnumeration</a> (<a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a> zoneType, const char *region, const int32_t *rawOffset, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a667313ec7d27682aec7f87c6ffe43742"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over system time zone IDs with the given filter conditions.  <a href="#a667313ec7d27682aec7f87c6ffe43742">More...</a><br/></td></tr>
<tr class="separator:a667313ec7d27682aec7f87c6ffe43742"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf0d7245523395b3d68f62ffe358857d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#abf0d7245523395b3d68f62ffe358857d">createEnumeration</a> ()</td></tr>
<tr class="memdesc:abf0d7245523395b3d68f62ffe358857d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over all recognized time zone IDs.  <a href="#abf0d7245523395b3d68f62ffe358857d">More...</a><br/></td></tr>
<tr class="separator:abf0d7245523395b3d68f62ffe358857d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafb457e44cbce8b88500039f4f62c2ad"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#aafb457e44cbce8b88500039f4f62c2ad">createEnumeration</a> (int32_t rawOffset)</td></tr>
<tr class="memdesc:aafb457e44cbce8b88500039f4f62c2ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over time zone IDs with a given raw offset from GMT.  <a href="#aafb457e44cbce8b88500039f4f62c2ad">More...</a><br/></td></tr>
<tr class="separator:aafb457e44cbce8b88500039f4f62c2ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0551537c4a47e07ac4708126a517bdb5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a0551537c4a47e07ac4708126a517bdb5">createEnumeration</a> (const char *country)</td></tr>
<tr class="memdesc:a0551537c4a47e07ac4708126a517bdb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over time zone IDs associated with the given country.  <a href="#a0551537c4a47e07ac4708126a517bdb5">More...</a><br/></td></tr>
<tr class="separator:a0551537c4a47e07ac4708126a517bdb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a947eebfd2f8206121cdddeda0dfbedd5"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a947eebfd2f8206121cdddeda0dfbedd5">countEquivalentIDs</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id)</td></tr>
<tr class="memdesc:a947eebfd2f8206121cdddeda0dfbedd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of IDs in the equivalency group that includes the given ID.  <a href="#a947eebfd2f8206121cdddeda0dfbedd5">More...</a><br/></td></tr>
<tr class="separator:a947eebfd2f8206121cdddeda0dfbedd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accdd724734f285010e327690376a67af"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#accdd724734f285010e327690376a67af">getEquivalentID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, int32_t index)</td></tr>
<tr class="memdesc:accdd724734f285010e327690376a67af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an ID in the equivalency group that includes the given ID.  <a href="#accdd724734f285010e327690376a67af">More...</a><br/></td></tr>
<tr class="separator:accdd724734f285010e327690376a67af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc42dd35187faaf9e755b9a3be47d16b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b">createDefault</a> (void)</td></tr>
<tr class="memdesc:acc42dd35187faaf9e755b9a3be47d16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new copy of the default <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> for this host.  <a href="#acc42dd35187faaf9e755b9a3be47d16b">More...</a><br/></td></tr>
<tr class="separator:acc42dd35187faaf9e755b9a3be47d16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a775b9521f3defdde18658bd6b8ec57"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a9a775b9521f3defdde18658bd6b8ec57">adoptDefault</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zone)</td></tr>
<tr class="memdesc:a9a775b9521f3defdde18658bd6b8ec57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default time zone (i.e., what's returned by <a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b" title="Creates a new copy of the default TimeZone for this host. ">createDefault()</a>) to be the specified time zone.  <a href="#a9a775b9521f3defdde18658bd6b8ec57">More...</a><br/></td></tr>
<tr class="separator:a9a775b9521f3defdde18658bd6b8ec57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f13c95664fa43a3bee9a5d00408a36b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a1f13c95664fa43a3bee9a5d00408a36b">setDefault</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr class="memdesc:a1f13c95664fa43a3bee9a5d00408a36b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="classicu_1_1TimeZone.html#a9a775b9521f3defdde18658bd6b8ec57" title="Sets the default time zone (i.e., what&#39;s returned by createDefault()) to be the specified time zone...">adoptDefault()</a>, except that the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object passed in is NOT adopted; the caller remains responsible for deleting it.  <a href="#a1f13c95664fa43a3bee9a5d00408a36b">More...</a><br/></td></tr>
<tr class="separator:a1f13c95664fa43a3bee9a5d00408a36b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46d7ac676293df7b26c7321177b470e2"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a46d7ac676293df7b26c7321177b470e2">getTZDataVersion</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a46d7ac676293df7b26c7321177b470e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the timezone data version currently used by ICU.  <a href="#a46d7ac676293df7b26c7321177b470e2">More...</a><br/></td></tr>
<tr class="separator:a46d7ac676293df7b26c7321177b470e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7462041e2bc6113c7068081ea5fc5f6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#aa7462041e2bc6113c7068081ea5fc5f6">getCanonicalID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;canonicalID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa7462041e2bc6113c7068081ea5fc5f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID.  <a href="#aa7462041e2bc6113c7068081ea5fc5f6">More...</a><br/></td></tr>
<tr class="separator:aa7462041e2bc6113c7068081ea5fc5f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0360ecb656b6c86b2b44970b7ee5662"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ad0360ecb656b6c86b2b44970b7ee5662">getCanonicalID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;canonicalID, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> &amp;isSystemID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad0360ecb656b6c86b2b44970b7ee5662"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the canonical system time zone ID or the normalized custom time zone ID for the given time zone ID.  <a href="#ad0360ecb656b6c86b2b44970b7ee5662">More...</a><br/></td></tr>
<tr class="separator:ad0360ecb656b6c86b2b44970b7ee5662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216766958df6b1931bb7603ae78d114e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a216766958df6b1931bb7603ae78d114e">getWindowsID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;winid, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a216766958df6b1931bb7603ae78d114e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a system time zone ID to an equivalent Windows time zone ID.  <a href="#a216766958df6b1931bb7603ae78d114e">More...</a><br/></td></tr>
<tr class="separator:a216766958df6b1931bb7603ae78d114e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0872f72c5c3204de3c61502be568d72d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a0872f72c5c3204de3c61502be568d72d">getIDForWindowsID</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;winid, const char *region, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a0872f72c5c3204de3c61502be568d72d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a Windows time zone ID to an equivalent system time zone ID for a region.  <a href="#a0872f72c5c3204de3c61502be568d72d">More...</a><br/></td></tr>
<tr class="separator:a0872f72c5c3204de3c61502be568d72d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13c672b604041624746d936671a3bbd2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a13c672b604041624746d936671a3bbd2">getStaticClassID</a> (void)</td></tr>
<tr class="memdesc:a13c672b604041624746d936671a3bbd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the class ID for this class.  <a href="#a13c672b604041624746d936671a3bbd2">More...</a><br/></td></tr>
<tr class="separator:a13c672b604041624746d936671a3bbd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09239f955bfdcf91ef7612483783c74a"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a09239f955bfdcf91ef7612483783c74a">getRegion</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, char *region, int32_t capacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a09239f955bfdcf91ef7612483783c74a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the region code associated with the given system time zone ID.  <a href="#a09239f955bfdcf91ef7612483783c74a">More...</a><br/></td></tr>
<tr class="separator:a09239f955bfdcf91ef7612483783c74a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae35ad7e36c104585654a7028253fc526"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#ae35ad7e36c104585654a7028253fc526">getRegion</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ae35ad7e36c104585654a7028253fc526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the region code associated with the given zone, or NULL if the zone is not known.  <a href="#ae35ad7e36c104585654a7028253fc526">More...</a><br/></td></tr>
<tr class="separator:ae35ad7e36c104585654a7028253fc526"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa2bd5490d049f9c12aed8d32edad585f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#aa2bd5490d049f9c12aed8d32edad585f">TimeZone</a> ()</td></tr>
<tr class="memdesc:aa2bd5490d049f9c12aed8d32edad585f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aa2bd5490d049f9c12aed8d32edad585f">More...</a><br/></td></tr>
<tr class="separator:aa2bd5490d049f9c12aed8d32edad585f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61809c85d575f67e171648c840185d80"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a61809c85d575f67e171648c840185d80">TimeZone</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;id)</td></tr>
<tr class="memdesc:a61809c85d575f67e171648c840185d80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> with a given ID.  <a href="#a61809c85d575f67e171648c840185d80">More...</a><br/></td></tr>
<tr class="separator:a61809c85d575f67e171648c840185d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4473aca6c7a6ea14a502f44febe1b8a2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a4473aca6c7a6ea14a502f44febe1b8a2">TimeZone</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;source)</td></tr>
<tr class="memdesc:a4473aca6c7a6ea14a502f44febe1b8a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a4473aca6c7a6ea14a502f44febe1b8a2">More...</a><br/></td></tr>
<tr class="separator:a4473aca6c7a6ea14a502f44febe1b8a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b3f170ef0dc76e81249898960b787ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a7b3f170ef0dc76e81249898960b787ba">operator=</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;right)</td></tr>
<tr class="memdesc:a7b3f170ef0dc76e81249898960b787ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="#a7b3f170ef0dc76e81249898960b787ba">More...</a><br/></td></tr>
<tr class="separator:a7b3f170ef0dc76e81249898960b787ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a62008aab8da1a8bfa2ba898675f55e9c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeZone.html#a62008aab8da1a8bfa2ba898675f55e9c">loadRule</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *top, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;ruleid, <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *oldbundle, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a62008aab8da1a8bfa2ba898675f55e9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function.  <a href="#a62008aab8da1a8bfa2ba898675f55e9c">More...</a><br/></td></tr>
<tr class="separator:a62008aab8da1a8bfa2ba898675f55e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a8808011c43a2eec7a74da951efa88175"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8808011c43a2eec7a74da951efa88175"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>ZoneMeta</b></td></tr>
<tr class="separator:a8808011c43a2eec7a74da951efa88175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d2bb775da787ab765afea098bae320f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d2bb775da787ab765afea098bae320f"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>TZEnumeration</b></td></tr>
<tr class="separator:a5d2bb775da787ab765afea098bae320f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> represents a time zone offset, and also figures out daylight savings. </p>
<p>Typically, you get a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> using <code>createDefault</code> which creates a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> based on the time zone where the program is running. For example, for a program running in Japan, <code>createDefault</code> creates a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> object based on Japanese Standard Time.</p>
<p>You can also get a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> using <code>createTimeZone</code> along with a time zone ID. For instance, the time zone ID for the US Pacific Time zone is "America/Los_Angeles". So, you can get a Pacific Time <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> object with:  <blockquote> <pre>
<a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> *tz = <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">TimeZone::createTimeZone</a>("America/Los_Angeles");
</pre>  </blockquote> You can use <code>getAvailableIDs</code> method to iterate through all the supported time zone IDs, or getCanonicalID method to check if a time zone ID is supported or not. You can then choose a supported ID to get a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code>. If the time zone you want is not represented by one of the supported IDs, then you can create a custom time zone ID with the following syntax:</p>
 <blockquote> <pre>
GMT[+|-]hh[[:]mm]
</pre>  </blockquote><p>For example, you might specify GMT+14:00 as a custom time zone ID. The <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> that is returned when you specify a custom time zone ID uses the specified offset from GMT(=UTC) and does not observe daylight saving time. For example, you might specify GMT+14:00 as a custom time zone ID to create a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> representing 14 hours ahead of GMT (with no daylight saving time). In addition, <code>getCanonicalID</code> can also be used to normalize a custom time zone ID.</p>
<p><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is an abstract class representing a time zone. A <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is needed for <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to produce local time for a particular time zone. A <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> comprises three basic pieces of information: </p>
<ul>
<li>
A time zone offset; that, is the number of milliseconds to add or subtract from a time expressed in terms of GMT to convert it to the same time in that time zone (without taking daylight savings time into account). </li>
<li>
Logic necessary to take daylight savings time into account if daylight savings time is observed in that time zone (e.g., the days and hours on which daylight savings time begins and ends). </li>
<li>
An ID. This is a text string that uniquely identifies the time zone. </li>
</ul>
<p>(Only the ID is actually implemented in <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>; subclasses of <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> may handle daylight savings time and GMT offset in different ways. Currently we have the following <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> subclasses: <a class="el" href="classicu_1_1RuleBasedTimeZone.html" title="a BasicTimeZone subclass implemented in terms of InitialTimeZoneRule and TimeZoneRule instances ...">RuleBasedTimeZone</a>, <a class="el" href="classicu_1_1SimpleTimeZone.html" title="SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregoria...">SimpleTimeZone</a>, and <a class="el" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE. ">VTimeZone</a>.) </p>
<p>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> class contains a static list containing a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object for every combination of GMT offset and daylight-savings time rules currently in use in the world, each with a unique ID. Each ID consists of a region (usually a continent or ocean) and a city in that region, separated by a slash, (for example, US Pacific Time is "America/Los_Angeles.") Because older versions of this class used three- or four-letter abbreviations instead, there is also a table that maps the older abbreviations to the newer ones (for example, "PST" maps to "America/Los_Angeles"). Anywhere the API requires an ID, you can use either form. </p>
<p>To create a new <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>, you call the factory function <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">TimeZone::createTimeZone()</a> and pass it a time zone ID. You can use the <a class="el" href="classicu_1_1TimeZone.html#abf0d7245523395b3d68f62ffe358857d" title="Returns an enumeration over all recognized time zone IDs. ">createEnumeration()</a> function to obtain a list of all the time zone IDs recognized by <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">createTimeZone()</a>. </p>
<p>You can also use <a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b" title="Creates a new copy of the default TimeZone for this host. ">TimeZone::createDefault()</a> to create a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>. This function uses platform-specific APIs to produce a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> for the time zone corresponding to the client's computer's physical location. For example, if you're in Japan (assuming your machine is set up correctly), <a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b" title="Creates a new copy of the default TimeZone for this host. ">TimeZone::createDefault()</a> will return a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> for Japanese Standard Time ("Asia/Tokyo"). </p>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00129">129</a> of file <a class="el" href="timezone_8h_source.html">timezone.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a07cc5464421c1ae84f55ada930cf03df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">icu::TimeZone::EDisplayType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enum for use with getDisplayName. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004102">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfacf8bdac105168cf42e9350f7f5b2c73b"></a>SHORT</em>&#160;</td><td class="fielddoc">
<p>Selector for short display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004118">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfa7cb5bca16851d6d844e8d6360cae706d"></a>LONG</em>&#160;</td><td class="fielddoc">
<p>Selector for long display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004119">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfa50f1bd07adb2c6bad3e01ad18b616ad8"></a>SHORT_GENERIC</em>&#160;</td><td class="fielddoc">
<p>Selector for short generic display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004120">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfac8036ecae72c354b247ef735b0096f2b"></a>LONG_GENERIC</em>&#160;</td><td class="fielddoc">
<p>Selector for long generic display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004121">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfa822f7f90bbb88684c1704f3f1bd3b023"></a>SHORT_GMT</em>&#160;</td><td class="fielddoc">
<p>Selector for short display name derived from time zone offset. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004122">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfa420d51b41effa0a91b731fcf7cd79113"></a>LONG_GMT</em>&#160;</td><td class="fielddoc">
<p>Selector for long display name derived from time zone offset. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004123">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfa2e85e4887a95c53621a9bce58b163da7"></a>SHORT_COMMONLY_USED</em>&#160;</td><td class="fielddoc">
<p>Selector for short display name derived from the time zone's fallback name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004124">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a07cc5464421c1ae84f55ada930cf03dfabe884fb56c078112aee71c80496eb11d"></a>GENERIC_LOCATION</em>&#160;</td><td class="fielddoc">
<p>Selector for long display name derived from the time zone's fallback name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004125">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00563">563</a> of file <a class="el" href="timezone_8h_source.html">timezone.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae5a525aeedacb363322421aa6d4e6399"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::TimeZone::~TimeZone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004077">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa2bd5490d049f9c12aed8d32edad585f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::TimeZone::TimeZone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>ID is initialized to the empty string. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004114">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a61809c85d575f67e171648c840185d80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::TimeZone::TimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> with a given ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>a system time zone ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004115">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4473aca6c7a6ea14a502f44febe1b8a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::TimeZone::TimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004116">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9a775b9521f3defdde18658bd6b8ec57"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::TimeZone::adoptDefault </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>zone</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the default time zone (i.e., what's returned by <a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b" title="Creates a new copy of the default TimeZone for this host. ">createDefault()</a>) to be the specified time zone. </p>
<p>If NULL is specified for the time zone, the default time zone is set to the default host time zone. This call adopts the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object passed in; the client is no longer responsible for deleting it.</p>
<p>This function is not thread safe. It is an error for multiple threads to concurrently attempt to set the default time zone, or for any thread to attempt to reference the default zone while another thread is setting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>A pointer to the new <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object to use as the default. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004088">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="adb3568dd3c62e6dcb55a74037535bcbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>* icu::TimeZone::clone </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clones <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> objects polymorphically. </p>
<p>Clients are responsible for deleting the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object cloned.</p>
<dl class="section return"><dt>Returns</dt><dd>A new copy of this <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004109">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a993d9ebcad2b74ae452f6fe53d2e4050">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#ad1188daf3301649f800e197233b2542a">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a05fc2c7562b0b34eefbf214aff586afb">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a947eebfd2f8206121cdddeda0dfbedd5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int32_t icu::TimeZone::countEquivalentIDs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of IDs in the equivalency group that includes the given ID. </p>
<p>An equivalency group contains zones that have the same GMT offset and rules.</p>
<p>The returned count includes the given ID; it is always &gt;= 1. The given ID must be a system time zone. If it is not, returns zero. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>a system time zone ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of zones in the equivalency group containing 'id', or zero if 'id' is not a valid system ID </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classicu_1_1TimeZone.html#accdd724734f285010e327690376a67af" title="Returns an ID in the equivalency group that includes the given ID. ">getEquivalentID</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004085">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acc42dd35187faaf9e755b9a3be47d16b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>* icu::TimeZone::createDefault </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new copy of the default <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> for this host. </p>
<p>Unless the default time zone has already been set using <a class="el" href="classicu_1_1TimeZone.html#a9a775b9521f3defdde18658bd6b8ec57" title="Sets the default time zone (i.e., what&#39;s returned by createDefault()) to be the specified time zone...">adoptDefault()</a> or <a class="el" href="classicu_1_1TimeZone.html#a1f13c95664fa43a3bee9a5d00408a36b" title="Same as adoptDefault(), except that the TimeZone object passed in is NOT adopted; the caller remains ...">setDefault()</a>, the default is determined by querying the system using methods in TPlatformUtilities. If the system routines fail, or if they specify a <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> or <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> offset which is not recognized, the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> indicated by the ID kLastResortID is instantiated and made the default.</p>
<dl class="section return"><dt>Returns</dt><dd>A default <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>. Clients are responsible for deleting the time zone object returned. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004087">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abf0d7245523395b3d68f62ffe358857d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::TimeZone::createEnumeration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an enumeration over all recognized time zone IDs. </p>
<p>(i.e., all strings that <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">createTimeZone()</a> accepts)</p>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object, owned by the caller. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004082">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="aafb457e44cbce8b88500039f4f62c2ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::TimeZone::createEnumeration </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>rawOffset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an enumeration over time zone IDs with a given raw offset from GMT. </p>
<p>There may be several times zones with the same GMT offset that differ in the way they handle daylight savings time. For example, the state of Arizona doesn't observe daylight savings time. If you ask for the time zone IDs corresponding to GMT-7:00, you'll get back an enumeration over two time zone IDs: "America/Denver," which corresponds to Mountain Standard Time in the winter and Mountain Daylight Time in the summer, and "America/Phoenix", which corresponds to Mountain Standard Time year-round, even in the summer.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawOffset</td><td>an offset from GMT in milliseconds, ignoring the effect of daylight savings time, if any </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object, owned by the caller </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004083">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a0551537c4a47e07ac4708126a517bdb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::TimeZone::createEnumeration </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>country</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an enumeration over time zone IDs associated with the given country. </p>
<p>Some zones are affiliated with no country (e.g., "UTC"); these may also be retrieved, as a group.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">country</td><td>The ISO 3166 two-letter country code, or NULL to retrieve zones not affiliated with any country. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object, owned by the caller </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004084">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a35da0507b62754ffe5d8d59c19775cdb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>* icu::TimeZone::createTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> for the given ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ID</td><td>the ID for a <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code>, such as "America/Los_Angeles", or a custom ID such as "GMT-8:00". </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the specified <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code>, or a mutable clone of <a class="el" href="classicu_1_1TimeZone.html#adef7a2ddaf2f28f0912fe1a3142d5de7" title="Returns the &quot;unknown&quot; time zone. ">getUnknown()</a> if the given ID cannot be understood or if the given ID is "Etc/Unknown". The return result is guaranteed to be non-NULL. If you require that the specific zone asked for be returned, compare the result with <a class="el" href="classicu_1_1TimeZone.html#adef7a2ddaf2f28f0912fe1a3142d5de7" title="Returns the &quot;unknown&quot; time zone. ">getUnknown()</a> or check the ID of the return result. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004080">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a667313ec7d27682aec7f87c6ffe43742"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::TimeZone::createTimeZoneIDEnumeration </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a>&#160;</td>
          <td class="paramname"><em>zoneType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int32_t *&#160;</td>
          <td class="paramname"><em>rawOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an enumeration over system time zone IDs with the given filter conditions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneType</td><td>The system time zone type. </td></tr>
    <tr><td class="paramname">region</td><td>The ISO 3166 two-letter country code or UN M.49 three-digit area code. When NULL, no filtering done by region. </td></tr>
    <tr><td class="paramname">rawOffset</td><td>An offset from GMT in milliseconds, ignoring the effect of daylight savings time, if any. When NULL, no filtering done by zone offset. </td></tr>
    <tr><td class="paramname">ec</td><td>Output param to filled in with a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object, owned by the caller. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004081">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aa7462041e2bc6113c7068081ea5fc5f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getCanonicalID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>canonicalID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The input time zone ID to be canonicalized. </td></tr>
    <tr><td class="paramname">canonicalID</td><td>Receives the canonical system time zone ID or the custom time zone ID in normalized format. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. When the given time zone ID is neither a known system time zone ID nor a valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR is set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the result. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004091">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad0360ecb656b6c86b2b44970b7ee5662"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getCanonicalID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>canonicalID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> &amp;&#160;</td>
          <td class="paramname"><em>isSystemID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the canonical system time zone ID or the normalized custom time zone ID for the given time zone ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The input time zone ID to be canonicalized. </td></tr>
    <tr><td class="paramname">canonicalID</td><td>Receives the canonical system time zone ID or the custom time zone ID in normalized format. </td></tr>
    <tr><td class="paramname">isSystemID</td><td>Receives if the given ID is a known system time zone ID. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. When the given time zone ID is neither a known system time zone ID nor a valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR is set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the result. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004092">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab3e2c4c68641d422543d4dffa68bf57a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a name of this time zone suitable for presentation to the user in the default locale. </p>
<p>This method returns the long name, not including daylight savings. If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as <code>GMT[+-]HH:mm</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>the human-readable name of this time zone in the default locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004103">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae60bc25c08e20c0e0ed3c675e11ec9fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a name of this time zone suitable for presentation to the user in the specified locale. </p>
<p>This method returns the long name, not including daylight savings. If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as <code>GMT[+-]HH:mm</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale in which to supply the display name. </td></tr>
    <tr><td class="paramname">result</td><td>the human-readable name of this time zone in the given locale or in the default locale if the given locale is not recognized. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004104">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab3a0b64d0a45bd2145c0aa699bc519bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>daylight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">EDisplayType</a>&#160;</td>
          <td class="paramname"><em>style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a name of this time zone suitable for presentation to the user in the default locale. </p>
<p>If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as <code>GMT[+-]HH:mm</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">daylight</td><td>if true, return the daylight savings name. </td></tr>
    <tr><td class="paramname">style</td><td></td></tr>
    <tr><td class="paramname">result</td><td>the human-readable name of this time zone in the default locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004105">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7330eac5e0d8ab0ec566bc33d480e8b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>daylight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html#a07cc5464421c1ae84f55ada930cf03df">EDisplayType</a>&#160;</td>
          <td class="paramname"><em>style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a name of this time zone suitable for presentation to the user in the specified locale. </p>
<p>If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as <code>GMT[+-]HH:mm</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">daylight</td><td>if true, return the daylight savings name. </td></tr>
    <tr><td class="paramname">style</td><td></td></tr>
    <tr><td class="paramname">locale</td><td>the locale in which to supply the display name. </td></tr>
    <tr><td class="paramname">result</td><td>the human-readable name of this time zone in the given locale or in the default locale if the given locale is not recognized. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A refence to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004106">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8ed17d2111fc563c6a5169a9d17acb98"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::TimeZone::getDSTSavings </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the amount of time to be added to local standard time to get local wall clock time. </p>
<p>The default implementation always returns 3600000 milliseconds (i.e., one hour) if this time zone observes Daylight Saving Time. Otherwise, 0 (zero) is returned. </p>
<p>If an underlying <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> implementation subclass supports historical Daylight Saving Time changes, this method returns the known latest daylight saving value.</p>
<dl class="section return"><dt>Returns</dt><dd>the amount of saving time in milliseconds </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004112">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#abddb77ca1802a4fdacac61fd4ed1e36a">icu::SimpleTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a01e831eb651448ff2fdf7d825de19663"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::TimeZone::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a unique class ID POLYMORPHICALLY. </p>
<p>This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classicu_1_1TimeZone.html#a8c2b510e0d3d56ccc00de547b39efa80" title="Returns true if the two TimeZones are equal. ">operator==()</a> and <a class="el" href="classicu_1_1TimeZone.html#adb3568dd3c62e6dcb55a74037535bcbb" title="Clones TimeZone objects polymorphically. ">clone()</a> methods call this method. </p>
<p>Concrete subclasses of <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> must use the UOBJECT_DEFINE_RTTI_IMPLEMENTATION macro from <a class="el" href="uobject_8h.html" title="C++ API: Common ICU base class UObject. ">uobject.h</a> in their implementation to provide correct RTTI information. </p>
<dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004111">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a8134802f50cde4e4b8621a5050f76272">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#adb521181b459653419763f4bba4a0f34">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a8f1b69924e0cf634d66d0af69902cf0d">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="accdd724734f285010e327690376a67af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::TimeZone::getEquivalentID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns an ID in the equivalency group that includes the given ID. </p>
<p>An equivalency group contains zones that have the same GMT offset and rules.</p>
<p>The given index must be in the range 0..n-1, where n is the value returned by <code>countEquivalentIDs(id)</code>. For some value of 'index', the returned value will be equal to the given id. If the given id is not a valid system time zone, or if 'index' is out of range, then returns an empty string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>a system time zone ID </td></tr>
    <tr><td class="paramname">index</td><td>a value from 0 to n-1, where n is the value returned by <code>countEquivalentIDs(id)</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the ID of the index-th zone in the equivalency group containing 'id', or an empty string if 'id' is not a valid system ID or 'index' is out of range </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classicu_1_1TimeZone.html#a947eebfd2f8206121cdddeda0dfbedd5" title="Returns the number of IDs in the equivalency group that includes the given ID. ">countEquivalentIDs</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004086">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab40570c8194c931f9340465371151cda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>* icu::TimeZone::getGMT </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The GMT (=UTC) time zone has a raw offset of zero and does not use daylight savings time. </p>
<p>This is a commonly used time zone.</p>
<p>Note: For backward compatibility reason, the ID used by the time zone returned by this method is "GMT", although the ICU's canonical ID for the GMT time zone is "Etc/GMT".</p>
<dl class="section return"><dt>Returns</dt><dd>the GMT/UTC time zone. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classicu_1_1TimeZone.html#adef7a2ddaf2f28f0912fe1a3142d5de7" title="Returns the &quot;unknown&quot; time zone. ">getUnknown</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004079">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9f14022d9a7fb76fae459a1d10af4a7d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp; icu::TimeZone::getID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ID</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Fills in "ID" with the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ID</td><td>Receives this <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'ID' </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004100">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00933">933</a> of file <a class="el" href="timezone_8h_source.html">timezone.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0872f72c5c3204de3c61502be568d72d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getIDForWindowsID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>winid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts a Windows time zone ID to an equivalent system time zone ID for a region. </p>
<p>For example, system time zone ID "America/Los_Angeles" is returned for input Windows ID "Pacific Standard Time" and region "US" (or <code>null</code>), "America/Vancouver" is returned for the same Windows ID "Pacific Standard Time" and region "CA".</p>
<p>Not all Windows time zones can be mapped to system time zones. When the input Windows time zone ID is unknown or unmappable to a system time zone, then the result will be empty, but the operation itself remains successful (no error status set on return).</p>
<p>This implementation utilizes <a href="http://unicode.org/cldr/charts/supplemental/zone_tzid.html">Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes, please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">Updating the Time Zone Data</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">winid</td><td>A Windows time zone ID. </td></tr>
    <tr><td class="paramname">region</td><td>A null-terminated region code, or <code>NULL</code> if no regional preference. </td></tr>
    <tr><td class="paramname">id</td><td>Receives a system time zone ID. When the input Windows time zone ID is unknown or unmappable to a system time zone ID, then an empty string is set on return. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the result (<code>id</code>). </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classicu_1_1TimeZone.html#a216766958df6b1931bb7603ae78d114e" title="Converts a system time zone ID to an equivalent Windows time zone ID. ">getWindowsID</a></dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000150">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 52 </dd></dl>

</div>
</div>
<a class="anchor" id="a46ea292ce977f08f7a1b4868994b5914"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::TimeZone::getOffset </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>era</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>millis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get local time in this time zone, taking daylight savings time into account) as of a particular reference date. </p>
<p>The reference date is used to determine whether daylight savings time is in effect and needs to be figured into the offset that is returned (in other words, what is the adjusted GMT offset in this time zone at this particular date and time?). For the time zones produced by <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">createTimeZone()</a>, the reference data is specified according to the Gregorian calendar, and the date and time fields are local standard time.</p>
<p>Note: Don't call this method. Instead, call the getOffset(UDate...) overload, which returns both the raw and the DST offset for a given time. This method is retained only for backward compatibility.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">era</td><td>The reference date's era </td></tr>
    <tr><td class="paramname">year</td><td>The reference date's year </td></tr>
    <tr><td class="paramname">month</td><td>The reference date's month (0-based; 0 is January) </td></tr>
    <tr><td class="paramname">day</td><td>The reference date's day-in-month (1-based) </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The reference date's day-of-week (1-based; 1 is Sunday) </td></tr>
    <tr><td class="paramname">millis</td><td>The reference date's milliseconds in day, local standard time </td></tr>
    <tr><td class="paramname">status</td><td>Output param to filled in with a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The offset in milliseconds to add to GMT to get local time. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004095">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a0cd05b81127edcf4e5f9eac067346bfe">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#abf29b76c6adcf006f260a4c39df8b44a">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#aa002e6b74eff01b23541ce33acc85632">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="ab374d74c511e2941c63f6f4d54c3eda7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::TimeZone::getOffset </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>era</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>milliseconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>monthLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the time zone offset, for current date, modified in case of daylight savings. </p>
<p>This is the offset to add <em>to</em> UTC to get local time.</p>
<p>Note: Don't call this method. Instead, call the getOffset(UDate...) overload, which returns both the raw and the DST offset for a given time. This method is retained only for backward compatibility.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">era</td><td>the era of the given date. </td></tr>
    <tr><td class="paramname">year</td><td>the year in the given date. </td></tr>
    <tr><td class="paramname">month</td><td>the month in the given date. Month is 0-based. e.g., 0 for January. </td></tr>
    <tr><td class="paramname">day</td><td>the day-in-month of the given date. </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>the day-of-week of the given date. </td></tr>
    <tr><td class="paramname">milliseconds</td><td>the millis in day in <em>standard</em> local time. </td></tr>
    <tr><td class="paramname">monthLength</td><td>the length of the given month in days. </td></tr>
    <tr><td class="paramname">status</td><td>Output param to filled in with a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the offset to add <em>to</em> GMT to get local time. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004096">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a718ded7d866ddb737874610441d34476">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#a439a669f469ddf13ee5b702d90f80648">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#ad35a513f04f94f5758464d3224c9acbf">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a026e66c6f698915089c3a3ab29dfd80b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::TimeZone::getOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>local</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>rawOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>dstOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the time zone raw and GMT offset for the given moment in time. </p>
<p>Upon return, local-millis = GMT-millis + rawOffset + dstOffset. All computations are performed in the proleptic Gregorian calendar. The default implementation in the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> class delegates to the 8-argument <a class="el" href="classicu_1_1TimeZone.html#a46ea292ce977f08f7a1b4868994b5914" title="Returns the TimeZone&#39;s adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get loc...">getOffset()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">date</td><td>moment in time for which to return offsets, in units of milliseconds from January 1, 1970 0:00 GMT, either GMT time or local wall time, depending on `local'. </td></tr>
    <tr><td class="paramname">local</td><td>if true, `date' is local wall time; otherwise it is in GMT time. </td></tr>
    <tr><td class="paramname">rawOffset</td><td>output parameter to receive the raw offset, that is, the offset not including DST adjustments </td></tr>
    <tr><td class="paramname">dstOffset</td><td>output parameter to receive the DST offset, that is, the offset to be added to `rawOffset' to obtain the total offset between local and GMT time. If DST is not in effect, this value is zero; otherwise it is a positive value, typically one hour. </td></tr>
    <tr><td class="paramname">ec</td><td>input-output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004097">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a6d4f2019915ecaa246386f317191ffdd">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#a6348a1b7498df0047210d42da96e06fd">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a4b8bbaf5e25bb6e06b3c8a64e4429444">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a36d5dfcbaec14010c151344752b9eea8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::TimeZone::getRawOffset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account). </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s raw GMT offset. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004099">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a4d1adcbe3a74824c6601cae1127094e5">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#ae903a46765c26ef4a137b5d9103b6a33">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a664d7a6c824f148d612a746aefc9e648">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a09239f955bfdcf91ef7612483783c74a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int32_t icu::TimeZone::getRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>capacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the region code associated with the given system time zone ID. </p>
<p>The region code is either ISO 3166 2-letter country code or UN M.49 3-digit area code. When the time zone is not associated with a specific location, for example - "Etc/UTC", "EST5EDT", then this method returns "001" (UN M.49 area code for World).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The system time zone ID. </td></tr>
    <tr><td class="paramname">region</td><td>Output buffer for receiving the region code. </td></tr>
    <tr><td class="paramname">capacity</td><td>The size of the output buffer. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. When the given time zone ID is not a known system time zone ID, U_ILLEGAL_ARGUMENT_ERROR is set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The length of the output region code. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004113">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ae35ad7e36c104585654a7028253fc526"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* icu::TimeZone::getRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the region code associated with the given zone, or NULL if the zone is not known. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>zone id string </td></tr>
    <tr><td class="paramname">status</td><td>Status parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the region associated with the given zone </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000410">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a13c672b604041624746d936671a3bbd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::TimeZone::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the class ID for this class. </p>
<p>This is useful only for comparing to a return value from <a class="el" href="classicu_1_1TimeZone.html#a01e831eb651448ff2fdf7d825de19663" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004110">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a46d7ac676293df7b26c7321177b470e2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* icu::TimeZone::getTZDataVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the timezone data version currently used by ICU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param to filled in with a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the version string, such as "2007f" </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004090">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="adef7a2ddaf2f28f0912fe1a3142d5de7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>&amp; icu::TimeZone::getUnknown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the "unknown" time zone. </p>
<p>It behaves like the GMT/UTC time zone but has the <code>UCAL_UNKNOWN_ZONE_ID</code> = "Etc/Unknown". <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">createTimeZone()</a> returns a mutable clone of this time zone if the input ID is not recognized.</p>
<dl class="section return"><dt>Returns</dt><dd>the "unknown" time zone. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="ucal_8h.html#a0682edd5dfe37d2abe4bb9fb5a9733d9" title="The time zone ID reserved for unknown time zone. ">UCAL_UNKNOWN_ZONE_ID</a> </dd>
<dd>
<a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">createTimeZone</a> </dd>
<dd>
<a class="el" href="classicu_1_1TimeZone.html#ab40570c8194c931f9340465371151cda" title="The GMT (=UTC) time zone has a raw offset of zero and does not use daylight savings time...">getGMT</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004078">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="a216766958df6b1931bb7603ae78d114e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::TimeZone::getWindowsID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>winid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts a system time zone ID to an equivalent Windows time zone ID. </p>
<p>For example, Windows time zone ID "Pacific Standard Time" is returned for input "America/Los_Angeles".</p>
<p>There are system time zones that cannot be mapped to Windows zones. When the input system time zone ID is unknown or unmappable to a Windows time zone, then the result will be empty, but the operation itself remains successful (no error status set on return).</p>
<p>This implementation utilizes <a href="http://unicode.org/cldr/charts/supplemental/zone_tzid.html">Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes, please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">Updating the Time Zone Data</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>A system time zone ID. </td></tr>
    <tr><td class="paramname">winid</td><td>Receives a Windows time zone ID. When the input system time zone ID is unknown or unmappable to a Windows time zone ID, then an empty string is set on return. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the result (<code>winid</code>). </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classicu_1_1TimeZone.html#a0872f72c5c3204de3c61502be568d72d" title="Converts a Windows time zone ID to an equivalent system time zone ID for a region. ">getIDForWindowsID</a></dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000149">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 52 </dd></dl>

</div>
</div>
<a class="anchor" id="af7e240212db4c8f714286a739506abb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::TimeZone::hasSameRules </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if this zone has the same rule and offset as another zone. </p>
<p>That is, if this zone differs only in ID, if at all. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the <code><a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> object to be compared with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the given zone is the same as this one, with the possible exception of the ID </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004108">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#ae29585e2a730fe890210412bf4d9c6cf">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#af3d75c4781e2d4c9a6e8dd22b1e166bc">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a1d2a7de806599e0b64c1dde3a4683780">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="ad9698381477a6f59ead590bb8917c1a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::TimeZone::inDaylightTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Queries if the given date is in daylight savings time in this time zone. </p>
<p>This method is wasteful since it creates a new <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> and deletes it each time it is called. This is a deprecated method and provided only for Java compatibility.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">date</td><td>the given UDate. </td></tr>
    <tr><td class="paramname">status</td><td>Output param filled in with success/error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the given date is in daylight savings time, false, otherwise. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000253">Deprecated:</a></b></dt><dd>ICU 2.4. Use <a class="el" href="classicu_1_1Calendar.html#acd88b3a7707e9b9256ec8dee3f6c7ced" title="Queries if the current date for this Calendar is in Daylight Savings Time. ">Calendar::inDaylightTime()</a> instead. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a31c571f310ad96f29a4498cfe40a1e61">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#ab46897f4bd97f73e490ef06ebd29cf14">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a425306ea89b3c78ed2630fa67610211c">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a62008aab8da1a8bfa2ba898675f55e9c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* icu::TimeZone::loadRule </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>top</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>oldbundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Utility function. </p>
<p>For internally loading rule data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">top</td><td>Top resource bundle for tz data </td></tr>
    <tr><td class="paramname">ruleid</td><td>ID of rule to load </td></tr>
    <tr><td class="paramname">oldbundle</td><td>Old bundle to reuse or NULL </td></tr>
    <tr><td class="paramname">status</td><td>Status parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either a new bundle or *oldbundle </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000409">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb82ab341bda5d2ad69df3b5684f70c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::TimeZone::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the two TimeZones are NOT equal; that is, if <a class="el" href="classicu_1_1TimeZone.html#a8c2b510e0d3d56ccc00de547b39efa80" title="Returns true if the two TimeZones are equal. ">operator==()</a> returns false. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is not equal to this <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004094">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00438">438</a> of file <a class="el" href="timezone_8h_source.html">timezone.h</a>.</p>

<p>References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a7b3f170ef0dc76e81249898960b787ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>&amp; icu::TimeZone::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">right</td><td>the object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004117">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8c2b510e0d3d56ccc00de547b39efa80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::TimeZone::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the two TimeZones are equal. </p>
<p>(The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> version only compares IDs, but subclasses are expected to also compare the fields they add.)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is equal to this <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004093">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a7701e27daad1dbf3fb2353758641485f">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1RuleBasedTimeZone.html#abed3bea5c1076e25c09d595c3e9dc287">icu::RuleBasedTimeZone</a>, and <a class="el" href="classicu_1_1VTimeZone.html#acc4d6ec7a4d6a12fe14051d7be968b85">icu::VTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a1f13c95664fa43a3bee9a5d00408a36b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::TimeZone::setDefault </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Same as <a class="el" href="classicu_1_1TimeZone.html#a9a775b9521f3defdde18658bd6b8ec57" title="Sets the default time zone (i.e., what&#39;s returned by createDefault()) to be the specified time zone...">adoptDefault()</a>, except that the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object passed in is NOT adopted; the caller remains responsible for deleting it. </p>
<p>See the thread safety note under <a class="el" href="classicu_1_1TimeZone.html#a9a775b9521f3defdde18658bd6b8ec57" title="Sets the default time zone (i.e., what&#39;s returned by createDefault()) to be the specified time zone...">adoptDefault()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The given timezone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="system"><dt><b><a class="el" href="system.html#_system000017">System:</a></b></dt><dd>Do not use unless you know what you are doing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004089">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1b6daa38728e1015f22d121b45f74dda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::TimeZone::setID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID to the specified value. </p>
<p>This doesn't affect any other fields (for example, if you say&lt; blockquote&gt;</p>
<pre>
.     TimeZone* foo = <a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">TimeZone::createTimeZone</a>("America/New_York");
.     foo.setID("America/Los_Angeles");
</pre> </blockquote> the time zone's GMT offset and daylight-savings rules don't change to those for Los Angeles. They're still those for New York. Only the ID has changed.)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ID</td><td>The new time zone ID. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004101">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00942">942</a> of file <a class="el" href="timezone_8h_source.html">timezone.h</a>.</p>

</div>
</div>
<a class="anchor" id="a19c3aad4a860a75067855605aaeb8e1e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::TimeZone::setRawOffset </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>offsetMillis</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offsetMillis</td><td>The new raw GMT offset for this time zone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004098">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#ac84fd6aba9d645721004d299bf46a1c7">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#adf28c96db4662d6e3d8e9f0e9f6607e1">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a87420dffa3fba40318062d6637e9e222">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a838c7663925e7d1805475c2c5053d416"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::TimeZone::useDaylightTime </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Queries if this time zone uses daylight savings time. </p>
<dl class="section return"><dt>Returns</dt><dd>true if this time zone uses daylight savings time, false, otherwise. </dd></dl>
<p><b>Note:</b>The default implementation of ICU <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> uses the tz database, which supports historic rule changes, for system time zones. With the implementation, there are time zones that used daylight savings time in the past, but no longer used currently. For example, Asia/Tokyo has never used daylight savings time since 1951. Most clients would expect that this method to return <code>FALSE</code> for such case. The default implementation of this method returns <code>TRUE</code> when the time zone uses daylight savings time in the current (Gregorian) calendar year. </p>
<p>In Java 7, <code>observesDaylightTime()</code> was added in addition to <code><a class="el" href="classicu_1_1TimeZone.html#a838c7663925e7d1805475c2c5053d416" title="Queries if this time zone uses daylight savings time. ">useDaylightTime()</a></code>. In Java, <code><a class="el" href="classicu_1_1TimeZone.html#a838c7663925e7d1805475c2c5053d416" title="Queries if this time zone uses daylight savings time. ">useDaylightTime()</a></code> only checks if daylight saving time is observed by the last known rule. This specification might not be what most users would expect if daylight saving time is currently observed, but not scheduled in future. In this case, Java's <code>userDaylightTime()</code> returns <code>false</code>. To resolve the issue, Java 7 added <code>observesDaylightTime()</code>, which takes the current rule into account. The method <code>observesDaylightTime()</code> was added in ICU4J for supporting API signature compatibility with JDK. In general, ICU4C also provides JDK compatible methods, but the current implementation <code>userDaylightTime()</code> serves the purpose (takes the current rule into account), <code>observesDaylightTime()</code> is not added in ICU4C. In addition to <code><a class="el" href="classicu_1_1TimeZone.html#a838c7663925e7d1805475c2c5053d416" title="Queries if this time zone uses daylight savings time. ">useDaylightTime()</a></code>, ICU4C <code><a class="el" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone. ">BasicTimeZone</a></code> class (Note that <code><a class="el" href="classicu_1_1TimeZone.html#a35da0507b62754ffe5d8d59c19775cdb" title="Creates a TimeZone for the given ID. ">TimeZone::createTimeZone(const UnicodeString &amp;ID)</a></code> always returns a <code><a class="el" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone. ">BasicTimeZone</a></code>) provides a series of methods allowing historic and future time zone rule iteration, so you can check if daylight saving time is observed or not within a given period.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004107">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleTimeZone.html#a6702e2993055d93a227ba8e848df0cff">icu::SimpleTimeZone</a>, <a class="el" href="classicu_1_1VTimeZone.html#a7df9f6e328d35b655161d79a950503c9">icu::VTimeZone</a>, and <a class="el" href="classicu_1_1RuleBasedTimeZone.html#a7ccda5b420e931c8d0e78d361522db57">icu::RuleBasedTimeZone</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="timezone_8h_source.html">timezone.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>