<!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: tztrans.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>tztrans.h</h1><a href="tztrans_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 TZTRANS_H</span> <a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define TZTRANS_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="uobject_8h.html">unicode/uobject.h</a>"</span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="comment">// Forward declaration</span> <a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>; <a name="l00025"></a>00025 <a name="l00031"></a><a class="code" href="classTimeZoneTransition.html">00031</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#b9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html">UObject</a> { <a name="l00032"></a>00032 <span class="keyword">public</span>: <a name="l00042"></a>00042 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> time, <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>& from, <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>& to); <a name="l00043"></a>00043 <a name="l00048"></a>00048 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>(); <a name="l00049"></a>00049 <a name="l00055"></a>00055 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& source); <a name="l00056"></a>00056 <a name="l00061"></a>00061 ~<a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>(); <a name="l00062"></a>00062 <a name="l00069"></a>00069 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>* clone(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00070"></a>00070 <a name="l00076"></a>00076 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& operator=(<span class="keyword">const</span> <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& right); <a name="l00077"></a>00077 <a name="l00085"></a>00085 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> operator==(<span class="keyword">const</span> <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& that) <span class="keyword">const</span>; <a name="l00086"></a>00086 <a name="l00094"></a>00094 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> operator!=(<span class="keyword">const</span> <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& that) <span class="keyword">const</span>; <a name="l00095"></a>00095 <a name="l00101"></a>00101 <a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> getTime(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00102"></a>00102 <a name="l00108"></a>00108 <span class="keywordtype">void</span> setTime(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> time); <a name="l00109"></a>00109 <a name="l00115"></a>00115 <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* getFrom(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00116"></a>00116 <a name="l00123"></a>00123 <span class="keywordtype">void</span> setFrom(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>& from); <a name="l00124"></a>00124 <a name="l00131"></a>00131 <span class="keywordtype">void</span> adoptFrom(<a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* from); <a name="l00132"></a>00132 <a name="l00139"></a>00139 <span class="keywordtype">void</span> setTo(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>& to); <a name="l00140"></a>00140 <a name="l00147"></a>00147 <span class="keywordtype">void</span> adoptTo(<a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* to); <a name="l00148"></a>00148 <a name="l00154"></a>00154 <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* getTo(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00155"></a>00155 <a name="l00156"></a>00156 <span class="keyword">private</span>: <a name="l00157"></a>00157 <a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> fTime; <a name="l00158"></a>00158 <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* fFrom; <a name="l00159"></a>00159 <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* fTo; <a name="l00160"></a>00160 <a name="l00161"></a>00161 <span class="keyword">public</span>: <a name="l00173"></a>00173 <span class="keyword">static</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>); <a name="l00174"></a>00174 <a name="l00186"></a>00186 <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">getDynamicClassID</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00187"></a>00187 }; <a name="l00188"></a>00188 <a name="l00189"></a>00189 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a> <a name="l00190"></a>00190 <a name="l00191"></a>00191 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00192"></a>00192 <a name="l00193"></a>00193 <span class="preprocessor">#endif // TZTRANS_H</span> <a name="l00194"></a>00194 <span class="preprocessor"></span> <a name="l00195"></a>00195 <span class="comment">//eof</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:20 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>