Server IP : 103.119.228.120 / Your IP : 3.145.7.253 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 : |
<!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: SimpleTimeZone 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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </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> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <div class="title">SimpleTimeZone Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code><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></code> is a concrete subclass of <code><a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> that represents a time zone for use with a Gregorian calendar. <a href="classSimpleTimeZone.html#details">More...</a></p> <p><code>#include <<a class="el" href="simpletz_8h_source.html">simpletz.h</a>></code></p> <div class="dynheader"> Inheritance diagram for SimpleTimeZone:</div> <div class="dyncontent"> <div class="center"> <img src="classSimpleTimeZone.png" usemap="#SimpleTimeZone_map" alt=""/> <map id="SimpleTimeZone_map" name="SimpleTimeZone_map"> <area href="classBasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone. " alt="BasicTimeZone" shape="rect" coords="0,168,105,192"/> <area href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. " alt="TimeZone" shape="rect" coords="0,112,105,136"/> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,105,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,105,24"/> </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:aa0134e78ee3cc1d65ea434839d39158e"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> { <b>WALL_TIME</b> = 0, <b>STANDARD_TIME</b>, <b>UTC_TIME</b> }</td></tr> <tr class="memdesc:aa0134e78ee3cc1d65ea434839d39158e"><td class="mdescLeft"> </td><td class="mdescRight">TimeMode is used, together with a millisecond offset after midnight, to specify a rule transition time. <a href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">More...</a><br/></td></tr> <tr class="separator:aa0134e78ee3cc1d65ea434839d39158e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classBasicTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classBasicTimeZone')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classBasicTimeZone.html">BasicTimeZone</a></td></tr> <tr class="memitem:a1a77df34bda000efda1bc05fa0768eda inherit pub_types_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <b>kStandard</b> = 0x01, <b>kDaylight</b> = 0x03, <b>kFormer</b> = 0x04, <b>kLatter</b> = 0x0C }</td></tr> <tr class="memdesc:a1a77df34bda000efda1bc05fa0768eda"><td class="mdescLeft"> </td><td class="mdescRight">The time type option bit flags used by getOffsetFromLocal. <a href="classBasicTimeZone.html#a1a77df34bda000efda1bc05fa0768eda">More...</a><br/></td></tr> <tr class="separator:a1a77df34bda000efda1bc05fa0768eda inherit pub_types_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classTimeZone')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classTimeZone.html">TimeZone</a></td></tr> <tr class="memitem:a3389b02eacd9bdcd90943165c63f1393 inherit pub_types_classTimeZone"><td class="memItemLeft" align="right" valign="top">enum  </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"> </td><td class="mdescRight">Enum for use with getDisplayName. <a href="classTimeZone.html#a3389b02eacd9bdcd90943165c63f1393">More...</a><br/></td></tr> <tr class="separator:a3389b02eacd9bdcd90943165c63f1393 inherit pub_types_classTimeZone"><td class="memSeparator" colspan="2"> </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:a62a8a0ad72d6b47396ef3d8212b5c33d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a62a8a0ad72d6b47396ef3d8212b5c33d">SimpleTimeZone</a> (const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &source)</td></tr> <tr class="memdesc:a62a8a0ad72d6b47396ef3d8212b5c33d"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a62a8a0ad72d6b47396ef3d8212b5c33d">More...</a><br/></td></tr> <tr class="separator:a62a8a0ad72d6b47396ef3d8212b5c33d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a228a199e8ed3155158946aa959374ebf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a228a199e8ed3155158946aa959374ebf">operator=</a> (const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &right)</td></tr> <tr class="memdesc:a228a199e8ed3155158946aa959374ebf"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#a228a199e8ed3155158946aa959374ebf">More...</a><br/></td></tr> <tr class="separator:a228a199e8ed3155158946aa959374ebf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f11a7b35245fcb6a6ba997fac7436ec"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a8f11a7b35245fcb6a6ba997fac7436ec">~SimpleTimeZone</a> ()</td></tr> <tr class="memdesc:a8f11a7b35245fcb6a6ba997fac7436ec"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a8f11a7b35245fcb6a6ba997fac7436ec">More...</a><br/></td></tr> <tr class="separator:a8f11a7b35245fcb6a6ba997fac7436ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae20ce2575cc09a4153ded38027cfb9d1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ae20ce2575cc09a4153ded38027cfb9d1">operator==</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &that) const </td></tr> <tr class="memdesc:ae20ce2575cc09a4153ded38027cfb9d1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the two <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> objects are equal; that is, they have the same ID, raw GMT offset, and DST rules. <a href="#ae20ce2575cc09a4153ded38027cfb9d1">More...</a><br/></td></tr> <tr class="separator:ae20ce2575cc09a4153ded38027cfb9d1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06ac806f66deda0ba571dda63fff6f0a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a06ac806f66deda0ba571dda63fff6f0a">SimpleTimeZone</a> (int32_t rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID)</td></tr> <tr class="memdesc:a06ac806f66deda0ba571dda63fff6f0a"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <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> with the given raw GMT offset and time zone ID, and which doesn't observe daylight savings time. <a href="#a06ac806f66deda0ba571dda63fff6f0a">More...</a><br/></td></tr> <tr class="separator:a06ac806f66deda0ba571dda63fff6f0a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a312810055cb819b59ce71652388e44f6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a312810055cb819b59ce71652388e44f6">SimpleTimeZone</a> (int32_t rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a312810055cb819b59ce71652388e44f6"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. <a href="#a312810055cb819b59ce71652388e44f6">More...</a><br/></td></tr> <tr class="separator:a312810055cb819b59ce71652388e44f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa18174e81984d0c9692dc1f545d372e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aaa18174e81984d0c9692dc1f545d372e">SimpleTimeZone</a> (int32_t rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, int32_t savingsDST, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aaa18174e81984d0c9692dc1f545d372e"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. <a href="#aaa18174e81984d0c9692dc1f545d372e">More...</a><br/></td></tr> <tr class="separator:aaa18174e81984d0c9692dc1f545d372e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0f3ca0f3f2813ae1bf8f50cdd96b9f0d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a0f3ca0f3f2813ae1bf8f50cdd96b9f0d">SimpleTimeZone</a> (int32_t rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> savingsStartTimeMode, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> savingsEndTimeMode, int32_t savingsDST, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a0f3ca0f3f2813ae1bf8f50cdd96b9f0d"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. <a href="#a0f3ca0f3f2813ae1bf8f50cdd96b9f0d">More...</a><br/></td></tr> <tr class="separator:a0f3ca0f3f2813ae1bf8f50cdd96b9f0d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e1229e930e04c19ece39572a500da89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a8e1229e930e04c19ece39572a500da89">setStartYear</a> (int32_t year)</td></tr> <tr class="memdesc:a8e1229e930e04c19ece39572a500da89"><td class="mdescLeft"> </td><td class="mdescRight">Sets the daylight savings starting year, that is, the year this time zone began observing its specified daylight savings time rules. <a href="#a8e1229e930e04c19ece39572a500da89">More...</a><br/></td></tr> <tr class="separator:a8e1229e930e04c19ece39572a500da89"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c4a9581b04860da2c1cee479a47f196"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196">setStartRule</a> (int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a8c4a9581b04860da2c1cee479a47f196"><td class="mdescLeft"> </td><td class="mdescRight">Sets the daylight savings starting rule. <a href="#a8c4a9581b04860da2c1cee479a47f196">More...</a><br/></td></tr> <tr class="separator:a8c4a9581b04860da2c1cee479a47f196"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fc33e164ee7cc61978ad97fa9160605"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a2fc33e164ee7cc61978ad97fa9160605">setStartRule</a> (int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a2fc33e164ee7cc61978ad97fa9160605"><td class="mdescLeft"> </td><td class="mdescRight">Sets the daylight savings starting rule. <a href="#a2fc33e164ee7cc61978ad97fa9160605">More...</a><br/></td></tr> <tr class="separator:a2fc33e164ee7cc61978ad97fa9160605"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a804b78f9d989933d8f01e7da8d847a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a804b78f9d989933d8f01e7da8d847a78">setStartRule</a> (int32_t month, int32_t dayOfMonth, int32_t time, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a804b78f9d989933d8f01e7da8d847a78"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST start rule to a fixed date within a month. <a href="#a804b78f9d989933d8f01e7da8d847a78">More...</a><br/></td></tr> <tr class="separator:a804b78f9d989933d8f01e7da8d847a78"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a951c1606e4adf4025d44ad3be71195d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a951c1606e4adf4025d44ad3be71195d2">setStartRule</a> (int32_t month, int32_t dayOfMonth, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a951c1606e4adf4025d44ad3be71195d2"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST start rule to a fixed date within a month. <a href="#a951c1606e4adf4025d44ad3be71195d2">More...</a><br/></td></tr> <tr class="separator:a951c1606e4adf4025d44ad3be71195d2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a660bbd9cb4ac87a081aa9a31e46e651c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a660bbd9cb4ac87a081aa9a31e46e651c">setStartRule</a> (int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a660bbd9cb4ac87a081aa9a31e46e651c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. <a href="#a660bbd9cb4ac87a081aa9a31e46e651c">More...</a><br/></td></tr> <tr class="separator:a660bbd9cb4ac87a081aa9a31e46e651c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2c18c26fb0161b4c8f2bcedabbabe32c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a2c18c26fb0161b4c8f2bcedabbabe32c">setStartRule</a> (int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a2c18c26fb0161b4c8f2bcedabbabe32c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. <a href="#a2c18c26fb0161b4c8f2bcedabbabe32c">More...</a><br/></td></tr> <tr class="separator:a2c18c26fb0161b4c8f2bcedabbabe32c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae2eee23700f7405a563cf01e3cedd797"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ae2eee23700f7405a563cf01e3cedd797">setEndRule</a> (int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ae2eee23700f7405a563cf01e3cedd797"><td class="mdescLeft"> </td><td class="mdescRight">Sets the daylight savings ending rule. <a href="#ae2eee23700f7405a563cf01e3cedd797">More...</a><br/></td></tr> <tr class="separator:ae2eee23700f7405a563cf01e3cedd797"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa431708879d771b0a9db6a885c6b9636"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aa431708879d771b0a9db6a885c6b9636">setEndRule</a> (int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aa431708879d771b0a9db6a885c6b9636"><td class="mdescLeft"> </td><td class="mdescRight">Sets the daylight savings ending rule. <a href="#aa431708879d771b0a9db6a885c6b9636">More...</a><br/></td></tr> <tr class="separator:aa431708879d771b0a9db6a885c6b9636"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a74dd5abdc15565cde82c64354b9897a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a74dd5abdc15565cde82c64354b9897a2">setEndRule</a> (int32_t month, int32_t dayOfMonth, int32_t time, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a74dd5abdc15565cde82c64354b9897a2"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST end rule to a fixed date within a month. <a href="#a74dd5abdc15565cde82c64354b9897a2">More...</a><br/></td></tr> <tr class="separator:a74dd5abdc15565cde82c64354b9897a2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab28dc36158d3f987abde313eed0fd3f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ab28dc36158d3f987abde313eed0fd3f2">setEndRule</a> (int32_t month, int32_t dayOfMonth, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ab28dc36158d3f987abde313eed0fd3f2"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST end rule to a fixed date within a month. <a href="#ab28dc36158d3f987abde313eed0fd3f2">More...</a><br/></td></tr> <tr class="separator:ab28dc36158d3f987abde313eed0fd3f2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd814ed5b3e6dec7d9713b1f29e7652e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#afd814ed5b3e6dec7d9713b1f29e7652e">setEndRule</a> (int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:afd814ed5b3e6dec7d9713b1f29e7652e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. <a href="#afd814ed5b3e6dec7d9713b1f29e7652e">More...</a><br/></td></tr> <tr class="separator:afd814ed5b3e6dec7d9713b1f29e7652e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a48e5aac89138621abd7fbac32c87c2e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a48e5aac89138621abd7fbac32c87c2e9">setEndRule</a> (int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> mode, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a48e5aac89138621abd7fbac32c87c2e9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. <a href="#a48e5aac89138621abd7fbac32c87c2e9">More...</a><br/></td></tr> <tr class="separator:a48e5aac89138621abd7fbac32c87c2e9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc1b15b477116968f77a3c5ab9e85d32"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#abc1b15b477116968f77a3c5ab9e85d32">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> &status) const </td></tr> <tr class="memdesc:abc1b15b477116968f77a3c5ab9e85d32"><td class="mdescLeft"> </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="#abc1b15b477116968f77a3c5ab9e85d32">More...</a><br/></td></tr> <tr class="separator:abc1b15b477116968f77a3c5ab9e85d32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a430dab9be720c052648f78bd388ae3a2"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a430dab9be720c052648f78bd388ae3a2">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> &status) const </td></tr> <tr class="memdesc:a430dab9be720c052648f78bd388ae3a2"><td class="mdescLeft"> </td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings. <a href="#a430dab9be720c052648f78bd388ae3a2">More...</a><br/></td></tr> <tr class="separator:a430dab9be720c052648f78bd388ae3a2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ada95e04c886d2dbee03d83ff3065e9e5"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ada95e04c886d2dbee03d83ff3065e9e5">getOffset</a> (uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t milliseconds, int32_t monthLength, int32_t prevMonthLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ada95e04c886d2dbee03d83ff3065e9e5"><td class="mdescLeft"> </td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings. <a href="#ada95e04c886d2dbee03d83ff3065e9e5">More...</a><br/></td></tr> <tr class="separator:ada95e04c886d2dbee03d83ff3065e9e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7af810373fc0ec1c97fb23fb40c43c01"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a7af810373fc0ec1c97fb23fb40c43c01">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 &rawOffset, int32_t &dstOffset, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec) const </td></tr> <tr class="memdesc:a7af810373fc0ec1c97fb23fb40c43c01"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> method. <a href="#a7af810373fc0ec1c97fb23fb40c43c01">More...</a><br/></td></tr> <tr class="separator:a7af810373fc0ec1c97fb23fb40c43c01"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10614d3037247fb45b55f528bc0be440"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a10614d3037247fb45b55f528bc0be440">getOffsetFromLocal</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, int32_t &rawOffset, int32_t &dstOffset, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a10614d3037247fb45b55f528bc0be440"><td class="mdescLeft"> </td><td class="mdescRight">Get time zone offsets from local wall time. <a href="#a10614d3037247fb45b55f528bc0be440">More...</a><br/></td></tr> <tr class="separator:a10614d3037247fb45b55f528bc0be440"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a27821d78781b1c71493457f4adaaec92"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a27821d78781b1c71493457f4adaaec92">getRawOffset</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a27821d78781b1c71493457f4adaaec92"><td class="mdescLeft"> </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="#a27821d78781b1c71493457f4adaaec92">More...</a><br/></td></tr> <tr class="separator:a27821d78781b1c71493457f4adaaec92"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6d5b9fb28dda0d197d7e23499a446be7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a6d5b9fb28dda0d197d7e23499a446be7">setRawOffset</a> (int32_t offsetMillis)</td></tr> <tr class="memdesc:a6d5b9fb28dda0d197d7e23499a446be7"><td class="mdescLeft"> </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="#a6d5b9fb28dda0d197d7e23499a446be7">More...</a><br/></td></tr> <tr class="separator:a6d5b9fb28dda0d197d7e23499a446be7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a00c5c16531af810455ef7dac35fb23fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a00c5c16531af810455ef7dac35fb23fa">setDSTSavings</a> (int32_t millisSavedDuringDST, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a00c5c16531af810455ef7dac35fb23fa"><td class="mdescLeft"> </td><td class="mdescRight">Sets the amount of time in ms that the clock is advanced during DST. <a href="#a00c5c16531af810455ef7dac35fb23fa">More...</a><br/></td></tr> <tr class="separator:a00c5c16531af810455ef7dac35fb23fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37c0880cf0340bbc31fd93df1d22d110"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a37c0880cf0340bbc31fd93df1d22d110">getDSTSavings</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a37c0880cf0340bbc31fd93df1d22d110"><td class="mdescLeft"> </td><td class="mdescRight">Returns the amount of time in ms that the clock is advanced during DST. <a href="#a37c0880cf0340bbc31fd93df1d22d110">More...</a><br/></td></tr> <tr class="separator:a37c0880cf0340bbc31fd93df1d22d110"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aef1be3731d1312a61aac0889307bfd62"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aef1be3731d1312a61aac0889307bfd62">useDaylightTime</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aef1be3731d1312a61aac0889307bfd62"><td class="mdescLeft"> </td><td class="mdescRight">Queries if this <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> uses Daylight Savings Time. <a href="#aef1be3731d1312a61aac0889307bfd62">More...</a><br/></td></tr> <tr class="separator:aef1be3731d1312a61aac0889307bfd62"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a48b29a950e87fdf8a83aef5c684b3dfb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a48b29a950e87fdf8a83aef5c684b3dfb">inDaylightTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a48b29a950e87fdf8a83aef5c684b3dfb"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given date is within the period when daylight savings time is in effect; false otherwise. <a href="#a48b29a950e87fdf8a83aef5c684b3dfb">More...</a><br/></td></tr> <tr class="separator:a48b29a950e87fdf8a83aef5c684b3dfb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8753f80ffb72b190214ec34d2600d6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ab8753f80ffb72b190214ec34d2600d6a">hasSameRules</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &other) const </td></tr> <tr class="memdesc:ab8753f80ffb72b190214ec34d2600d6a"><td class="mdescLeft"> </td><td class="mdescRight">Return true if this zone has the same rules and offset as another zone. <a href="#ab8753f80ffb72b190214ec34d2600d6a">More...</a><br/></td></tr> <tr class="separator:ab8753f80ffb72b190214ec34d2600d6a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aacbde413ecbc2c68811f1dde5143bd4c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTimeZone.html">TimeZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aacbde413ecbc2c68811f1dde5143bd4c">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aacbde413ecbc2c68811f1dde5143bd4c"><td class="mdescLeft"> </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="#aacbde413ecbc2c68811f1dde5143bd4c">More...</a><br/></td></tr> <tr class="separator:aacbde413ecbc2c68811f1dde5143bd4c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28346f7486199f9b7c03ce229fa626af"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a28346f7486199f9b7c03ce229fa626af">getNextTransition</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="el" href="classTimeZoneTransition.html">TimeZoneTransition</a> &result)</td></tr> <tr class="memdesc:a28346f7486199f9b7c03ce229fa626af"><td class="mdescLeft"> </td><td class="mdescRight">Gets the first time zone transition after the base time. <a href="#a28346f7486199f9b7c03ce229fa626af">More...</a><br/></td></tr> <tr class="separator:a28346f7486199f9b7c03ce229fa626af"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa84042f21c3d095147b0e207f835deb9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aa84042f21c3d095147b0e207f835deb9">getPreviousTransition</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="el" href="classTimeZoneTransition.html">TimeZoneTransition</a> &result)</td></tr> <tr class="memdesc:aa84042f21c3d095147b0e207f835deb9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the most recent time zone transition before the base time. <a href="#aa84042f21c3d095147b0e207f835deb9">More...</a><br/></td></tr> <tr class="separator:aa84042f21c3d095147b0e207f835deb9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a12f021f608389d82c0a9e23ca3fd7ad8"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a12f021f608389d82c0a9e23ca3fd7ad8">countTransitionRules</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a12f021f608389d82c0a9e23ca3fd7ad8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code>s which represents time transitions, for this time zone, that is, all <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code>s for this time zone except <code><a class="el" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a></code>. <a href="#a12f021f608389d82c0a9e23ca3fd7ad8">More...</a><br/></td></tr> <tr class="separator:a12f021f608389d82c0a9e23ca3fd7ad8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e584a10d12226e32c0e4ea14a2ccd52"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a0e584a10d12226e32c0e4ea14a2ccd52">getTimeZoneRules</a> (const <a class="el" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a> *&initial, const <a class="el" href="classTimeZoneRule.html">TimeZoneRule</a> *trsrules[], int32_t &trscount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a0e584a10d12226e32c0e4ea14a2ccd52"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <code><a class="el" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a></code> and the set of <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code> which represent time transitions for this time zone. <a href="#a0e584a10d12226e32c0e4ea14a2ccd52">More...</a><br/></td></tr> <tr class="separator:a0e584a10d12226e32c0e4ea14a2ccd52"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad7c3df95d43756f22fdd97ab31c199bc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ad7c3df95d43756f22fdd97ab31c199bc">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ad7c3df95d43756f22fdd97ab31c199bc"><td class="mdescLeft"> </td><td class="mdescRight">Override <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> Returns a unique class ID POLYMORPHICALLY. <a href="#ad7c3df95d43756f22fdd97ab31c199bc">More...</a><br/></td></tr> <tr class="separator:ad7c3df95d43756f22fdd97ab31c199bc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classBasicTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classBasicTimeZone')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classBasicTimeZone.html">BasicTimeZone</a></td></tr> <tr class="memitem:a04187c449e9d480c310c52632f71ff6e inherit pub_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a04187c449e9d480c310c52632f71ff6e">~BasicTimeZone</a> ()</td></tr> <tr class="memdesc:a04187c449e9d480c310c52632f71ff6e inherit pub_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a04187c449e9d480c310c52632f71ff6e">More...</a><br/></td></tr> <tr class="separator:a04187c449e9d480c310c52632f71ff6e inherit pub_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d90e8f1bea2ce3b6530970ed9a551c1 inherit pub_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a3d90e8f1bea2ce3b6530970ed9a551c1">hasEquivalentTransitions</a> (<a class="el" href="classBasicTimeZone.html">BasicTimeZone</a> &tz, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> start, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> end, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ignoreDstAmount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec)</td></tr> <tr class="memdesc:a3d90e8f1bea2ce3b6530970ed9a551c1 inherit pub_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Checks if the time zone has equivalent transitions in the time range. <a href="#a3d90e8f1bea2ce3b6530970ed9a551c1">More...</a><br/></td></tr> <tr class="separator:a3d90e8f1bea2ce3b6530970ed9a551c1 inherit pub_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a38a6f7109a6b550d14833dfd511078d1 inherit pub_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a38a6f7109a6b550d14833dfd511078d1">getSimpleRulesNear</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a> *&initial, <a class="el" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a> *&std, <a class="el" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a> *&dst, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a38a6f7109a6b550d14833dfd511078d1 inherit pub_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Gets the set of time zone rules valid at the specified time. <a href="#a38a6f7109a6b550d14833dfd511078d1">More...</a><br/></td></tr> <tr class="separator:a38a6f7109a6b550d14833dfd511078d1 inherit pub_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classTimeZone')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classTimeZone.html">TimeZone</a></td></tr> <tr class="memitem:a217918d77d5d3e3a0ad2d1947f21f26a inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a217918d77d5d3e3a0ad2d1947f21f26a">~TimeZone</a> ()</td></tr> <tr class="separator:a217918d77d5d3e3a0ad2d1947f21f26a inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21d77d23b5771d6c505df92a67f90c0b inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a21d77d23b5771d6c505df92a67f90c0b">operator!=</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &that) const </td></tr> <tr class="memdesc:a21d77d23b5771d6c505df92a67f90c0b inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5135fc9e1727a70764103ff4d8ce690e inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5135fc9e1727a70764103ff4d8ce690e">getID</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &ID) const </td></tr> <tr class="memdesc:a5135fc9e1727a70764103ff4d8ce690e inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37aa800476778b81a255506103e92136 inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a37aa800476778b81a255506103e92136">setID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID)</td></tr> <tr class="memdesc:a37aa800476778b81a255506103e92136 inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a593b832ff5a9eb0bb1167252aac225c9 inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a593b832ff5a9eb0bb1167252aac225c9">getDisplayName</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a593b832ff5a9eb0bb1167252aac225c9 inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5bcf5bfab02c5d3d4dd14f3e98a42692 inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5bcf5bfab02c5d3d4dd14f3e98a42692">getDisplayName</a> (const <a class="el" href="classLocale.html">Locale</a> &locale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a5bcf5bfab02c5d3d4dd14f3e98a42692 inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a858fa452768da2ec9008103dbcabbcd7 inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> &result) const </td></tr> <tr class="memdesc:a858fa452768da2ec9008103dbcabbcd7 inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06502872a743b89097519e86b671bef9 inherit pub_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> &locale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a06502872a743b89097519e86b671bef9 inherit pub_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> 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 </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"> </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"> </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:a39d0abe21be338f073121a9147913150"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a39d0abe21be338f073121a9147913150">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a39d0abe21be338f073121a9147913150"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a39d0abe21be338f073121a9147913150">More...</a><br/></td></tr> <tr class="separator:a39d0abe21be338f073121a9147913150"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classTimeZone')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classTimeZone.html">TimeZone</a></td></tr> <tr class="memitem:a50b68aadc74671ecd4e00c6a27deff9e inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classTimeZone.html">TimeZone</a> * </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 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11ffc5d14d3956478110909e6dca01b6 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTimeZone.html">TimeZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a11ffc5d14d3956478110909e6dca01b6">createTimeZone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &ID)</td></tr> <tr class="memdesc:a11ffc5d14d3956478110909e6dca01b6 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a362ad48ebf317d439247b3bc0e40789d inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a362ad48ebf317d439247b3bc0e40789d">createEnumeration</a> ()</td></tr> <tr class="memdesc:a362ad48ebf317d439247b3bc0e40789d inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21e73bc11f44cc82aa006a138d0cd3c9 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a21e73bc11f44cc82aa006a138d0cd3c9">createEnumeration</a> (int32_t rawOffset)</td></tr> <tr class="memdesc:a21e73bc11f44cc82aa006a138d0cd3c9 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6621223637dd52ff7b0f7f890c806441 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a6621223637dd52ff7b0f7f890c806441">createEnumeration</a> (const char *country)</td></tr> <tr class="memdesc:a6621223637dd52ff7b0f7f890c806441 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3527d4cd0c608da0a1390f6acaae71f9 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a3527d4cd0c608da0a1390f6acaae71f9">countEquivalentIDs</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id)</td></tr> <tr class="memdesc:a3527d4cd0c608da0a1390f6acaae71f9 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0b6c33dc8cddd291ba32c749a518323 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#ab0b6c33dc8cddd291ba32c749a518323">getEquivalentID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id, int32_t index)</td></tr> <tr class="memdesc:ab0b6c33dc8cddd291ba32c749a518323 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb13a4845ba186dc4c1151f4cd3de0a6 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTimeZone.html">TimeZone</a> * </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 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7866aca16d2dc234452e0c69fdf9f68 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5919faba4e0fec84943ffb6f8f5b69e5 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a5919faba4e0fec84943ffb6f8f5b69e5">setDefault</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone)</td></tr> <tr class="memdesc:a5919faba4e0fec84943ffb6f8f5b69e5 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classTimeZone.html#ab7866aca16d2dc234452e0c69fdf9f68" title="Sets the default time zone (i.e., what'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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a992860fea72202f1f7e9f04cd29f44 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static const char * </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> &status)</td></tr> <tr class="memdesc:a8a992860fea72202f1f7e9f04cd29f44 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0bf42643e7a2bd8a1c71bcf2c5b28d46 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a0bf42643e7a2bd8a1c71bcf2c5b28d46">getCanonicalID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id, <a class="el" href="classUnicodeString.html">UnicodeString</a> &canonicalID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a0bf42643e7a2bd8a1c71bcf2c5b28d46 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a326de476b4e103325c5306fb2ad3e9b9 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a326de476b4e103325c5306fb2ad3e9b9">getCanonicalID</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id, <a class="el" href="classUnicodeString.html">UnicodeString</a> &canonicalID, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> &isSystemID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a326de476b4e103325c5306fb2ad3e9b9 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </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 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6089503a336da33a745c99ce9a03bc16 inherit pub_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </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 inherit pub_static_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a6089503a336da33a745c99ce9a03bc16">More...</a><br/></td></tr> <tr class="separator:a6089503a336da33a745c99ce9a03bc16 inherit pub_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </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="-"/> 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> * </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"> </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"> </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> * </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"> </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"> </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> </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"> </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"> </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> </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"> </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"> </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> * </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"> </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"> </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> </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"> </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"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_types_classBasicTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classBasicTimeZone')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classBasicTimeZone.html">BasicTimeZone</a></td></tr> <tr class="memitem:a4979642164ded8fdaaa6ee3f05c05efb inherit pro_types_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <b>kStdDstMask</b> = kDaylight, <b>kFormerLatterMask</b> = kLatter }</td></tr> <tr class="memdesc:a4979642164ded8fdaaa6ee3f05c05efb"><td class="mdescLeft"> </td><td class="mdescRight">The time type option bit masks used by getOffsetFromLocal. <a href="classBasicTimeZone.html#a4979642164ded8fdaaa6ee3f05c05efb">More...</a><br/></td></tr> <tr class="separator:a4979642164ded8fdaaa6ee3f05c05efb inherit pro_types_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classBasicTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classBasicTimeZone')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classBasicTimeZone.html">BasicTimeZone</a></td></tr> <tr class="memitem:a72ed5780ab456efe6cc185aaafa0e8c2 inherit pro_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a72ed5780ab456efe6cc185aaafa0e8c2">BasicTimeZone</a> ()</td></tr> <tr class="memdesc:a72ed5780ab456efe6cc185aaafa0e8c2 inherit pro_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a72ed5780ab456efe6cc185aaafa0e8c2">More...</a><br/></td></tr> <tr class="separator:a72ed5780ab456efe6cc185aaafa0e8c2 inherit pro_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac57d49a09cf61768ba663f69eab05863 inherit pro_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#ac57d49a09cf61768ba663f69eab05863">BasicTimeZone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id)</td></tr> <tr class="memdesc:ac57d49a09cf61768ba663f69eab05863 inherit pro_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Construct a timezone with a given ID. <a href="#ac57d49a09cf61768ba663f69eab05863">More...</a><br/></td></tr> <tr class="separator:ac57d49a09cf61768ba663f69eab05863 inherit pro_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2898331d9e1dca31ed4fd6cfeaeebbf9 inherit pro_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a2898331d9e1dca31ed4fd6cfeaeebbf9">BasicTimeZone</a> (const <a class="el" href="classBasicTimeZone.html">BasicTimeZone</a> &source)</td></tr> <tr class="memdesc:a2898331d9e1dca31ed4fd6cfeaeebbf9 inherit pro_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a2898331d9e1dca31ed4fd6cfeaeebbf9">More...</a><br/></td></tr> <tr class="separator:a2898331d9e1dca31ed4fd6cfeaeebbf9 inherit pro_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e029ef64dee2348f679a55f62e9bb5d inherit pro_methods_classBasicTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBasicTimeZone.html#a2e029ef64dee2348f679a55f62e9bb5d">getTimeZoneRulesAfter</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> start, <a class="el" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a> *&initial, UVector *&transitionRules, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a2e029ef64dee2348f679a55f62e9bb5d inherit pro_methods_classBasicTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Gets the set of <a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a> instances applicable to the specified time and after. <a href="#a2e029ef64dee2348f679a55f62e9bb5d">More...</a><br/></td></tr> <tr class="separator:a2e029ef64dee2348f679a55f62e9bb5d inherit pro_methods_classBasicTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classTimeZone')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classTimeZone.html">TimeZone</a></td></tr> <tr class="memitem:a7d41f8d4c3314f43bd076bc443bf7854 inherit pro_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a7d41f8d4c3314f43bd076bc443bf7854">TimeZone</a> ()</td></tr> <tr class="memdesc:a7d41f8d4c3314f43bd076bc443bf7854 inherit pro_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a7d41f8d4c3314f43bd076bc443bf7854">More...</a><br/></td></tr> <tr class="separator:a7d41f8d4c3314f43bd076bc443bf7854 inherit pro_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a69223432bbff1ce0e81266042c4c8f5a inherit pro_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a69223432bbff1ce0e81266042c4c8f5a">TimeZone</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &id)</td></tr> <tr class="memdesc:a69223432bbff1ce0e81266042c4c8f5a inherit pro_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Construct a timezone with a given ID. <a href="#a69223432bbff1ce0e81266042c4c8f5a">More...</a><br/></td></tr> <tr class="separator:a69223432bbff1ce0e81266042c4c8f5a inherit pro_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a84f048b12288b9085a4703c4fda7e4bc inherit pro_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a84f048b12288b9085a4703c4fda7e4bc">TimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &source)</td></tr> <tr class="memdesc:a84f048b12288b9085a4703c4fda7e4bc inherit pro_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a84f048b12288b9085a4703c4fda7e4bc">More...</a><br/></td></tr> <tr class="separator:a84f048b12288b9085a4703c4fda7e4bc inherit pro_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2b67f0f38a5462a2096ce5e3c0b6890e inherit pro_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTimeZone.html">TimeZone</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeZone.html#a2b67f0f38a5462a2096ce5e3c0b6890e">operator=</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &right)</td></tr> <tr class="memdesc:a2b67f0f38a5462a2096ce5e3c0b6890e inherit pro_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#a2b67f0f38a5462a2096ce5e3c0b6890e">More...</a><br/></td></tr> <tr class="separator:a2b67f0f38a5462a2096ce5e3c0b6890e inherit pro_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_methods_classTimeZone"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classTimeZone')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classTimeZone.html">TimeZone</a></td></tr> <tr class="memitem:a6ae773281580135bbda4d41ad3077ff9 inherit pro_static_methods_classTimeZone"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> * </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> &ruleid, <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *oldbundle, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a6ae773281580135bbda4d41ad3077ff9 inherit pro_static_methods_classTimeZone"><td class="mdescLeft"> </td><td class="mdescRight">Utility function. <a href="#a6ae773281580135bbda4d41ad3077ff9">More...</a><br/></td></tr> <tr class="separator:a6ae773281580135bbda4d41ad3077ff9 inherit pro_static_methods_classTimeZone"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><code><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></code> is a concrete subclass of <code><a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a></code> that represents a time zone for use with a Gregorian calendar. </p> <p>This class does not handle historical changes. </p> <p>When specifying daylight-savings-time begin and end dates, use a negative value for <code>dayOfWeekInMonth</code> to indicate that <code><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></code> should count from the end of the month backwards. For example, in the U.S., Daylight Savings Time ends at the last (dayOfWeekInMonth = -1) Sunday in October, at 2 AM in standard time.</p> <dl class="section see"><dt>See Also</dt><dd><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> </dd> <dd> <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> </dd> <dd> <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> </dd></dl> <dl class="section author"><dt>Author</dt><dd>D. Goldsmith, Mark Davis, Chen-Lieh Huang, Alan Liu </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00061">61</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="aa0134e78ee3cc1d65ea434839d39158e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">SimpleTimeZone::TimeMode</a></td> </tr> </table> </div><div class="memdoc"> <p>TimeMode is used, together with a millisecond offset after midnight, to specify a rule transition time. </p> <p>Most rules transition at a local wall time, that is, according to the current time in effect, either standard, or DST. However, some rules transition at local standard time, and some at a specific UTC time. Although it might seem that all times could be converted to wall time, thus eliminating the need for this parameter, this is not the case. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002816">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00075">75</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a62a8a0ad72d6b47396ef3d8212b5c33d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleTimeZone::SimpleTimeZone </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> & </td> <td class="paramname"><em>source</em></td><td>)</td> <td></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#_stable002817">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8f11a7b35245fcb6a6ba997fac7436ec"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual SimpleTimeZone::~SimpleTimeZone </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"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002819">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a06ac806f66deda0ba571dda63fff6f0a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleTimeZone::SimpleTimeZone </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>rawOffsetGMT</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <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> with the given raw GMT offset and time zone ID, and which doesn't observe daylight savings time. </p> <p>Normally you should use TimeZone::createInstance() to create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> instead of creating a <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> directly with this constructor.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rawOffsetGMT</td><td>The given base time zone offset to GMT. </td></tr> <tr><td class="paramname">ID</td><td>The timezone ID which is obtained from TimeZone.getAvailableIDs. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002821">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a312810055cb819b59ce71652388e44f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleTimeZone::SimpleTimeZone </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>rawOffsetGMT</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>ID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsStartTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsEndTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. </p> <p>To create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use <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(rawOffset, ID)</a> instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> instead of creating a <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> directly with this constructor. </p> <p>Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rawOffsetGMT</td><td>The new <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>'s raw GMT offset </td></tr> <tr><td class="paramname">ID</td><td>The new <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>'s time zone ID. </td></tr> <tr><td class="paramname">savingsStartMonth</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsStartDayOfWeekInMonth</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartDayOfWeek</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartTime</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">savingsEndMonth</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsEndDayOfWeekInMonth</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndDayOfWeek</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndTime</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002822">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aaa18174e81984d0c9692dc1f545d372e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleTimeZone::SimpleTimeZone </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>rawOffsetGMT</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>ID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsStartTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsEndTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsDST</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. </p> <p>To create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use <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(rawOffset, ID)</a> instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> instead of creating a <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> directly with this constructor. </p> <p>Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rawOffsetGMT</td><td>The new <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>'s raw GMT offset </td></tr> <tr><td class="paramname">ID</td><td>The new <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>'s time zone ID. </td></tr> <tr><td class="paramname">savingsStartMonth</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsStartDayOfWeekInMonth</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartDayOfWeek</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartTime</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">savingsEndMonth</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsEndDayOfWeekInMonth</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndDayOfWeek</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndTime</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">savingsDST</td><td>The number of milliseconds added to standard time to get DST time. Default is one hour. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002823">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0f3ca0f3f2813ae1bf8f50cdd96b9f0d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleTimeZone::SimpleTimeZone </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>rawOffsetGMT</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>ID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsStartDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsStartTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>savingsStartTimeMode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int8_t </td> <td class="paramname"><em>savingsEndDayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsEndTime</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>savingsEndTimeMode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>savingsDST</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <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> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. </p> <p>To create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use <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(rawOffset, ID)</a> instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> instead of creating a <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> directly with this constructor. </p> <p>Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rawOffsetGMT</td><td>The new <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>'s raw GMT offset </td></tr> <tr><td class="paramname">ID</td><td>The new <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>'s time zone ID. </td></tr> <tr><td class="paramname">savingsStartMonth</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsStartDayOfWeekInMonth</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartDayOfWeek</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsStartTime</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">savingsStartTimeMode</td><td>Whether the start time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">savingsEndMonth</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">savingsEndDayOfWeekInMonth</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndDayOfWeek</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">savingsEndTime</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr> <tr><td class="paramname">savingsEndTimeMode</td><td>Whether the end time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">savingsDST</td><td>The number of milliseconds added to standard time to get DST time. Default is one hour. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002824">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aacbde413ecbc2c68811f1dde5143bd4c"></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>* SimpleTimeZone::clone </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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>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#_stable002848">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#a35b23140b29f59560b12da3450289347">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a12f021f608389d82c0a9e23ca3fd7ad8"></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 SimpleTimeZone::countTransitionRules </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the number of <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code>s which represents time transitions, for this time zone, that is, all <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code>s for this time zone except <code><a class="el" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a></code>. </p> <p>The return value range is 0 or any positive value. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Receives error status code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The number of <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code>s representing time transitions. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002851">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> <p>Implements <a class="el" href="classBasicTimeZone.html#a6a24226cfc738d554a2a563021ccee28">BasicTimeZone</a>.</p> </div> </div> <a class="anchor" id="a37c0880cf0340bbc31fd93df1d22d110"></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 SimpleTimeZone::getDSTSavings </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 in ms that the clock is advanced during DST. </p> <dl class="section return"><dt>Returns</dt><dd>the number of milliseconds the time is advanced with respect to standard time when the daylight savings rules are in effect. A positive number, typically one hour (3600000). </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002845">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classTimeZone.html#ab6f2f5a872528bd8ab664378338deaad">TimeZone</a>.</p> </div> </div> <a class="anchor" id="ad7c3df95d43756f22fdd97ab31c199bc"></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> SimpleTimeZone::getDynamicClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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>Override <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> Returns a unique class ID POLYMORPHICALLY. </p> <p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classSimpleTimeZone.html#ae20ce2575cc09a4153ded38027cfb9d1" title="Returns true if the two TimeZone objects are equal; that is, they have the same ID, raw GMT offset, and DST rules. ">operator==()</a> and <a class="el" href="classSimpleTimeZone.html#aacbde413ecbc2c68811f1dde5143bd4c" title="Clones TimeZone objects polymorphically. ">clone()</a> methods call this method.</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#_stable002853">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#a825e1474130ebcdfedc7ffa64c016220">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a28346f7486199f9b7c03ce229fa626af"></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> SimpleTimeZone::getNextTransition </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>base</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>inclusive</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classTimeZoneTransition.html">TimeZoneTransition</a> & </td> <td class="paramname"><em>result</em> </td> </tr> <tr> <td></td> <td>)</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"> <p>Gets the first time zone transition after the base time. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">base</td><td>The base time. </td></tr> <tr><td class="paramname">inclusive</td><td>Whether the base time is inclusive or not. </td></tr> <tr><td class="paramname">result</td><td>Receives the first transition after the base time. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the transition is found. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002849">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> <p>Implements <a class="el" href="classBasicTimeZone.html#a7139f3be13450d9833717644227fd2e4">BasicTimeZone</a>.</p> </div> </div> <a class="anchor" id="abc1b15b477116968f77a3c5ab9e85d32"></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 SimpleTimeZone::getOffset </td> <td>(</td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>era</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>day</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>status</em> </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 <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 in GMT, NOT local time.</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, UTT (NOT local time). </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </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#_stable002838">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#a017d9aeff3e3bbef824088d8fadeb800">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a430dab9be720c052648f78bd388ae3a2"></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 SimpleTimeZone::getOffset </td> <td>(</td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>era</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>day</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>milliseconds</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>status</em> </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>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> <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>An UErrorCode to receive the status. </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#_stable002839">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#adfa3ff0693402eca3af43519fa88d520">TimeZone</a>.</p> </div> </div> <a class="anchor" id="ada95e04c886d2dbee03d83ff3065e9e5"></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 SimpleTimeZone::getOffset </td> <td>(</td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>era</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>day</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">uint8_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>milliseconds</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>monthLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>prevMonthLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </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>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> <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">prevMonthLength</td><td>length of the previous month in days. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </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#_stable002840">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a7af810373fc0ec1c97fb23fb40c43c01"></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> SimpleTimeZone::getOffset </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> </td> <td class="paramname"><em>local</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>rawOffset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </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> & </td> <td class="paramname"><em>ec</em> </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">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> method. </p> <p>This implementation simply calls the base class method, which otherwise would be hidden. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002841">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> <p>Reimplemented from <a class="el" href="classTimeZone.html#af11878c114a8fe5885c28464716a8cb7">TimeZone</a>.</p> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00918">918</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>References <a class="el" href="classTimeZone.html#a017d9aeff3e3bbef824088d8fadeb800">TimeZone::getOffset()</a>.</p> </div> </div> <a class="anchor" id="a10614d3037247fb45b55f528bc0be440"></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> SimpleTimeZone::getOffsetFromLocal </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>date</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>nonExistingTimeOpt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>duplicatedTimeOpt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>rawOffset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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"> <p>Get time zone offsets from local wall time. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000254">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classBasicTimeZone.html#a4d84c1cdcdd96ae9ac75cdb9e04002fe">BasicTimeZone</a>.</p> </div> </div> <a class="anchor" id="aa84042f21c3d095147b0e207f835deb9"></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> SimpleTimeZone::getPreviousTransition </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>base</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>inclusive</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classTimeZoneTransition.html">TimeZoneTransition</a> & </td> <td class="paramname"><em>result</em> </td> </tr> <tr> <td></td> <td>)</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"> <p>Gets the most recent time zone transition before the base time. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">base</td><td>The base time. </td></tr> <tr><td class="paramname">inclusive</td><td>Whether the base time is inclusive or not. </td></tr> <tr><td class="paramname">result</td><td>Receives the most recent transition before the base time. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the transition is found. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002850">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> <p>Implements <a class="el" href="classBasicTimeZone.html#a8eb6e573592f43efdb497e20c7a34beb">BasicTimeZone</a>.</p> </div> </div> <a class="anchor" id="a27821d78781b1c71493457f4adaaec92"></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 SimpleTimeZone::getRawOffset </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 <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#_stable002842">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#a8ad1d8e8ab11e48628ff5789d8d0170d">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a39d0abe21be338f073121a9147913150"></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> SimpleTimeZone::getStaticClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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="classSimpleTimeZone.html#ad7c3df95d43756f22fdd97ab31c199bc" title="Override TimeZone Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p> <pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classSimpleTimeZone.html#ad7c3df95d43756f22fdd97ab31c199bc" title="Override TimeZone Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> == . Derived::getStaticClassID()) ... </pre> <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#_stable002854">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0e584a10d12226e32c0e4ea14a2ccd52"></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> SimpleTimeZone::getTimeZoneRules </td> <td>(</td> <td class="paramtype">const <a class="el" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a> *& </td> <td class="paramname"><em>initial</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classTimeZoneRule.html">TimeZoneRule</a> * </td> <td class="paramname"><em>trsrules</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>trscount</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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"> <p>Gets the <code><a class="el" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a></code> and the set of <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code> which represent time transitions for this time zone. </p> <p>On successful return, the argument initial points to non-NULL <code><a class="el" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a></code> and the array trsrules is filled with 0 or multiple <code><a class="el" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone. ">TimeZoneRule</a></code> instances up to the size specified by trscount. The results are referencing the rule instance held by this time zone instance. Therefore, after this time zone is destructed, they are no longer available. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">initial</td><td>Receives the initial timezone rule </td></tr> <tr><td class="paramname">trsrules</td><td>Receives the timezone transition rules </td></tr> <tr><td class="paramname">trscount</td><td>On input, specify the size of the array 'transitions' receiving the timezone transition rules. On output, actual number of rules filled in the array will be set. </td></tr> <tr><td class="paramname">status</td><td>Receives error status code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002852">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl> <p>Implements <a class="el" href="classBasicTimeZone.html#a4db4254a521bad3811df69ba032369fe">BasicTimeZone</a>.</p> </div> </div> <a class="anchor" id="ab8753f80ffb72b190214ec34d2600d6a"></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> SimpleTimeZone::hasSameRules </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> & </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>Return true if this zone has the same rules and offset as another zone. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">other</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 zone has the same rules and offset as this one </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002847">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classTimeZone.html#aebed1d2142308466e51029d0b895d932">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a48b29a950e87fdf8a83aef5c684b3dfb"></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> SimpleTimeZone::inDaylightTime </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> & </td> <td class="paramname"><em>status</em> </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 true if the given date is within the period when daylight savings time is in effect; false otherwise. </p> <p>If the <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> doesn't observe daylight savings time, this functions always returns false. 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 date to test. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </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#_deprecated000202">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>Implements <a class="el" href="classTimeZone.html#abb24bd8b13b6fdf6d123747084ecbd68">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a228a199e8ed3155158946aa959374ebf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a>& SimpleTimeZone::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> & </td> <td class="paramname"><em>right</em></td><td>)</td> <td></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#_stable002818">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae20ce2575cc09a4153ded38027cfb9d1"></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> SimpleTimeZone::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> & </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 <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> objects are equal; that is, they have the same ID, raw GMT offset, and DST rules. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">that</td><td>The <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> object to be compared with. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>True if the given time zone is equal to this time zone; false otherwise. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002820">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classTimeZone.html#a2c75a7026d9e0f061d0561fdcd6285bc">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a00c5c16531af810455ef7dac35fb23fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setDSTSavings </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>millisSavedDuringDST</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the amount of time in ms that the clock is advanced during DST. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">millisSavedDuringDST</td><td>the number of milliseconds the time is advanced with respect to standard time when the daylight savings rules are in effect. A positive number, typically one hour (3600000). </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode to receive the status. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002844">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae2eee23700f7405a563cf01e3cedd797"></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> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 daylight savings ending rule. </p> <p>For example, in the U.S., Daylight Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time. Therefore, you can set the end rule by calling: </p> <pre> . setEndRule(TimeFields.OCTOBER, -1, TimeFields.SUNDAY, 2*60*60*1000); </pre><p> Various other types of rules can be specified by manipulating the dayOfWeek and dayOfWeekInMonth parameters. For complete details, see the documentation for <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">dayOfWeekInMonth</td><td>the daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">dayOfWeek</td><td>the daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">time</td><td>the daylight savings ending time. Please see the member description for an example. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002832">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00901">901</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>Referenced by <a class="el" href="simpletz_8h_source.html#l00907">setEndRule()</a>.</p> </div> </div> <a class="anchor" id="aa431708879d771b0a9db6a885c6b9636"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the daylight savings ending rule. </p> <p>For example, in the U.S., Daylight Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time. Therefore, you can set the end rule by calling: </p> <pre> . setEndRule(TimeFields.OCTOBER, -1, TimeFields.SUNDAY, 2*60*60*1000); </pre><p> Various other types of rules can be specified by manipulating the dayOfWeek and dayOfWeekInMonth parameters. For complete details, see the documentation for <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">dayOfWeekInMonth</td><td>the daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">dayOfWeek</td><td>the daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196" title="Sets the daylight savings starting rule. ">setStartRule()</a> for a complete explanation. </td></tr> <tr><td class="paramname">time</td><td>the daylight savings ending time. Please see the member description for an example. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002833">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a74dd5abdc15565cde82c64354b9897a2"></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> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 DST end rule to a fixed date within a month. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>The date in that month (1-based). </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002834">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00907">907</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>References <a class="el" href="simpletz_8h_source.html#l00901">setEndRule()</a>.</p> </div> </div> <a class="anchor" id="ab28dc36158d3f987abde313eed0fd3f2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the DST end rule to a fixed date within a month. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>The date in that month (1-based). </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002835">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="afd814ed5b3e6dec7d9713b1f29e7652e"></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> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>after</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>A date within that month (1-based). </td></tr> <tr><td class="paramname">dayOfWeek</td><td>The day of the week on which this rule occurs. </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr> <tr><td class="paramname">after</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002836">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00912">912</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>References <a class="el" href="simpletz_8h_source.html#l00901">setEndRule()</a>.</p> </div> </div> <a class="anchor" id="a48e5aac89138621abd7fbac32c87c2e9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setEndRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>after</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>A date within that month (1-based). </td></tr> <tr><td class="paramname">dayOfWeek</td><td>The day of the week on which this rule occurs. </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">after</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002837">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6d5b9fb28dda0d197d7e23499a446be7"></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> SimpleTimeZone::setRawOffset </td> <td>(</td> <td class="paramtype">int32_t </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">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#_stable002843">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#aa10a9a17184453e742bab37a99efb84e">TimeZone</a>.</p> </div> </div> <a class="anchor" id="a8c4a9581b04860da2c1cee479a47f196"></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> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 daylight savings starting rule. </p> <p>For example, in the U.S., Daylight Savings Time starts at the first Sunday in April, at 2 AM in standard time. Therefore, you can set the start rule by calling: setStartRule(TimeFields.APRIL, 1, TimeFields.SUNDAY, 2*60*60*1000); The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate the exact starting date. Their exact meaning depend on their respective signs, allowing various types of rules to be constructed, as follows: </p> <ul> <li> If both dayOfWeekInMonth and dayOfWeek are positive, they specify the day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday of the month). </li> <li> If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify the day of week in the month counting backward from the end of the month. (e.g., (-1, MONDAY) is the last Monday in the month) </li> <li> If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth specifies the day of the month, regardless of what day of the week it is. (e.g., (10, 0) is the tenth day of the month) </li> <li> If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth specifies the day of the month counting backward from the end of the month, regardless of what day of the week it is (e.g., (-2, 0) is the next-to-last day of the month). </li> <li> If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the first specified day of the week on or after the specfied day of the month. (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month [or the 15th itself if the 15th is a Sunday].) </li> <li> If dayOfWeek and DayOfWeekInMonth are both negative, they specify the last specified day of the week on or before the specified day of the month. (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month [or the 20th itself if the 20th is a Tuesday].) </li> </ul> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">dayOfWeekInMonth</td><td>the daylight savings starting day-of-week-in-month. Please see the member description for an example. </td></tr> <tr><td class="paramname">dayOfWeek</td><td>the daylight savings starting day-of-week. Please see the member description for an example. </td></tr> <tr><td class="paramname">time</td><td>the daylight savings starting time. Please see the member description for an example. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002826">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00883">883</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>Referenced by <a class="el" href="simpletz_8h_source.html#l00889">setStartRule()</a>.</p> </div> </div> <a class="anchor" id="a2fc33e164ee7cc61978ad97fa9160605"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeekInMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the daylight savings starting rule. </p> <p>For example, in the U.S., Daylight Savings Time starts at the first Sunday in April, at 2 AM in standard time. Therefore, you can set the start rule by calling: setStartRule(TimeFields.APRIL, 1, TimeFields.SUNDAY, 2*60*60*1000); The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate the exact starting date. Their exact meaning depend on their respective signs, allowing various types of rules to be constructed, as follows: </p> <ul> <li> If both dayOfWeekInMonth and dayOfWeek are positive, they specify the day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday of the month). </li> <li> If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify the day of week in the month counting backward from the end of the month. (e.g., (-1, MONDAY) is the last Monday in the month) </li> <li> If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth specifies the day of the month, regardless of what day of the week it is. (e.g., (10, 0) is the tenth day of the month) </li> <li> If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth specifies the day of the month counting backward from the end of the month, regardless of what day of the week it is (e.g., (-2, 0) is the next-to-last day of the month). </li> <li> If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the first specified day of the week on or after the specfied day of the month. (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month [or the 15th itself if the 15th is a Sunday].) </li> <li> If dayOfWeek and DayOfWeekInMonth are both negative, they specify the last specified day of the week on or before the specified day of the month. (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month [or the 20th itself if the 20th is a Tuesday].) </li> </ul> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr> <tr><td class="paramname">dayOfWeekInMonth</td><td>the daylight savings starting day-of-week-in-month. Please see the member description for an example. </td></tr> <tr><td class="paramname">dayOfWeek</td><td>the daylight savings starting day-of-week. Please see the member description for an example. </td></tr> <tr><td class="paramname">time</td><td>the daylight savings starting time. Please see the member description for an example. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002827">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a804b78f9d989933d8f01e7da8d847a78"></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> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 DST start rule to a fixed date within a month. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>The date in that month (1-based). </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002828">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00889">889</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>References <a class="el" href="simpletz_8h_source.html#l00883">setStartRule()</a>.</p> </div> </div> <a class="anchor" id="a951c1606e4adf4025d44ad3be71195d2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the DST start rule to a fixed date within a month. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>The date in that month (1-based). </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002829">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a660bbd9cb4ac87a081aa9a31e46e651c"></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> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>after</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</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 DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>A date within that month (1-based). </td></tr> <tr><td class="paramname">dayOfWeek</td><td>The day of the week on which this rule occurs. </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr> <tr><td class="paramname">after</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002830">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="simpletz_8h_source.html#l00895">895</a> of file <a class="el" href="simpletz_8h_source.html">simpletz.h</a>.</p> <p>References <a class="el" href="simpletz_8h_source.html#l00883">setStartRule()</a>.</p> </div> </div> <a class="anchor" id="a2c18c26fb0161b4c8f2bcedabbabe32c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setStartRule </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>dayOfWeek</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#aa0134e78ee3cc1d65ea434839d39158e">TimeMode</a> </td> <td class="paramname"><em>mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>after</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>The month in which this rule occurs (0-based). </td></tr> <tr><td class="paramname">dayOfMonth</td><td>A date within that month (1-based). </td></tr> <tr><td class="paramname">dayOfWeek</td><td>The day of the week on which this rule occurs. </td></tr> <tr><td class="paramname">time</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr> <tr><td class="paramname">mode</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr> <tr><td class="paramname">after</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr> <tr><td class="paramname">status</td><td>An UErrorCode </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002831">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8e1229e930e04c19ece39572a500da89"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleTimeZone::setStartYear </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the daylight savings starting year, that is, the year this time zone began observing its specified daylight savings time rules. </p> <p>The time zone is considered not to observe daylight savings time prior to that year; <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> doesn't support historical daylight-savings-time rules. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">year</td><td>the daylight savings starting year. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002825">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aef1be3731d1312a61aac0889307bfd62"></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> SimpleTimeZone::useDaylightTime </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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>Queries if this <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> uses Daylight Savings Time. </p> <dl class="section return"><dt>Returns</dt><dd>True if this <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> uses Daylight Savings Time; false otherwise. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002846">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classTimeZone.html#a075576d70d80a056b9b9f8ef39acafee">TimeZone</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="simpletz_8h_source.html">simpletz.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>