<!-- 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: dtptngen.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>dtptngen.h</h1><a href="dtptngen_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-2009, 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="comment">* File DTPTNGEN.H</span> <a name="l00008"></a>00008 <span class="comment">*</span> <a name="l00009"></a>00009 <span class="comment">*******************************************************************************</span> <a name="l00010"></a>00010 <span class="comment">*/</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="preprocessor">#ifndef __DTPTNGEN_H__</span> <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define __DTPTNGEN_H__</span> <a name="l00014"></a>00014 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="datefmt_8h.html" title="C++ API: Abstract class for converting dates.">unicode/datefmt.h</a>"</span> <a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>"</span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="udat_8h.html" title="C API: DateFormat.">unicode/udat.h</a>"</span> <a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="udatpg_8h.html" title="C API: Wrapper for DateTimePatternGenerator (unicode/dtptngen.h).">unicode/udatpg.h</a>"</span> <a name="l00019"></a>00019 <a name="l00020"></a>00020 <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="l00021"></a>00021 <a name="l00028"></a>00028 <span class="keyword">class </span>Hashtable; <a name="l00029"></a>00029 <span class="keyword">class </span>FormatParser; <a name="l00030"></a>00030 <span class="keyword">class </span>DateTimeMatcher; <a name="l00031"></a>00031 <span class="keyword">class </span>DistanceInfo; <a name="l00032"></a>00032 <span class="keyword">class </span>PatternMap; <a name="l00033"></a>00033 <span class="keyword">class </span>PtnSkeleton; <a name="l00034"></a>00034 <a name="l00049"></a><a class="code" href="classDateTimePatternGenerator.html">00049</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="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</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="l00050"></a>00050 <span class="keyword">public</span>: <a name="l00057"></a>00057 <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<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="l00058"></a>00058 <a name="l00066"></a>00066 <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<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>& uLocale, <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="l00067"></a>00067 <a name="l00074"></a>00074 <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createEmptyInstance(<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="l00075"></a>00075 <a name="l00080"></a>00080 <span class="keyword">virtual</span> ~<a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>(); <a name="l00081"></a>00081 <a name="l00087"></a>00087 <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>* clone() <span class="keyword">const</span>; <a name="l00088"></a>00088 <a name="l00096"></a>00096 <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="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>& other) <span class="keyword">const</span>; <a name="l00097"></a>00097 <a name="l00105"></a>00105 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="stringpiece_8h.html#abf0ccab9536bab551afc07de65eb5d95" title="Global operator != for StringPiece.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>& other) <span class="keyword">const</span>; <a name="l00106"></a>00106 <a name="l00117"></a>00117 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> getSkeleton(<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>& pattern, <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="l00118"></a>00118 <a name="l00132"></a>00132 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> getBaseSkeleton(<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>& pattern, <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="l00133"></a>00133 <a name="l00154"></a>00154 <a class="code" href="udatpg_8h.html#a8ecf3c8a68ecb811372c59fa2cfad265" title="Status return values from udatpg_addPattern().">UDateTimePatternConflict</a> addPattern(<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>& pattern, <a name="l00155"></a>00155 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <span class="keyword">override</span>, <a name="l00156"></a>00156 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& conflictingPattern, <a name="l00157"></a>00157 <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="l00158"></a>00158 <a name="l00177"></a>00177 <span class="keywordtype">void</span> setAppendItemFormat(<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> field, <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>& value); <a name="l00178"></a>00178 <a name="l00187"></a>00187 <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>& getAppendItemFormat(<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> field) <span class="keyword">const</span>; <a name="l00188"></a>00188 <a name="l00200"></a>00200 <span class="keywordtype">void</span> setAppendItemName(<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> field, <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>& value); <a name="l00201"></a>00201 <a name="l00210"></a>00210 <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>& getAppendItemName(<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> field) <span class="keyword">const</span>; <a name="l00211"></a>00211 <a name="l00231"></a>00231 <span class="keywordtype">void</span> setDateTimeFormat(<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>& dateTimeFormat); <a name="l00232"></a>00232 <a name="l00238"></a>00238 <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>& getDateTimeFormat() <span class="keyword">const</span>; <a name="l00239"></a>00239 <a name="l00253"></a>00253 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> getBestPattern(<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>& skeleton, <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="l00254"></a>00254 <a name="l00255"></a>00255 <a name="l00275"></a>00275 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> getBestPattern(<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>& skeleton, <a name="l00276"></a>00276 <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to...">UDateTimePatternMatchOptions</a> options, <a name="l00277"></a>00277 <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="l00278"></a>00278 <a name="l00279"></a>00279 <a name="l00296"></a>00296 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> replaceFieldTypes(<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>& pattern, <a name="l00297"></a>00297 <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>& skeleton, <a name="l00298"></a>00298 <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="l00299"></a>00299 <a name="l00322"></a>00322 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> replaceFieldTypes(<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>& pattern, <a name="l00323"></a>00323 <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>& skeleton, <a name="l00324"></a>00324 <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to...">UDateTimePatternMatchOptions</a> options, <a name="l00325"></a>00325 <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="l00326"></a>00326 <a name="l00338"></a>00338 <a class="code" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api.">StringEnumeration</a>* getSkeletons(<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="l00339"></a>00339 <a name="l00346"></a>00346 <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>& getPatternForSkeleton(<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>& skeleton) <span class="keyword">const</span>; <a name="l00347"></a>00347 <a name="l00357"></a>00357 <a class="code" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api.">StringEnumeration</a>* getBaseSkeletons(<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="l00358"></a>00358 <a name="l00371"></a>00371 <a class="code" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api.">StringEnumeration</a>* getRedundants(<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="l00372"></a>00372 <a name="l00384"></a>00384 <span class="keywordtype">void</span> setDecimal(<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>& decimal); <a name="l00385"></a>00385 <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>& getDecimal() <span class="keyword">const</span>; <a name="l00392"></a>00392 <a name="l00398"></a>00398 <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="l00399"></a>00399 <a name="l00405"></a>00405 <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(<span class="keywordtype">void</span>); <a name="l00406"></a>00406 <a name="l00407"></a>00407 <span class="keyword">private</span>: <a name="l00412"></a>00412 <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</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="l00413"></a>00413 <a name="l00418"></a>00418 <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</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 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="l00419"></a>00419 <a name="l00425"></a>00425 <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>(<span class="keyword">const</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>& other); <a name="l00426"></a>00426 <a name="l00432"></a>00432 <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>& operator=(<span class="keyword">const</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &quot;yy-MM-dd&quot;...">DateTimePatternGenerator</a>& other); <a name="l00433"></a>00433 <a name="l00434"></a>00434 <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a> pLocale; <span class="comment">// pattern locale</span> <a name="l00435"></a>00435 FormatParser *fp; <a name="l00436"></a>00436 DateTimeMatcher* dtMatcher; <a name="l00437"></a>00437 DistanceInfo *distanceInfo; <a name="l00438"></a>00438 PatternMap *patternMap; <a name="l00439"></a>00439 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> appendItemFormats[<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03ae543fb494963248f8de19b1f9d0990a0">UDATPG_FIELD_COUNT</a>]; <a name="l00440"></a>00440 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> appendItemNames[<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03ae543fb494963248f8de19b1f9d0990a0">UDATPG_FIELD_COUNT</a>]; <a name="l00441"></a>00441 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> dateTimeFormat; <a name="l00442"></a>00442 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> decimal; <a name="l00443"></a>00443 DateTimeMatcher *skipMatcher; <a name="l00444"></a>00444 Hashtable *fAvailableFormatKeyHash; <a name="l00445"></a>00445 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> hackPattern; <a name="l00446"></a>00446 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> emptyString; <a name="l00447"></a>00447 <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> fDefaultHourFormatChar; <a name="l00448"></a>00448 <a name="l00449"></a>00449 <span class="keywordtype">void</span> initData(<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 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="l00450"></a>00450 <span class="keywordtype">void</span> addCanonicalItems(); <a name="l00451"></a>00451 <span class="keywordtype">void</span> addICUPatterns(<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 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="l00452"></a>00452 <span class="keywordtype">void</span> hackTimes(<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>& hackPattern, <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="l00453"></a>00453 <span class="keywordtype">void</span> addCLDRData(<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 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="l00454"></a>00454 <a class="code" href="udatpg_8h.html#a8ecf3c8a68ecb811372c59fa2cfad265" title="Status return values from udatpg_addPattern().">UDateTimePatternConflict</a> addPatternWithSkeleton(<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>& pattern, <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> * skeletonToUse, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <span class="keyword">override</span>, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& conflictingPattern, <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="l00455"></a>00455 <span class="keywordtype">void</span> initHashtable(<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="l00456"></a>00456 <span class="keywordtype">void</span> setDateTimeFromCalendar(<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 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="l00457"></a>00457 <span class="keywordtype">void</span> setDecimalSymbols(<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 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="l00458"></a>00458 <a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> getAppendFormatNumber(<span class="keyword">const</span> <span class="keywordtype">char</span>* field) <span class="keyword">const</span>; <a name="l00459"></a>00459 <a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> getAppendNameNumber(<span class="keyword">const</span> <span class="keywordtype">char</span>* field) <span class="keyword">const</span>; <a name="l00460"></a>00460 <span class="keywordtype">void</span> getAppendName(<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03" title="Field number constants for udatpg_getAppendItemFormats() and similar functions.">UDateTimePatternField</a> field, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>& value); <a name="l00461"></a>00461 int32_t getCanonicalIndex(<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>& field); <a name="l00462"></a>00462 <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>* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, <span class="keyword">const</span> PtnSkeleton** specifiedSkeletonPtr = 0); <a name="l00463"></a>00463 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> adjustFieldTypes(<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>& pattern, <span class="keyword">const</span> PtnSkeleton* specifiedSkeleton, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fixFractionalSeconds, <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to...">UDateTimePatternMatchOptions</a> options = <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8a7ecba3f1d8b2a1dbcfb481edaf7f66f8">UDATPG_MATCH_NO_OPTIONS</a>); <a name="l00464"></a>00464 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> getBestAppending(int32_t missingFields, <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to...">UDateTimePatternMatchOptions</a> options = <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8a7ecba3f1d8b2a1dbcfb481edaf7f66f8">UDATPG_MATCH_NO_OPTIONS</a>); <a name="l00465"></a>00465 int32_t getTopBitNumber(int32_t foundMask); <a name="l00466"></a>00466 <span class="keywordtype">void</span> setAvailableFormat(<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> &key, <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="l00467"></a>00467 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isAvailableFormatSet(<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> &key) <span class="keyword">const</span>; <a name="l00468"></a>00468 <span class="keywordtype">void</span> copyHashtable(Hashtable *other, <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="l00469"></a>00469 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isCanonicalItem(<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>& item) <span class="keyword">const</span>; <a name="l00470"></a>00470 } ;<span class="comment">// end class DateTimePatternGenerator</span> <a name="l00471"></a>00471 <a name="l00472"></a>00472 <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="l00473"></a>00473 <a name="l00474"></a>00474 <span class="preprocessor">#endif</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>