403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.133.139.28
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/classTimeZone.html
<!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.5"/>
<title>ICU 4.0.1: 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 4.0.1
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<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 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>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><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><!-- 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">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="classTimeZone.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="classTimeZone.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 TimeZone:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classTimeZone.png" usemap="#TimeZone_map" alt=""/>
  <map id="TimeZone_map" name="TimeZone_map">
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="UObject" shape="rect" coords="138,56,266,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="138,0,266,24"/>
<area href="classBasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone. " alt="BasicTimeZone" shape="rect" coords="138,168,266,192"/>
<area href="classRuleBasedTimeZone.html" title="a BasicTimeZone subclass implemented in terms of InitialTimeZoneRule and TimeZoneRule instances ..." alt="RuleBasedTimeZone" shape="rect" coords="0,224,128,248"/>
<area href="classSimpleTimeZone.html" title="SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregoria..." alt="SimpleTimeZone" shape="rect" coords="138,224,266,248"/>
<area href="classVTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE. " alt="VTimeZone" shape="rect" coords="276,224,404,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:a3389b02eacd9bdcd90943165c63f1393"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">EDisplayType</a> { <a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393a721dd973541bdad74cd4af5d41a99993">SHORT</a> = 1, 
<a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393a1f63fa890c7aee89716ef1591d79c53f">LONG</a>
 }</td></tr>
