<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>ICU 4.4.1: dtfmtsym.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.2-20100208 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <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><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.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)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </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>dtfmtsym.h</h1><a href="dtfmtsym_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) 1997-2010, International Business Machines</span> <a name="l00004"></a>00004 <span class="comment">* Corporation and 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="comment">* File DTFMTSYM.H</span> <a name="l00008"></a>00008 <span class="comment">*</span> <a name="l00009"></a>00009 <span class="comment">* Modification History:</span> <a name="l00010"></a>00010 <span class="comment">*</span> <a name="l00011"></a>00011 <span class="comment">* Date Name Description</span> <a name="l00012"></a>00012 <span class="comment">* 02/19/97 aliu Converted from java.</span> <a name="l00013"></a>00013 <span class="comment">* 07/21/98 stephen Added getZoneIndex()</span> <a name="l00014"></a>00014 <span class="comment">* Changed to match C++ conventions</span> <a name="l00015"></a>00015 <span class="comment">********************************************************************************</span> <a name="l00016"></a>00016 <span class="comment">*/</span> <a name="l00017"></a>00017 <a name="l00018"></a>00018 <span class="preprocessor">#ifndef DTFMTSYM_H</span> <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define DTFMTSYM_H</span> <a name="l00020"></a>00020 <span class="preprocessor"></span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span> <a name="l00024"></a>00024 <span class="preprocessor"></span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="calendar_8h.html" title="C++ API: Calendar object.">unicode/calendar.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="uobject_8h.html" title="C++ API: Common ICU base class UObject.">unicode/uobject.h</a>"</span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="ures_8h.html" title="C API: Resource Bundle.">unicode/ures.h</a>"</span> <a name="l00029"></a>00029 <a name="l00035"></a>00035 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a> <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="comment">/* forward declaration */</span> <a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent...">SimpleDateFormat</a>; <a name="l00039"></a>00039 <span class="keyword">class </span>Hashtable; <a name="l00040"></a>00040 <span class="keyword">class </span>ZoneStringFormat; <a name="l00041"></a>00041 <span class="keyword">class </span>SafeZoneStringFormatPtr; <a name="l00042"></a>00042 <a name="l00080"></a><a class="code" href="classDateFormatSymbols.html">00080</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from...">U_I18N_API</a> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> { <a name="l00081"></a>00081 <span class="keyword">public</span>: <a name="l00095"></a>00095 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status); <a name="l00096"></a>00096 <a name="l00107"></a>00107 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>& locale, <a name="l00108"></a>00108 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status); <a name="l00109"></a>00109 <a name="l00126"></a>00126 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *type, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status); <a name="l00127"></a>00127 <a name="l00141"></a>00141 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>& locale, <a name="l00142"></a>00142 <span class="keyword">const</span> <span class="keywordtype">char</span> *type, <a name="l00143"></a>00143 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status); <a name="l00144"></a>00144 <a name="l00149"></a>00149 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(<span class="keyword">const</span> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>&); <a name="l00150"></a>00150 <a name="l00155"></a>00155 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>& operator=(<span class="keyword">const</span> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>&); <a name="l00156"></a>00156 <a name="l00162"></a>00162 <span class="keyword">virtual</span> ~<a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(); <a name="l00163"></a>00163 <a name="l00171"></a>00171 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352" title="Global operator == for StringPiece.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>& other) <span class="keyword">const</span>; <a name="l00172"></a>00172 <a name="l00180"></a><a class="code" href="classDateFormatSymbols.html#a9e0e4e15c921898607844822db1d8f7b">00180</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classDateFormatSymbols.html#a9e0e4e15c921898607844822db1d8f7b" title="Return true if another object is semantically unequal to this one.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352" title="Global operator == for StringPiece.">operator==</a>(other); } <a name="l00181"></a>00181 <a name="l00189"></a>00189 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getEras(int32_t& count) <span class="keyword">const</span>; <a name="l00190"></a>00190 <a name="l00197"></a>00197 <span class="keywordtype">void</span> setEras(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* eras, int32_t count); <a name="l00198"></a>00198 <a name="l00206"></a>00206 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getEraNames(int32_t& count) <span class="keyword">const</span>; <a name="l00207"></a>00207 <a name="l00214"></a>00214 <span class="keywordtype">void</span> setEraNames(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* eraNames, int32_t count); <a name="l00215"></a>00215 <a name="l00223"></a>00223 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getNarrowEras(int32_t& count) <span class="keyword">const</span>; <a name="l00224"></a>00224 <a name="l00231"></a>00231 <span class="keywordtype">void</span> setNarrowEras(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* narrowEras, int32_t count); <a name="l00232"></a>00232 <a name="l00239"></a>00239 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getMonths(int32_t& count) <span class="keyword">const</span>; <a name="l00240"></a>00240 <a name="l00248"></a>00248 <span class="keywordtype">void</span> setMonths(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* months, int32_t count); <a name="l00249"></a>00249 <a name="l00257"></a>00257 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getShortMonths(int32_t& count) <span class="keyword">const</span>; <a name="l00258"></a>00258 <a name="l00265"></a>00265 <span class="keywordtype">void</span> setShortMonths(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* shortMonths, int32_t count); <a name="l00266"></a>00266 <a name="l00271"></a><a class="code" href="classDateFormatSymbols.html#ade23480efc5a6422087f3ed5f36f6e9f">00271</a> <span class="keyword">enum</span> <a class="code" href="classDateFormatSymbols.html#ade23480efc5a6422087f3ed5f36f6e9f" title="Selector for date formatting context.">DtContextType</a> { <a name="l00272"></a>00272 FORMAT, <a name="l00273"></a>00273 STANDALONE, <a name="l00274"></a>00274 DT_CONTEXT_COUNT <a name="l00275"></a>00275 }; <a name="l00276"></a>00276 <a name="l00281"></a><a class="code" href="classDateFormatSymbols.html#ada0b843f1b60a2ee25b4f4a51dbfbbf8">00281</a> <span class="keyword">enum</span> <a class="code" href="classDateFormatSymbols.html#ada0b843f1b60a2ee25b4f4a51dbfbbf8" title="Selector for date formatting width.">DtWidthType</a> { <a name="l00282"></a>00282 ABBREVIATED, <a name="l00283"></a>00283 WIDE, <a name="l00284"></a>00284 NARROW, <a name="l00285"></a>00285 DT_WIDTH_COUNT <a name="l00286"></a>00286 }; <a name="l00287"></a>00287 <a name="l00296"></a>00296 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getMonths(int32_t& count, DtContextType context, DtWidthType width) <span class="keyword">const</span>; <a name="l00297"></a>00297 <a name="l00307"></a>00307 <span class="keywordtype">void</span> setMonths(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* months, int32_t count, DtContextType context, DtWidthType width); <a name="l00308"></a>00308 <a name="l00315"></a>00315 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getWeekdays(int32_t& count) <span class="keyword">const</span>; <a name="l00316"></a>00316 <a name="l00317"></a>00317 <a name="l00324"></a>00324 <span class="keywordtype">void</span> setWeekdays(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* weekdays, int32_t count); <a name="l00325"></a>00325 <a name="l00332"></a>00332 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getShortWeekdays(int32_t& count) <span class="keyword">const</span>; <a name="l00333"></a>00333 <a name="l00340"></a>00340 <span class="keywordtype">void</span> setShortWeekdays(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* shortWeekdays, int32_t count); <a name="l00341"></a>00341 <a name="l00350"></a>00350 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getWeekdays(int32_t& count, DtContextType context, DtWidthType width) <span class="keyword">const</span>; <a name="l00351"></a>00351 <a name="l00360"></a>00360 <span class="keywordtype">void</span> setWeekdays(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* weekdays, int32_t count, DtContextType context, DtWidthType width); <a name="l00361"></a>00361 <a name="l00371"></a>00371 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getQuarters(int32_t& count, DtContextType context, DtWidthType width) <span class="keyword">const</span>; <a name="l00372"></a>00372 <a name="l00383"></a>00383 <span class="keywordtype">void</span> setQuarters(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* quarters, int32_t count, DtContextType context, DtWidthType width); <a name="l00384"></a>00384 <a name="l00391"></a>00391 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* getAmPmStrings(int32_t& count) <span class="keyword">const</span>; <a name="l00392"></a>00392 <a name="l00399"></a>00399 <span class="keywordtype">void</span> setAmPmStrings(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* ampms, int32_t count); <a name="l00400"></a>00400 <a name="l00408"></a>00408 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>** getZoneStrings(int32_t& rowCount, int32_t& columnCount) <span class="keyword">const</span>; <a name="l00409"></a>00409 <a name="l00417"></a>00417 <span class="keywordtype">void</span> setZoneStrings(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* <span class="keyword">const</span>* strings, int32_t rowCount, int32_t columnCount); <a name="l00418"></a>00418 <a name="l00424"></a>00424 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getPatternUChars(<span class="keywordtype">void</span>); <a name="l00425"></a>00425 <a name="l00436"></a>00436 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& getLocalPatternChars(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& result) <span class="keyword">const</span>; <a name="l00437"></a>00437 <a name="l00444"></a>00444 <span class="keywordtype">void</span> setLocalPatternChars(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& newLocalPatternChars); <a name="l00445"></a>00445 <a name="l00451"></a>00451 <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> getLocale(<a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34" title="Constants for *_getLocale() Allow user to select whether she wants information on...">ULocDataLocaleType</a> type, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status) <span class="keyword">const</span>; <a name="l00452"></a>00452 <a name="l00458"></a>00458 <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262" title="ICU4C &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual ICU class...">getDynamicClassID</a>() <span class="keyword">const</span>; <a name="l00459"></a>00459 <a name="l00465"></a>00465 <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(); <a name="l00466"></a>00466 <a name="l00467"></a>00467 <span class="keyword">private</span>: <a name="l00468"></a>00468 <a name="l00469"></a>00469 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent...">SimpleDateFormat</a>; <a name="l00470"></a>00470 <span class="keyword">friend</span> <span class="keyword">class </span>DateFormatSymbolsSingleSetter; <span class="comment">// see udat.cpp</span> <a name="l00471"></a>00471 <a name="l00475"></a>00475 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fEras; <a name="l00476"></a>00476 int32_t fErasCount; <a name="l00477"></a>00477 <a name="l00481"></a>00481 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fEraNames; <a name="l00482"></a>00482 int32_t fEraNamesCount; <a name="l00483"></a>00483 <a name="l00487"></a>00487 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fNarrowEras; <a name="l00488"></a>00488 int32_t fNarrowErasCount; <a name="l00489"></a>00489 <a name="l00493"></a>00493 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fMonths; <a name="l00494"></a>00494 int32_t fMonthsCount; <a name="l00495"></a>00495 <a name="l00499"></a>00499 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fShortMonths; <a name="l00500"></a>00500 int32_t fShortMonthsCount; <a name="l00501"></a>00501 <a name="l00505"></a>00505 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fNarrowMonths; <a name="l00506"></a>00506 int32_t fNarrowMonthsCount; <a name="l00507"></a>00507 <a name="l00511"></a>00511 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneMonths; <a name="l00512"></a>00512 int32_t fStandaloneMonthsCount; <a name="l00513"></a>00513 <a name="l00517"></a>00517 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneShortMonths; <a name="l00518"></a>00518 int32_t fStandaloneShortMonthsCount; <a name="l00519"></a>00519 <a name="l00523"></a>00523 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneNarrowMonths; <a name="l00524"></a>00524 int32_t fStandaloneNarrowMonthsCount; <a name="l00525"></a>00525 <a name="l00529"></a>00529 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fWeekdays; <a name="l00530"></a>00530 int32_t fWeekdaysCount; <a name="l00531"></a>00531 <a name="l00535"></a>00535 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fShortWeekdays; <a name="l00536"></a>00536 int32_t fShortWeekdaysCount; <a name="l00537"></a>00537 <a name="l00541"></a>00541 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fNarrowWeekdays; <a name="l00542"></a>00542 int32_t fNarrowWeekdaysCount; <a name="l00543"></a>00543 <a name="l00547"></a>00547 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneWeekdays; <a name="l00548"></a>00548 int32_t fStandaloneWeekdaysCount; <a name="l00549"></a>00549 <a name="l00553"></a>00553 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneShortWeekdays; <a name="l00554"></a>00554 int32_t fStandaloneShortWeekdaysCount; <a name="l00555"></a>00555 <a name="l00559"></a>00559 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fStandaloneNarrowWeekdays; <a name="l00560"></a>00560 int32_t fStandaloneNarrowWeekdaysCount; <a name="l00561"></a>00561 <a name="l00565"></a>00565 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* fAmPms; <a name="l00566"></a>00566 int32_t fAmPmsCount; <a name="l00567"></a>00567 <a name="l00571"></a>00571 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *fQuarters; <a name="l00572"></a>00572 int32_t fQuartersCount; <a name="l00573"></a>00573 <a name="l00577"></a>00577 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *fShortQuarters; <a name="l00578"></a>00578 int32_t fShortQuartersCount; <a name="l00579"></a>00579 <a name="l00583"></a>00583 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *fStandaloneQuarters; <a name="l00584"></a>00584 int32_t fStandaloneQuartersCount; <a name="l00585"></a>00585 <a name="l00589"></a>00589 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *fStandaloneShortQuarters; <a name="l00590"></a>00590 int32_t fStandaloneShortQuartersCount; <a name="l00591"></a>00591 <a name="l00629"></a>00629 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> **fZoneStrings; <span class="comment">// Zone string array set by setZoneStrings</span> <a name="l00630"></a>00630 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> **fLocaleZoneStrings; <span class="comment">// Zone string array created by the locale</span> <a name="l00631"></a>00631 int32_t fZoneStringsRowCount; <a name="l00632"></a>00632 int32_t fZoneStringsColCount; <a name="l00633"></a>00633 <a name="l00634"></a>00634 <span class="keyword">const</span> ZoneStringFormat *fZoneStringFormat; <a name="l00635"></a>00635 ZoneStringFormat *fZSFLocal; <span class="comment">// Local ZoneStringFormat instance</span> <a name="l00636"></a>00636 SafeZoneStringFormatPtr *fZSFCachePtr; <span class="comment">// Cached ZoneStringFormat</span> <a name="l00637"></a>00637 <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> fZSFLocale; <span class="comment">// Locale used for getting ZoneStringFormat</span> <a name="l00638"></a>00638 <a name="l00642"></a>00642 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> fGmtFormat; <a name="l00643"></a>00643 <a name="l00647"></a>00647 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *fGmtHourFormats; <a name="l00648"></a>00648 int32_t fGmtHourFormatsCount; <a name="l00649"></a>00649 <a name="l00650"></a>00650 <span class="keyword">enum</span> GMTHourType { <a name="l00651"></a>00651 GMT_NEGATIVE_HMS = 0, <a name="l00652"></a>00652 GMT_NEGATIVE_HM, <a name="l00653"></a>00653 GMT_POSITIVE_HMS, <a name="l00654"></a>00654 GMT_POSITIVE_HM, <a name="l00655"></a>00655 GMT_HOUR_COUNT <a name="l00656"></a>00656 }; <a name="l00657"></a>00657 <a name="l00661"></a>00661 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> fLocalPatternChars; <a name="l00662"></a>00662 <a name="l00663"></a>00663 <span class="keyword">private</span>: <a name="l00667"></a>00667 <span class="keywordtype">char</span> validLocale[<a class="code" href="uloc_8h.html#ac070d94b27bb71f73bafd4c31ed53081" title="Useful constant for the maximum size of the whole locale ID (including the terminating...">ULOC_FULLNAME_CAPACITY</a>]; <a name="l00668"></a>00668 <span class="keywordtype">char</span> actualLocale[<a class="code" href="uloc_8h.html#ac070d94b27bb71f73bafd4c31ed53081" title="Useful constant for the maximum size of the whole locale ID (including the terminating...">ULOC_FULLNAME_CAPACITY</a>]; <a name="l00669"></a>00669 <a name="l00670"></a>00670 <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>(); <span class="comment">// default constructor not implemented</span> <a name="l00671"></a>00671 <a name="l00681"></a>00681 <span class="keywordtype">void</span> initializeData(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&, <span class="keyword">const</span> <span class="keywordtype">char</span> *type, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>& status, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> useLastResortData = <a class="code" href="umachine_8h.html#aa93f0eb578d23995850d61f7d61c55c1" title="The FALSE value of a UBool.">FALSE</a>); <a name="l00682"></a>00682 <a name="l00691"></a>00691 <span class="keyword">static</span> <span class="keywordtype">void</span> assignArray(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>*& dstArray, <a name="l00692"></a>00692 int32_t& dstCount, <a name="l00693"></a>00693 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* srcArray, <a name="l00694"></a>00694 int32_t srcCount); <a name="l00695"></a>00695 <a name="l00706"></a>00706 <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> arrayCompare(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* array1, <a name="l00707"></a>00707 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>* array2, <a name="l00708"></a>00708 int32_t count); <a name="l00709"></a>00709 <a name="l00715"></a>00715 <span class="keywordtype">void</span> createZoneStrings(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *<span class="keyword">const</span> * otherStrings); <a name="l00716"></a>00716 <a name="l00720"></a>00720 <span class="keywordtype">void</span> dispose(<span class="keywordtype">void</span>); <a name="l00721"></a>00721 <a name="l00726"></a>00726 <span class="keywordtype">void</span> copyData(<span class="keyword">const</span> <a class="code" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting...">DateFormatSymbols</a>& other); <a name="l00727"></a>00727 <a name="l00728"></a>00728 <a name="l00732"></a>00732 <span class="keyword">const</span> ZoneStringFormat* getZoneStringFormat(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00733"></a>00733 <a name="l00737"></a>00737 <span class="keywordtype">void</span> initZoneStringFormat(<span class="keywordtype">void</span>); <a name="l00738"></a>00738 <a name="l00742"></a>00742 <span class="keywordtype">void</span> initZoneStringsArray(<span class="keywordtype">void</span>); <a name="l00743"></a>00743 <a name="l00747"></a>00747 <span class="keywordtype">void</span> disposeZoneStrings(<span class="keywordtype">void</span>); <a name="l00748"></a>00748 }; <a name="l00749"></a>00749 <a name="l00750"></a>00750 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a> <a name="l00751"></a>00751 <a name="l00752"></a>00752 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00753"></a>00753 <a name="l00754"></a>00754 <span class="preprocessor">#endif // _DTFMTSYM</span> <a name="l00755"></a>00755 <span class="preprocessor"></span><span class="comment">//eof</span> </pre></div></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>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>