<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.8: basictz.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>basictz.h</h1><a href="basictz_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">*******************************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright (C) 2007, International Business Machines Corporation and *</span> <a name="l00004"></a>00004 <span class="comment">* others. All Rights Reserved. *</span> <a name="l00005"></a>00005 <span class="comment">*******************************************************************************</span> <a name="l00006"></a>00006 <span class="comment">*/</span> <a name="l00007"></a>00007 <span class="preprocessor">#ifndef BASICTZ_H</span> <a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define BASICTZ_H</span> <a name="l00009"></a>00009 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span> <a name="l00018"></a>00018 <span class="preprocessor"></span> <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="timezone_8h.html">unicode/timezone.h</a>"</span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="tzrule_8h.html">unicode/tzrule.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="tztrans_8h.html">unicode/tztrans.h</a>"</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="comment">// forward declarations</span> <a name="l00026"></a>00026 <span class="keyword">class </span>UVector; <a name="l00027"></a>00027 <a name="l00034"></a><a class="code" href="classBasicTimeZone.html">00034</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#b9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>: <span class="keyword">public</span> <a class="code" href="classTimeZone.html">TimeZone</a> { <a name="l00035"></a>00035 <span class="keyword">public</span>: <a name="l00040"></a>00040 <span class="keyword">virtual</span> ~<a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>(); <a name="l00041"></a>00041 <a name="l00050"></a>00050 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> getNextTransition(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& result) <span class="comment">/*const*/</span> = 0; <a name="l00051"></a>00051 <a name="l00060"></a>00060 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> getPreviousTransition(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& result) <span class="comment">/*const*/</span> = 0; <a name="l00061"></a>00061 <a name="l00082"></a>00082 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> hasEquivalentTransitions(<span class="comment">/*const*/</span> <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>& tz, <a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> start, <a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> end, <a name="l00083"></a>00083 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ignoreDstAmount, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& ec) <span class="comment">/*const*/</span>; <a name="l00084"></a>00084 <a name="l00093"></a>00093 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> countTransitionRules(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span> = 0; <a name="l00094"></a>00094 <a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> getTimeZoneRules(<span class="keyword">const</span> <a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>*& initial, <a name="l00112"></a>00112 <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* trsrules[], <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& trscount, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span> = 0; <a name="l00113"></a>00113 <a name="l00140"></a>00140 <span class="keyword">virtual</span> <span class="keywordtype">void</span> getSimpleRulesNear(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>*& initial, <a name="l00141"></a>00141 <a class="code" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a>*& std, <a class="code" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a>*& dst, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span>; <a name="l00142"></a>00142 <a name="l00143"></a>00143 <span class="keyword">protected</span>: <a name="l00148"></a>00148 <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>(); <a name="l00149"></a>00149 <a name="l00155"></a>00155 <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a> &<span class="keywordtype">id</span>); <a name="l00156"></a>00156 <a name="l00162"></a>00162 <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>(<span class="keyword">const</span> <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a>& source); <a name="l00163"></a>00163 <a name="l00171"></a>00171 <span class="keywordtype">void</span> getTimeZoneRulesAfter(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> start, <a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>*& initial, UVector*& transitionRules, <a name="l00172"></a>00172 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span>; <a name="l00173"></a>00173 }; <a name="l00174"></a>00174 <a name="l00175"></a>00175 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a> <a name="l00176"></a>00176 <a name="l00177"></a>00177 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00178"></a>00178 <a name="l00179"></a>00179 <span class="preprocessor">#endif // BASICTZ_H</span> <a name="l00180"></a>00180 <span class="preprocessor"></span> <a name="l00181"></a>00181 <span class="comment">//eof</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:18 2007 for ICU 3.8 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>