<tr class="memdesc:a3389b02eacd9bdcd90943165c63f1393"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enum for use with getDisplayName.  <a href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">More...</a><br/></td></tr>
<tr class="separator:a3389b02eacd9bdcd90943165c63f1393"><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:a217918d77d5d3e3a0ad2d1947f21f26a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a217918d77d5d3e3a0ad2d1947f21f26a">~TimeZone</a> ()</td></tr>
<tr class="separator:a217918d77d5d3e3a0ad2d1947f21f26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c75a7026d9e0f061d0561fdcd6285bc"><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="classTimeZone.html#a2c75a7026d9e0f061d0561fdcd6285bc">operator==</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;that) const </td></tr>
<tr class="memdesc:a2c75a7026d9e0f061d0561fdcd6285bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the two TimeZones are equal.  <a href="#a2c75a7026d9e0f061d0561fdcd6285bc">More...</a><br/></td></tr>
<tr class="separator:a2c75a7026d9e0f061d0561fdcd6285bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21d77d23b5771d6c505df92a67f90c0b"><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="classTimeZone.html#a21d77d23b5771d6c505df92a67f90c0b">operator!=</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;that) const </td></tr>
<tr class="memdesc:a21d77d23b5771d6c505df92a67f90c0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the two TimeZones are NOT equal; that is, if <a class="el" href="classTimeZone.html#a2c75a7026d9e0f061d0561fdcd6285bc" title="Returns true if the two TimeZones are equal. ">operator==()</a> returns false.  <a href="#a21d77d23b5771d6c505df92a67f90c0b">More...</a><br/></td></tr>
<tr class="separator:a21d77d23b5771d6c505df92a67f90c0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017d9aeff3e3bbef824088d8fadeb800"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a017d9aeff3e3bbef824088d8fadeb800">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:a017d9aeff3e3bbef824088d8fadeb800"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classTimeZone.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="#a017d9aeff3e3bbef824088d8fadeb800">More...</a><br/></td></tr>
<tr class="separator:a017d9aeff3e3bbef824088d8fadeb800"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfa3ff0693402eca3af43519fa88d520"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#adfa3ff0693402eca3af43519fa88d520">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:adfa3ff0693402eca3af43519fa88d520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings.  <a href="#adfa3ff0693402eca3af43519fa88d520">More...</a><br/></td></tr>
<tr class="separator:adfa3ff0693402eca3af43519fa88d520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af11878c114a8fe5885c28464716a8cb7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#af11878c114a8fe5885c28464716a8cb7">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:af11878c114a8fe5885c28464716a8cb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time zone raw and GMT offset for the given moment in time.  <a href="#af11878c114a8fe5885c28464716a8cb7">More...</a><br/></td></tr>
<tr class="separator:af11878c114a8fe5885c28464716a8cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10a9a17184453e742bab37a99efb84e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#aa10a9a17184453e742bab37a99efb84e">setRawOffset</a> (int32_t offsetMillis)=0</td></tr>
<tr class="memdesc:aa10a9a17184453e742bab37a99efb84e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classTimeZone.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="#aa10a9a17184453e742bab37a99efb84e">More...</a><br/></td></tr>
<tr class="separator:aa10a9a17184453e742bab37a99efb84e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad1d8e8ab11e48628ff5789d8d0170d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a8ad1d8e8ab11e48628ff5789d8d0170d">getRawOffset</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a8ad1d8e8ab11e48628ff5789d8d0170d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classTimeZone.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="#a8ad1d8e8ab11e48628ff5789d8d0170d">More...</a><br/></td></tr>
<tr class="separator:a8ad1d8e8ab11e48628ff5789d8d0170d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5135fc9e1727a70764103ff4d8ce690e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5135fc9e1727a70764103ff4d8ce690e">getID</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID) const </td></tr>
<tr class="memdesc:a5135fc9e1727a70764103ff4d8ce690e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "ID" with the <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID.  <a href="#a5135fc9e1727a70764103ff4d8ce690e">More...</a><br/></td></tr>
<tr class="separator:a5135fc9e1727a70764103ff4d8ce690e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37aa800476778b81a255506103e92136"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a37aa800476778b81a255506103e92136">setID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID)</td></tr>
<tr class="memdesc:a37aa800476778b81a255506103e92136"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>'s ID to the specified value.  <a href="#a37aa800476778b81a255506103e92136">More...</a><br/></td></tr>
<tr class="separator:a37aa800476778b81a255506103e92136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a593b832ff5a9eb0bb1167252aac225c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a593b832ff5a9eb0bb1167252aac225c9">getDisplayName</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a593b832ff5a9eb0bb1167252aac225c9"><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="#a593b832ff5a9eb0bb1167252aac225c9">More...</a><br/></td></tr>
<tr class="separator:a593b832ff5a9eb0bb1167252aac225c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bcf5bfab02c5d3d4dd14f3e98a42692"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5bcf5bfab02c5d3d4dd14f3e98a42692">getDisplayName</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a5bcf5bfab02c5d3d4dd14f3e98a42692"><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="#a5bcf5bfab02c5d3d4dd14f3e98a42692">More...</a><br/></td></tr>
<tr class="separator:a5bcf5bfab02c5d3d4dd14f3e98a42692"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a858fa452768da2ec9008103dbcabbcd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a858fa452768da2ec9008103dbcabbcd7">getDisplayName</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> daylight, <a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">EDisplayType</a> style, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a858fa452768da2ec9008103dbcabbcd7"><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="#a858fa452768da2ec9008103dbcabbcd7">More...</a><br/></td></tr>
<tr class="separator:a858fa452768da2ec9008103dbcabbcd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06502872a743b89097519e86b671bef9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a06502872a743b89097519e86b671bef9">getDisplayName</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> daylight, <a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">EDisplayType</a> style, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a06502872a743b89097519e86b671bef9"><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="#a06502872a743b89097519e86b671bef9">More...</a><br/></td></tr>
<tr class="separator:a06502872a743b89097519e86b671bef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075576d70d80a056b9b9f8ef39acafee"><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="classTimeZone.html#a075576d70d80a056b9b9f8ef39acafee">useDaylightTime</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a075576d70d80a056b9b9f8ef39acafee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if this time zone uses daylight savings time.  <a href="#a075576d70d80a056b9b9f8ef39acafee">More...</a><br/></td></tr>
<tr class="separator:a075576d70d80a056b9b9f8ef39acafee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb24bd8b13b6fdf6d123747084ecbd68"><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="classTimeZone.html#abb24bd8b13b6fdf6d123747084ecbd68">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:abb24bd8b13b6fdf6d123747084ecbd68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if the given date is in daylight savings time in this time zone.  <a href="#abb24bd8b13b6fdf6d123747084ecbd68">More...</a><br/></td></tr>
<tr class="separator:abb24bd8b13b6fdf6d123747084ecbd68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebed1d2142308466e51029d0b895d932"><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="classTimeZone.html#aebed1d2142308466e51029d0b895d932">hasSameRules</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;other) const </td></tr>
<tr class="memdesc:aebed1d2142308466e51029d0b895d932"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this zone has the same rule and offset as another zone.  <a href="#aebed1d2142308466e51029d0b895d932">More...</a><br/></td></tr>
<tr class="separator:aebed1d2142308466e51029d0b895d932"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35b23140b29f59560b12da3450289347"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a35b23140b29f59560b12da3450289347">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a35b23140b29f59560b12da3450289347"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clones <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> objects polymorphically.  <a href="#a35b23140b29f59560b12da3450289347">More...</a><br/></td></tr>
<tr class="separator:a35b23140b29f59560b12da3450289347"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a825e1474130ebcdfedc7ffa64c016220"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a825e1474130ebcdfedc7ffa64c016220">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a825e1474130ebcdfedc7ffa64c016220"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#a825e1474130ebcdfedc7ffa64c016220">More...</a><br/></td></tr>
<tr class="separator:a825e1474130ebcdfedc7ffa64c016220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f2f5a872528bd8ab664378338deaad"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#ab6f2f5a872528bd8ab664378338deaad">getDSTSavings</a> () const </td></tr>
<tr class="memdesc:ab6f2f5a872528bd8ab664378338deaad"><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="#ab6f2f5a872528bd8ab664378338deaad">More...</a><br/></td></tr>
<tr class="separator:ab6f2f5a872528bd8ab664378338deaad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><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:a50b68aadc74671ecd4e00c6a27deff9e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classTimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a50b68aadc74671ecd4e00c6a27deff9e">getGMT</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a50b68aadc74671ecd4e00c6a27deff9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The GMT time zone has a raw offset of zero and does not use daylight savings time.  <a href="#a50b68aadc74671ecd4e00c6a27deff9e">More...</a><br/></td></tr>
<tr class="separator:a50b68aadc74671ecd4e00c6a27deff9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ffc5d14d3956478110909e6dca01b6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6">createTimeZone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID)</td></tr>
<tr class="memdesc:a11ffc5d14d3956478110909e6dca01b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <code><a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> for the given ID.  <a href="#a11ffc5d14d3956478110909e6dca01b6">More...</a><br/></td></tr>
<tr class="separator:a11ffc5d14d3956478110909e6dca01b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362ad48ebf317d439247b3bc0e40789d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a362ad48ebf317d439247b3bc0e40789d">createEnumeration</a> ()</td></tr>
<tr class="memdesc:a362ad48ebf317d439247b3bc0e40789d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over all recognized time zone IDs.  <a href="#a362ad48ebf317d439247b3bc0e40789d">More...</a><br/></td></tr>
<tr class="separator:a362ad48ebf317d439247b3bc0e40789d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21e73bc11f44cc82aa006a138d0cd3c9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a21e73bc11f44cc82aa006a138d0cd3c9">createEnumeration</a> (int32_t rawOffset)</td></tr>
<tr class="memdesc:a21e73bc11f44cc82aa006a138d0cd3c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over time zone IDs with a given raw offset from GMT.  <a href="#a21e73bc11f44cc82aa006a138d0cd3c9">More...</a><br/></td></tr>
<tr class="separator:a21e73bc11f44cc82aa006a138d0cd3c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6621223637dd52ff7b0f7f890c806441"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a6621223637dd52ff7b0f7f890c806441">createEnumeration</a> (const char *country)</td></tr>
<tr class="memdesc:a6621223637dd52ff7b0f7f890c806441"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an enumeration over time zone IDs associated with the given country.  <a href="#a6621223637dd52ff7b0f7f890c806441">More...</a><br/></td></tr>
<tr class="separator:a6621223637dd52ff7b0f7f890c806441"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3527d4cd0c608da0a1390f6acaae71f9"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a3527d4cd0c608da0a1390f6acaae71f9">countEquivalentIDs</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;id)</td></tr>
<tr class="memdesc:a3527d4cd0c608da0a1390f6acaae71f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of IDs in the equivalency group that includes the given ID.  <a href="#a3527d4cd0c608da0a1390f6acaae71f9">More...</a><br/></td></tr>
<tr class="separator:a3527d4cd0c608da0a1390f6acaae71f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0b6c33dc8cddd291ba32c749a518323"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#ab0b6c33dc8cddd291ba32c749a518323">getEquivalentID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;id, int32_t index)</td></tr>
<tr class="memdesc:ab0b6c33dc8cddd291ba32c749a518323"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an ID in the equivalency group that includes the given ID.  <a href="#ab0b6c33dc8cddd291ba32c749a518323">More...</a><br/></td></tr>
<tr class="separator:ab0b6c33dc8cddd291ba32c749a518323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb13a4845ba186dc4c1151f4cd3de0a6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#aeb13a4845ba186dc4c1151f4cd3de0a6">createDefault</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:aeb13a4845ba186dc4c1151f4cd3de0a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new copy of the default <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> for this host.  <a href="#aeb13a4845ba186dc4c1151f4cd3de0a6">More...</a><br/></td></tr>
<tr class="separator:aeb13a4845ba186dc4c1151f4cd3de0a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7866aca16d2dc234452e0c69fdf9f68"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#ab7866aca16d2dc234452e0c69fdf9f68">adoptDefault</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zone)</td></tr>
<tr class="memdesc:ab7866aca16d2dc234452e0c69fdf9f68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default time zone (i.e., what's returned by <a class="el" href="classTimeZone.html#aeb13a4845ba186dc4c1151f4cd3de0a6" title="Creates a new copy of the default TimeZone for this host. ">createDefault()</a>) to be the specified time zone.  <a href="#ab7866aca16d2dc234452e0c69fdf9f68">More...</a><br/></td></tr>
<tr class="separator:ab7866aca16d2dc234452e0c69fdf9f68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5919faba4e0fec84943ffb6f8f5b69e5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5919faba4e0fec84943ffb6f8f5b69e5">setDefault</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr class="memdesc:a5919faba4e0fec84943ffb6f8f5b69e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="classTimeZone.html#ab7866aca16d2dc234452e0c69fdf9f68" 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="classTimeZone.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="#a5919faba4e0fec84943ffb6f8f5b69e5">More...</a><br/></td></tr>
<tr class="separator:a5919faba4e0fec84943ffb6f8f5b69e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a992860fea72202f1f7e9f04cd29f44"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a8a992860fea72202f1f7e9f04cd29f44">getTZDataVersion</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8a992860fea72202f1f7e9f04cd29f44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the timezone data version currently used by ICU.  <a href="#a8a992860fea72202f1f7e9f04cd29f44">More...</a><br/></td></tr>
<tr class="separator:a8a992860fea72202f1f7e9f04cd29f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bf42643e7a2bd8a1c71bcf2c5b28d46"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a0bf42643e7a2bd8a1c71bcf2c5b28d46">getCanonicalID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;canonicalID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a0bf42643e7a2bd8a1c71bcf2c5b28d46"><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="#a0bf42643e7a2bd8a1c71bcf2c5b28d46">More...</a><br/></td></tr>
<tr class="separator:a0bf42643e7a2bd8a1c71bcf2c5b28d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a326de476b4e103325c5306fb2ad3e9b9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a326de476b4e103325c5306fb2ad3e9b9">getCanonicalID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;id, <a class="el" href="classUnicodeString.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:a326de476b4e103325c5306fb2ad3e9b9"><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="#a326de476b4e103325c5306fb2ad3e9b9">More...</a><br/></td></tr>
<tr class="separator:a326de476b4e103325c5306fb2ad3e9b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6089503a336da33a745c99ce9a03bc16"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a6089503a336da33a745c99ce9a03bc16">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a6089503a336da33a745c99ce9a03bc16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the class ID for this class.  <a href="#a6089503a336da33a745c99ce9a03bc16">More...</a><br/></td></tr>
<tr class="separator:a6089503a336da33a745c99ce9a03bc16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr>
<tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr>
<tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr>
<tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr>
<tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr>
<tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr>
<tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr>
<tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr>
<tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr>
<tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr>
<tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr>
<tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><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:a7d41f8d4c3314f43bd076bc443bf7854"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a7d41f8d4c3314f43bd076bc443bf7854">TimeZone</a> ()</td></tr>
<tr class="memdesc:a7d41f8d4c3314f43bd076bc443bf7854"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a7d41f8d4c3314f43bd076bc443bf7854">More...</a><br/></td></tr>
<tr class="separator:a7d41f8d4c3314f43bd076bc443bf7854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69223432bbff1ce0e81266042c4c8f5a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a69223432bbff1ce0e81266042c4c8f5a">TimeZone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;id)</td></tr>
<tr class="memdesc:a69223432bbff1ce0e81266042c4c8f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a timezone with a given ID.  <a href="#a69223432bbff1ce0e81266042c4c8f5a">More...</a><br/></td></tr>
<tr class="separator:a69223432bbff1ce0e81266042c4c8f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84f048b12288b9085a4703c4fda7e4bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a84f048b12288b9085a4703c4fda7e4bc">TimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;source)</td></tr>
<tr class="memdesc:a84f048b12288b9085a4703c4fda7e4bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a84f048b12288b9085a4703c4fda7e4bc">More...</a><br/></td></tr>
<tr class="separator:a84f048b12288b9085a4703c4fda7e4bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b67f0f38a5462a2096ce5e3c0b6890e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a2b67f0f38a5462a2096ce5e3c0b6890e">operator=</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;right)</td></tr>
<tr class="memdesc:a2b67f0f38a5462a2096ce5e3c0b6890e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="#a2b67f0f38a5462a2096ce5e3c0b6890e">More...</a><br/></td></tr>
<tr class="separator:a2b67f0f38a5462a2096ce5e3c0b6890e"><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:a6ae773281580135bbda4d41ad3077ff9"><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="classTimeZone.html#a6ae773281580135bbda4d41ad3077ff9">loadRule</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *top, const <a class="el" href="classUnicodeString.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:a6ae773281580135bbda4d41ad3077ff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function.  <a href="#a6ae773281580135bbda4d41ad3077ff9">More...</a><br/></td></tr>
<tr class="separator:a6ae773281580135bbda4d41ad3077ff9"><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>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classTimeZone.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="classTimeZone.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="classTimeZone.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="classTimeZone.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="classTimeZone.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 Pacific Standard Time zone is "PST". So, you can get a PST <code><a class="el" href="classTimeZone.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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> *tz = <a class="el" href="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" title="Creates a TimeZone for the given ID. ">TimeZone::createTimeZone</a>("PST");
</pre>  </blockquote> You can use <code>getAvailableIDs</code> method to iterate through all the supported time zone IDs. You can then choose a supported ID to get a <code><a class="el" href="classTimeZone.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="classTimeZone.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 does not include daylight savings time.</p>
<p><a class="el" href="classTimeZone.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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is needed for <a class="el" href="classCalendar.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="classTimeZone.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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>; subclasses of <a class="el" href="classTimeZone.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 only have one <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> subclass: <a class="el" href="classSimpleTimeZone.html" title="SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregoria...">SimpleTimeZone</a>.) </p>
<p>The <a class="el" href="classTimeZone.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="classTimeZone.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, Pacific Standard 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/LosAngeles"). Anywhere the API requires an ID, you can use either form. </p>
<p>To create a new <a class="el" href="classTimeZone.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="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" 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="classTimeZone.html#a362ad48ebf317d439247b3bc0e40789d" 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="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" title="Creates a TimeZone for the given ID. ">createTimeZone()</a>. </p>
<p>You can also use <a class="el" href="classTimeZone.html#aeb13a4845ba186dc4c1151f4cd3de0a6" title="Creates a new copy of the default TimeZone for this host. ">TimeZone::createDefault()</a> to create a <a class="el" href="classTimeZone.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="classTimeZone.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="classTimeZone.html#aeb13a4845ba186dc4c1151f4cd3de0a6" title="Creates a new copy of the default TimeZone for this host. ">TimeZone::createDefault()</a> will return a <a class="el" href="classTimeZone.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#l00122">122</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="a3389b02eacd9bdcd90943165c63f1393"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">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#_stable002968">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="a3389b02eacd9bdcd90943165c63f1393a721dd973541bdad74cd4af5d41a99993"></a>SHORT</em>&nbsp;</td><td class="fielddoc">
<p>Selector for short display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002983">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a3389b02eacd9bdcd90943165c63f1393a1f63fa890c7aee89716ef1591d79c53f"></a>LONG</em>&nbsp;</td><td class="fielddoc">
<p>Selector for long display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002984">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="timezone_8h_source.html#l00515">515</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="a217918d77d5d3e3a0ad2d1947f21f26a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#_stable002948">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7d41f8d4c3314f43bd076bc443bf7854"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">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#_stable002979">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a69223432bbff1ce0e81266042c4c8f5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TimeZone::TimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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 timezone 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#_stable002980">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a84f048b12288b9085a4703c4fda7e4bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TimeZone::TimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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#_stable002981">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab7866aca16d2dc234452e0c69fdf9f68"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> TimeZone::adoptDefault </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.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="classTimeZone.html#aeb13a4845ba186dc4c1151f4cd3de0a6" 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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object passed in; the clent is no longer responsible for deleting 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="classTimeZone.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#_stable002957">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a35b23140b29f59560b12da3450289347"></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="classTimeZone.html">TimeZone</a>* TimeZone::clone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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="classTimeZone.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="classTimeZone.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="classTimeZone.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#_stable002975">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#aacbde413ecbc2c68811f1dde5143bd4c">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a40e91e446951d474b8ff1725595b928b">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a2d5e41245c6cd47f1684ff4cde8cf61f">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a3527d4cd0c608da0a1390f6acaae71f9"></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 TimeZone::countEquivalentIDs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classTimeZone.html#ab0b6c33dc8cddd291ba32c749a518323" 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#_stable002954">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aeb13a4845ba186dc4c1151f4cd3de0a6"></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="classTimeZone.html">TimeZone</a>* TimeZone::createDefault </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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="classTimeZone.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="classTimeZone.html#ab7866aca16d2dc234452e0c69fdf9f68" 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="classTimeZone.html#a5919faba4e0fec84943ffb6f8f5b69e5" 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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> or <a class="el" href="classTimeZone.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="classTimeZone.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="classTimeZone.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#_stable002956">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a362ad48ebf317d439247b3bc0e40789d"></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="classStringEnumeration.html">StringEnumeration</a>* 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="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" 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#_stable002951">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a21e73bc11f44cc82aa006a138d0cd3c9"></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="classStringEnumeration.html">StringEnumeration</a>* 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#_stable002952">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a6621223637dd52ff7b0f7f890c806441"></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="classStringEnumeration.html">StringEnumeration</a>* 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#_stable002953">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a11ffc5d14d3956478110909e6dca01b6"></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="classTimeZone.html">TimeZone</a>* TimeZone::createTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classTimeZone.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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code>, either an abbreviation such as "PST", a full name 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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code>, or the GMT zone if the given ID cannot be understood. Return result guaranteed to be non-null. If you require that the specific zone asked for be returned, check the ID of the return result. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002950">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0bf42643e7a2bd8a1c71bcf2c5b28d46"></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="classUnicodeString.html">UnicodeString</a>&amp; TimeZone::getCanonicalID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classUnicodeString.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 timezone ID to be canonicalized. </td></tr>
    <tr><td class="paramname">canonicalID</td><td>Receives the canonical system timezone ID or the custom timezone ID in normalized format. </td></tr>
    <tr><td class="paramname">status</td><td>Recevies the status. When the given timezone ID is neither a known system time zone ID nor a valid custom timezone 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="draft"><dt><b><a class="el" href="draft.html#_draft000135">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a326de476b4e103325c5306fb2ad3e9b9"></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="classUnicodeString.html">UnicodeString</a>&amp; TimeZone::getCanonicalID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classUnicodeString.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 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 timezone ID to be canonicalized. </td></tr>
    <tr><td class="paramname">canonicalID</td><td>Receives the canonical system timezone ID or the custom timezone ID in normalized format. </td></tr>
    <tr><td class="paramname">isSystemID</td><td>Receives if the given ID is a known system timezone ID. </td></tr>
    <tr><td class="paramname">status</td><td>Recevies the status. When the given timezone ID is neither a known system time zone ID nor a valid custom timezone 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="draft"><dt><b><a class="el" href="draft.html#_draft000136">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a593b832ff5a9eb0bb1167252aac225c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.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 format <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#_stable002969">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5bcf5bfab02c5d3d4dd14f3e98a42692"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; TimeZone::getDisplayName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.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="classUnicodeString.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 format <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#_stable002970">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a858fa452768da2ec9008103dbcabbcd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; 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="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">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="classUnicodeString.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 format <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>either <code>LONG</code> or <code>SHORT</code> </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#_stable002971">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a06502872a743b89097519e86b671bef9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; 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="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">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="classLocale.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="classUnicodeString.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 format <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>either <code>LONG</code> or <code>SHORT</code> </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#_stable002972">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab6f2f5a872528bd8ab664378338deaad"></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 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="classTimeZone.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#_stable002978">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleTimeZone.html#a37c0880cf0340bbc31fd93df1d22d110">SimpleTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a825e1474130ebcdfedc7ffa64c016220"></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="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> TimeZone::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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="classTimeZone.html#a2c75a7026d9e0f061d0561fdcd6285bc" title="Returns true if the two TimeZones are equal. ">operator==()</a> and <a class="el" href="classTimeZone.html#a35b23140b29f59560b12da3450289347" title="Clones TimeZone objects polymorphically. ">clone()</a> methods call this method. </p>
