<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 4.8.1.1: dtptngen.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 4.8.1.1  <span id="projectnumber">4.8.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><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"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">dtptngen.h</div> </div> </div><!--header--> <div class="contents"> <a href="dtptngen_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 2007-2010, International Business Machines Corporation and</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* File DTPTNGEN.H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*/</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#ifndef __DTPTNGEN_H__</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span><span class="preprocessor">#define __DTPTNGEN_H__</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="datefmt_8h.html" title="C++ API: Abstract class for converting dates.">unicode/datefmt.h</a>"</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>"</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="udat_8h.html" title="C API: DateFormat.">unicode/udat.h</a>"</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <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></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <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></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span>Hashtable;</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span>FormatParser;</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span>DateTimeMatcher;</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">class </span>DistanceInfo;</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">class </span>PatternMap;</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span>PtnSkeleton;</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="classDateTimePatternGenerator.html"> 49</a></span> <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 outside...">U_I18N_API</a> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">DateTimePatternGenerator</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">static</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> ~<a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">DateTimePatternGenerator</a>();</div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">DateTimePatternGenerator</a>* clone() <span class="keyword">const</span>;</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <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 "yy-MM-dd".">DateTimePatternGenerator</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <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 "yy-MM-dd".">DateTimePatternGenerator</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <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 similar function...">UnicodeString</a>& pattern, </div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <span class="keyword">override</span>, </div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& conflictingPattern,</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <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 similar function...">UnicodeString</a>& value);</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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>;</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <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 similar function...">UnicodeString</a>& value);</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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>;</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <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 similar function...">UnicodeString</a>& dateTimeFormat);</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getDateTimeFormat() <span class="keyword">const</span>;</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">UnicodeString</a>& skeleton,</div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to match those in the...">UDateTimePatternMatchOptions</a> options,</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">UnicodeString</a>& pattern, </div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& skeleton, </div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> </div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">UnicodeString</a>& pattern, </div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& skeleton, </div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8" title="Masks to control forcing the length of specified fields in the returned pattern to match those in the...">UDateTimePatternMatchOptions</a> options,</div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="classStringEnumeration.html" title="Base class for 'pure' 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 C++ compilers...">UErrorCode</a>& status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">UnicodeString</a>& skeleton) <span class="keyword">const</span>;</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  </div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classStringEnumeration.html" title="Base class for 'pure' 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 C++ compilers...">UErrorCode</a>& status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  </div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <a class="code" href="classStringEnumeration.html" title="Base class for 'pure' 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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  </div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <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 similar function...">UnicodeString</a>& decimal);</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getDecimal() <span class="keyword">const</span>;</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <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 by all C++ c...">UClassID</a> <a class="code" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262" title="ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.">getDynamicClassID</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <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 by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span> </div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 C++ compilers...">UErrorCode</a> & status);</div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span> </div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 C++ compilers...">UErrorCode</a> & status);</div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">DateTimePatternGenerator</a>(<span class="keyword">const</span> <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">DateTimePatternGenerator</a>& other);</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span> </div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like "yy-MM-dd".">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 "yy-MM-dd".">DateTimePatternGenerator</a>& other);</div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <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></div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  FormatParser *fp;</div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  DateTimeMatcher* dtMatcher;</div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  DistanceInfo *distanceInfo;</div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  PatternMap *patternMap;</div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> appendItemFormats[<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03ae543fb494963248f8de19b1f9d0990a0">UDATPG_FIELD_COUNT</a>];</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> appendItemNames[<a class="code" href="udatpg_8h.html#af4ac5e0a850e2f49084fc0bcfc07ed03ae543fb494963248f8de19b1f9d0990a0">UDATPG_FIELD_COUNT</a>];</div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> dateTimeFormat;</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> decimal;</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  DateTimeMatcher *skipMatcher;</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  Hashtable *fAvailableFormatKeyHash;</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> hackPattern;</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> emptyString;</div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</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> fDefaultHourFormatChar;</div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <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 C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordtype">void</span> addCanonicalItems();</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <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 similar function...">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 similar function...">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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <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>;</div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <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>;</div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <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 similar function...">UnicodeString</a>& value);</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  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 similar function...">UnicodeString</a>& field);</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields, <span class="keyword">const</span> PtnSkeleton** specifiedSkeletonPtr = 0);</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 similar function...">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 match those in the...">UDateTimePatternMatchOptions</a> options = <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8a7ecba3f1d8b2a1dbcfb481edaf7f66f8">UDATPG_MATCH_NO_OPTIONS</a>);</div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">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 match those in the...">UDateTimePatternMatchOptions</a> options = <a class="code" href="udatpg_8h.html#ab3c76ea5c08e4acb44e0ddc66c5831e8a7ecba3f1d8b2a1dbcfb481edaf7f66f8">UDATPG_MATCH_NO_OPTIONS</a>);</div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  int32_t getTopBitNumber(int32_t foundMask);</div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <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 similar function...">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 C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <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 similar function...">UnicodeString</a> &key) <span class="keyword">const</span>;</div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <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 C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <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 similar function...">UnicodeString</a>& item) <span class="keyword">const</span>;</div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span> } ;<span class="comment">// end class DateTimePatternGenerator</span></div> <div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span> <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></div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>