<p>Concrete subclasses of <a class="el" href="classTimeZone.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#_stable002977">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#ad7c3df95d43756f22fdd97ab31c199bc">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#afb557847cfabc8917e9c41cccab3e511">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a54cc31f008e25c80a0cec7f2054ad90a">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="ab0b6c33dc8cddd291ba32c749a518323"></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="classUnicodeString.html">UnicodeString</a> TimeZone::getEquivalentID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classTimeZone.html#a3527d4cd0c608da0a1390f6acaae71f9" 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#_stable002955">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a50b68aadc74671ecd4e00c6a27deff9e"></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="classTimeZone.html">TimeZone</a>* TimeZone::getGMT </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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 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>
<dl class="section return"><dt>Returns</dt><dd>the GMT time zone. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002949">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5135fc9e1727a70764103ff4d8ce690e"></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="classUnicodeString.html">UnicodeString</a> &amp; TimeZone::getID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.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="classTimeZone.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="classTimeZone.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#_stable002966">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a017d9aeff3e3bbef824088d8fadeb800"></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 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="classTimeZone.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="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" 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#_stable002961">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#abc1b15b477116968f77a3c5ab9e85d32">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#abd71e43990bc424c546fb6b5534cf82f">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a0ed296264ab90c8ddf196b9fd425bf97">RuleBasedTimeZone</a>.</p>

<p>Referenced by <a class="el" href="simpletz_8h_source.html#l00918">SimpleTimeZone::getOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="adfa3ff0693402eca3af43519fa88d520"></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 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#_stable002962">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#a430dab9be720c052648f78bd388ae3a2">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a6a33bbc3a3339c555e0511d92bf6b395">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a4f4a47264e1784b2fcb0c3fbdf66e9df">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="af11878c114a8fe5885c28464716a8cb7"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> 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="classTimeZone.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="classTimeZone.html#a017d9aeff3e3bbef824088d8fadeb800" 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#_stable002963">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleTimeZone.html#a7af810373fc0ec1c97fb23fb40c43c01">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a44a1c1dda6e7c29e01074d477b5f71ce">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#ac253d4311e0c7b5b3f3385a31931a779">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a8ad1d8e8ab11e48628ff5789d8d0170d"></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 TimeZone::getRawOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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="classTimeZone.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="classTimeZone.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#_stable002965">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#a27821d78781b1c71493457f4adaaec92">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#ac437b6ff22a913b438eb7e5524ac85d2">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a95ebe551c49b1313f6e19fe3034752e0">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a6089503a336da33a745c99ce9a03bc16"></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="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> TimeZone::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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="classTimeZone.html#a825e1474130ebcdfedc7ffa64c016220" 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#_stable002976">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8a992860fea72202f1f7e9f04cd29f44"></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* 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#_stable002958">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aebed1d2142308466e51029d0b895d932"></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> TimeZone::hasSameRules </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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="classTimeZone.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#_stable002974">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleTimeZone.html#ab8753f80ffb72b190214ec34d2600d6a">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a0fcc750b49a5b5a1d8a8b8cfc496ab40">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#ac7d9f2314f648ca4dd9a41ff7a1291e2">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="abb24bd8b13b6fdf6d123747084ecbd68"></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> 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="classGregorianCalendar.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#_deprecated000227">Deprecated:</a></b></dt><dd>ICU 2.4. Use <a class="el" href="classCalendar.html#a8199d459b6d2171fb62620fab29b8668" 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="classSimpleTimeZone.html#a48b29a950e87fdf8a83aef5c684b3dfb">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a90281516dfe7f0109aac039b84297fcf">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a7e146d3447fc673030816a48363c9dfd">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a6ae773281580135bbda4d41ad3077ff9"></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>* 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="classUnicodeString.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#_internal000260">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a21d77d23b5771d6c505df92a67f90c0b"></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> TimeZone::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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="classTimeZone.html#a2c75a7026d9e0f061d0561fdcd6285bc" 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="classTimeZone.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="classTimeZone.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="classTimeZone.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#_stable002960">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a2b67f0f38a5462a2096ce5e3c0b6890e"></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="classTimeZone.html">TimeZone</a>&amp; TimeZone::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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#_stable002982">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2c75a7026d9e0f061d0561fdcd6285bc"></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> TimeZone::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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="classTimeZone.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="classTimeZone.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="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is equal to this <a class="el" href="classTimeZone.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#_stable002959">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleTimeZone.html#ae20ce2575cc09a4153ded38027cfb9d1">SimpleTimeZone</a>, <a class="el" href="classRuleBasedTimeZone.html#aa379d776d10ca4b1b5a6a9a630c911ed">RuleBasedTimeZone</a>, and <a class="el" href="classVTimeZone.html#a4ee7baef4334977ebf1d0aa12a00192c">VTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a5919faba4e0fec84943ffb6f8f5b69e5"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> TimeZone::setDefault </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.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="classTimeZone.html#ab7866aca16d2dc234452e0c69fdf9f68" 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="classTimeZone.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>
<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>

</div>
</div>
<a class="anchor" id="a37aa800476778b81a255506103e92136"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> TimeZone::setID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.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="classTimeZone.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="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6" 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 timezone ID. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002967">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a class="anchor" id="aa10a9a17184453e742bab37a99efb84e"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> 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="classTimeZone.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#_stable002964">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#a6d5b9fb28dda0d197d7e23499a446be7">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#afa8130b51030a7e26544f19f75800efe">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#abab26ceb7c02d663679dba18c69943bc">RuleBasedTimeZone</a>.</p>

</div>
</div>
<a class="anchor" id="a075576d70d80a056b9b9f8ef39acafee"></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> TimeZone::useDaylightTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#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>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002973">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleTimeZone.html#aef1be3731d1312a61aac0889307bfd62">SimpleTimeZone</a>, <a class="el" href="classVTimeZone.html#a126204d8b7d2896e96af0a222a30ced6">VTimeZone</a>, and <a class="el" href="classRuleBasedTimeZone.html#a9503f9a5f90dda51c1b565bd34c86aae">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.5
</small></address>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit