Файловый менеджер - Редактировать - /opt/alt/alt-nodejs20/root/usr/share/doc/alt-nodejs20-libicu-doc/classicu_1_1SimpleDateFormat.html
Назад
<!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"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ICU 78.3: icu::SimpleDateFormat Class Reference</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/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 78.3  <span id="projectnumber">78.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </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="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">icu::SimpleDateFormat Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> is a concrete class for formatting and parsing dates in a language-independent manner. <a href="classicu_1_1SimpleDateFormat.html#details">More...</a></p> <p><code>#include <<a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>></code></p> <div class="dynheader"> Inheritance diagram for icu::SimpleDateFormat:</div> <div class="dyncontent"> <div class="center"> <img src="classicu_1_1SimpleDateFormat.png" usemap="#icu::SimpleDateFormat_map" alt=""/> <map id="icu::SimpleDateFormat_map" name="icu::SimpleDateFormat_map"> <area href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter..." alt="icu::DateFormat" shape="rect" coords="0,168,137,192"/> <area href="classicu_1_1Format.html" title="Base class for all formats. " alt="icu::Format" shape="rect" coords="0,112,137,136"/> <area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class. " alt="icu::UObject" shape="rect" coords="0,56,137,80"/> <area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,137,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a7374c9ff14beeca5e3e47f53e81765bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a7374c9ff14beeca5e3e47f53e81765bd">SimpleDateFormat</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a7374c9ff14beeca5e3e47f53e81765bd"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the default pattern for the default locale. <a href="#a7374c9ff14beeca5e3e47f53e81765bd">More...</a><br /></td></tr> <tr class="separator:a7374c9ff14beeca5e3e47f53e81765bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a01baf37bd42d64931f6ed2cd511eb9be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a01baf37bd42d64931f6ed2cd511eb9be">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a01baf37bd42d64931f6ed2cd511eb9be"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and the default locale. <a href="#a01baf37bd42d64931f6ed2cd511eb9be">More...</a><br /></td></tr> <tr class="separator:a01baf37bd42d64931f6ed2cd511eb9be"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a852aa7ee2b70badb99ee4810bab4da12"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a852aa7ee2b70badb99ee4810bab4da12">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &override, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a852aa7ee2b70badb99ee4810bab4da12"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern, numbering system override, and the default locale. <a href="#a852aa7ee2b70badb99ee4810bab4da12">More...</a><br /></td></tr> <tr class="separator:a852aa7ee2b70badb99ee4810bab4da12"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7cb6b839b4d7383bfa01d6d5b1ad0474"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a7cb6b839b4d7383bfa01d6d5b1ad0474">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a7cb6b839b4d7383bfa01d6d5b1ad0474"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale. <a href="#a7cb6b839b4d7383bfa01d6d5b1ad0474">More...</a><br /></td></tr> <tr class="separator:a7cb6b839b4d7383bfa01d6d5b1ad0474"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7d0ff4be508718949b33eceac61650e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a7d0ff4be508718949b33eceac61650e3">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &override, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a7d0ff4be508718949b33eceac61650e3"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern, numbering system override, and locale. <a href="#a7d0ff4be508718949b33eceac61650e3">More...</a><br /></td></tr> <tr class="separator:a7d0ff4be508718949b33eceac61650e3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ade7a14cffdd6376ceb9a8e903d096136"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ade7a14cffdd6376ceb9a8e903d096136">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *formatDataToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ade7a14cffdd6376ceb9a8e903d096136"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. <a href="#ade7a14cffdd6376ceb9a8e903d096136">More...</a><br /></td></tr> <tr class="separator:ade7a14cffdd6376ceb9a8e903d096136"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a20000e7482f8410da4ca52f953f9dc7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a20000e7482f8410da4ca52f953f9dc7f">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> &formatData, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a20000e7482f8410da4ca52f953f9dc7f"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. <a href="#a20000e7482f8410da4ca52f953f9dc7f">More...</a><br /></td></tr> <tr class="separator:a20000e7482f8410da4ca52f953f9dc7f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aff903bc1836d18381705de36ef8b6d5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aff903bc1836d18381705de36ef8b6d5f">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &)</td></tr> <tr class="memdesc:aff903bc1836d18381705de36ef8b6d5f"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#aff903bc1836d18381705de36ef8b6d5f">More...</a><br /></td></tr> <tr class="separator:aff903bc1836d18381705de36ef8b6d5f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aab8c84f7f6cd20cbe71e842fb1beadd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aab8c84f7f6cd20cbe71e842fb1beadd0">operator=</a> (const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &)</td></tr> <tr class="memdesc:aab8c84f7f6cd20cbe71e842fb1beadd0"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#aab8c84f7f6cd20cbe71e842fb1beadd0">More...</a><br /></td></tr> <tr class="separator:aab8c84f7f6cd20cbe71e842fb1beadd0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae55fa60b1dbc3f4029ac77a084321cbb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ae55fa60b1dbc3f4029ac77a084321cbb">~SimpleDateFormat</a> ()</td></tr> <tr class="memdesc:ae55fa60b1dbc3f4029ac77a084321cbb"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ae55fa60b1dbc3f4029ac77a084321cbb">More...</a><br /></td></tr> <tr class="separator:ae55fa60b1dbc3f4029ac77a084321cbb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad36bbc19b7eed998d4a4205140c6843b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ad36bbc19b7eed998d4a4205140c6843b">clone</a> () const override</td></tr> <tr class="memdesc:ad36bbc19b7eed998d4a4205140c6843b"><td class="mdescLeft"> </td><td class="mdescRight">Clone this <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> object polymorphically. <a href="#ad36bbc19b7eed998d4a4205140c6843b">More...</a><br /></td></tr> <tr class="separator:ad36bbc19b7eed998d4a4205140c6843b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2f6eff21c86fcbd4f5b17a8cc6f159e5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a2f6eff21c86fcbd4f5b17a8cc6f159e5">operator==</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &other) const override</td></tr> <tr class="memdesc:a2f6eff21c86fcbd4f5b17a8cc6f159e5"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> objects are semantically equal. <a href="#a2f6eff21c86fcbd4f5b17a8cc6f159e5">More...</a><br /></td></tr> <tr class="separator:a2f6eff21c86fcbd4f5b17a8cc6f159e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a64e3cef36335a17fc51172c2951cd795"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a64e3cef36335a17fc51172c2951cd795">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &pos) const override</td></tr> <tr class="memdesc:a64e3cef36335a17fc51172c2951cd795"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. <a href="#a64e3cef36335a17fc51172c2951cd795">More...</a><br /></td></tr> <tr class="separator:a64e3cef36335a17fc51172c2951cd795"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa16528340af9d55c52f0707e7902b4cf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aa16528340af9d55c52f0707e7902b4cf">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const override</td></tr> <tr class="memdesc:aa16528340af9d55c52f0707e7902b4cf"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. <a href="#aa16528340af9d55c52f0707e7902b4cf">More...</a><br /></td></tr> <tr class="separator:aa16528340af9d55c52f0707e7902b4cf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa73be67e1c52bfffd86ee30f96970441"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aa73be67e1c52bfffd86ee30f96970441">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &pos) const override</td></tr> <tr class="memdesc:aa73be67e1c52bfffd86ee30f96970441"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="#aa73be67e1c52bfffd86ee30f96970441">More...</a><br /></td></tr> <tr class="separator:aa73be67e1c52bfffd86ee30f96970441"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a50c61df722372a5730488b31e28eb0f1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a50c61df722372a5730488b31e28eb0f1">set2DigitYearStart</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a50c61df722372a5730488b31e28eb0f1"><td class="mdescLeft"> </td><td class="mdescRight">Set the start UDate used to interpret two-digit year strings. <a href="#a50c61df722372a5730488b31e28eb0f1">More...</a><br /></td></tr> <tr class="separator:a50c61df722372a5730488b31e28eb0f1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a836c92242ff768000efb3b843dc3ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a2a836c92242ff768000efb3b843dc3ba">get2DigitYearStart</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a2a836c92242ff768000efb3b843dc3ba"><td class="mdescLeft"> </td><td class="mdescRight">Get the start UDate used to interpret two-digit year strings. <a href="#a2a836c92242ff768000efb3b843dc3ba">More...</a><br /></td></tr> <tr class="separator:a2a836c92242ff768000efb3b843dc3ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a324c9192764ecb6105d86f736da0b898"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a324c9192764ecb6105d86f736da0b898">toPattern</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &result) const</td></tr> <tr class="memdesc:a324c9192764ecb6105d86f736da0b898"><td class="mdescLeft"> </td><td class="mdescRight">Return a pattern string describing this date format. <a href="#a324c9192764ecb6105d86f736da0b898">More...</a><br /></td></tr> <tr class="separator:a324c9192764ecb6105d86f736da0b898"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb15cd93874665fee37b00d6e89841da"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aeb15cd93874665fee37b00d6e89841da">toLocalizedPattern</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:aeb15cd93874665fee37b00d6e89841da"><td class="mdescLeft"> </td><td class="mdescRight">Return a localized pattern string describing this date format. <a href="#aeb15cd93874665fee37b00d6e89841da">More...</a><br /></td></tr> <tr class="separator:aeb15cd93874665fee37b00d6e89841da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67d6bdcdc667399e9308da538fd9c928"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a67d6bdcdc667399e9308da538fd9c928">applyPattern</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern)</td></tr> <tr class="memdesc:a67d6bdcdc667399e9308da538fd9c928"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given unlocalized pattern string to this date format. <a href="#a67d6bdcdc667399e9308da538fd9c928">More...</a><br /></td></tr> <tr class="separator:a67d6bdcdc667399e9308da538fd9c928"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af952da3d185fe4860155bde362cced9b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#af952da3d185fe4860155bde362cced9b">applyLocalizedPattern</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:af952da3d185fe4860155bde362cced9b"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given localized pattern string to this date format. <a href="#af952da3d185fe4860155bde362cced9b">More...</a><br /></td></tr> <tr class="separator:af952da3d185fe4860155bde362cced9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae6641537b8130de0addb7ae61b7c3ac0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ae6641537b8130de0addb7ae61b7c3ac0">getDateFormatSymbols</a> () const</td></tr> <tr class="memdesc:ae6641537b8130de0addb7ae61b7c3ac0"><td class="mdescLeft"> </td><td class="mdescRight">Gets the date/time formatting symbols (this is an object carrying the various strings and other symbols used in formatting: e.g., month names and abbreviations, time zone names, AM/PM strings, etc.) <a href="#ae6641537b8130de0addb7ae61b7c3ac0">More...</a><br /></td></tr> <tr class="separator:ae6641537b8130de0addb7ae61b7c3ac0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8d1afc7ef54f40611f9a15931c629ec"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ab8d1afc7ef54f40611f9a15931c629ec">adoptDateFormatSymbols</a> (<a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *newFormatSymbols)</td></tr> <tr class="memdesc:ab8d1afc7ef54f40611f9a15931c629ec"><td class="mdescLeft"> </td><td class="mdescRight">Set the date/time formatting symbols. <a href="#ab8d1afc7ef54f40611f9a15931c629ec">More...</a><br /></td></tr> <tr class="separator:ab8d1afc7ef54f40611f9a15931c629ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a204f835138ddfaa780f9e7e3f5d2287e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a204f835138ddfaa780f9e7e3f5d2287e">setDateFormatSymbols</a> (const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> &newFormatSymbols)</td></tr> <tr class="memdesc:a204f835138ddfaa780f9e7e3f5d2287e"><td class="mdescLeft"> </td><td class="mdescRight">Set the date/time formatting data. <a href="#a204f835138ddfaa780f9e7e3f5d2287e">More...</a><br /></td></tr> <tr class="separator:a204f835138ddfaa780f9e7e3f5d2287e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a901d2e2e1ce3c63446c1728b05aa6ffc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a901d2e2e1ce3c63446c1728b05aa6ffc">getDynamicClassID</a> () const override</td></tr> <tr class="memdesc:a901d2e2e1ce3c63446c1728b05aa6ffc"><td class="mdescLeft"> </td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY. <a href="#a901d2e2e1ce3c63446c1728b05aa6ffc">More...</a><br /></td></tr> <tr class="separator:a901d2e2e1ce3c63446c1728b05aa6ffc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b4151660486c2f027f09998673f9da7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1b4151660486c2f027f09998673f9da7">adoptCalendar</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> *calendarToAdopt) override</td></tr> <tr class="memdesc:a1b4151660486c2f027f09998673f9da7"><td class="mdescLeft"> </td><td class="mdescRight">Set the calendar to be used by this date format. <a href="#a1b4151660486c2f027f09998673f9da7">More...</a><br /></td></tr> <tr class="separator:a1b4151660486c2f027f09998673f9da7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9412ef939d81e9ada0d95c2110c5d81e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a9412ef939d81e9ada0d95c2110c5d81e">adoptTimeZoneFormat</a> (<a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> *timeZoneFormatToAdopt)</td></tr> <tr class="memdesc:a9412ef939d81e9ada0d95c2110c5d81e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> to be used by this date/time formatter. <a href="#a9412ef939d81e9ada0d95c2110c5d81e">More...</a><br /></td></tr> <tr class="separator:a9412ef939d81e9ada0d95c2110c5d81e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a47c89287563eef457509786f3c3fa8c8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a47c89287563eef457509786f3c3fa8c8">setTimeZoneFormat</a> (const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> &newTimeZoneFormat)</td></tr> <tr class="memdesc:a47c89287563eef457509786f3c3fa8c8"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> to be used by this date/time formatter. <a href="#a47c89287563eef457509786f3c3fa8c8">More...</a><br /></td></tr> <tr class="separator:a47c89287563eef457509786f3c3fa8c8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e91da14b02a0fcbc77fdc2d105a71d9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1e91da14b02a0fcbc77fdc2d105a71d9">getTimeZoneFormat</a> () const</td></tr> <tr class="memdesc:a1e91da14b02a0fcbc77fdc2d105a71d9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the time zone format object associated with this date/time formatter. <a href="#a1e91da14b02a0fcbc77fdc2d105a71d9">More...</a><br /></td></tr> <tr class="separator:a1e91da14b02a0fcbc77fdc2d105a71d9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41dbb0c0349149d165b4ff8ca00fdcec"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a41dbb0c0349149d165b4ff8ca00fdcec">setContext</a> (<a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a> value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) override</td></tr> <tr class="memdesc:a41dbb0c0349149d165b4ff8ca00fdcec"><td class="mdescLeft"> </td><td class="mdescRight">Set a particular UDisplayContext value in the formatter, such as UDISPCTX_CAPITALIZATION_FOR_STANDALONE. <a href="#a41dbb0c0349149d165b4ff8ca00fdcec">More...</a><br /></td></tr> <tr class="separator:a41dbb0c0349149d165b4ff8ca00fdcec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a83ae693c48418f66c9558dc458b56164"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a83ae693c48418f66c9558dc458b56164">adoptNumberFormat</a> (<a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *formatToAdopt) override</td></tr> <tr class="memdesc:a83ae693c48418f66c9558dc458b56164"><td class="mdescLeft"> </td><td class="mdescRight">Overrides base class method and This method clears per field <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> instances previously set by {. <a href="#a83ae693c48418f66c9558dc458b56164">More...</a><br /></td></tr> <tr class="separator:a83ae693c48418f66c9558dc458b56164"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a61491ce2ae680c2b2ea666e2c7dae0df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a61491ce2ae680c2b2ea666e2c7dae0df">adoptNumberFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &fields, <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *formatToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a61491ce2ae680c2b2ea666e2c7dae0df"><td class="mdescLeft"> </td><td class="mdescRight">Allow the user to set the <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> for several fields It can be a single field like: "y"(year) or "M"(month) It can be several field combined together: "yM"(year and month) Note: 1 symbol field is enough for multiple symbol field (so "y" will override "yy", "yyy") If the field is not numeric, then override has no effect (like "MMM" will use abbreviation, not numerical field) Per field <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> can also be cleared in {. <a href="#a61491ce2ae680c2b2ea666e2c7dae0df">More...</a><br /></td></tr> <tr class="separator:a61491ce2ae680c2b2ea666e2c7dae0df"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae5041e8c56fa49ba10345ccdb52145c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ae5041e8c56fa49ba10345ccdb52145c4">getNumberFormatForField</a> (char16_t field) const</td></tr> <tr class="memdesc:ae5041e8c56fa49ba10345ccdb52145c4"><td class="mdescLeft"> </td><td class="mdescRight">Get the numbering system to be used for a particular field. <a href="#ae5041e8c56fa49ba10345ccdb52145c4">More...</a><br /></td></tr> <tr class="separator:ae5041e8c56fa49ba10345ccdb52145c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a680b3f975c8292920e1b7259d21c46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a7a680b3f975c8292920e1b7259d21c46">isFieldUnitIgnored</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr> <tr class="memdesc:a7a680b3f975c8292920e1b7259d21c46"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a7a680b3f975c8292920e1b7259d21c46">More...</a><br /></td></tr> <tr class="separator:a7a680b3f975c8292920e1b7259d21c46"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6fe5bbb80c192af30ec020084b194f08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1Locale.html">Locale</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a6fe5bbb80c192af30ec020084b194f08">getSmpFmtLocale</a> () const</td></tr> <tr class="memdesc:a6fe5bbb80c192af30ec020084b194f08"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a6fe5bbb80c192af30ec020084b194f08">More...</a><br /></td></tr> <tr class="separator:a6fe5bbb80c192af30ec020084b194f08"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b2abe46c7e6eb9ae72dd55e86489f7c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a9b2abe46c7e6eb9ae72dd55e86489f7c">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const override</td></tr> <tr class="memdesc:a9b2abe46c7e6eb9ae72dd55e86489f7c"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="#a9b2abe46c7e6eb9ae72dd55e86489f7c">More...</a><br /></td></tr> <tr class="separator:a9b2abe46c7e6eb9ae72dd55e86489f7c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a31211b3be03d1451d162ce4a7ddbf62c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a31211b3be03d1451d162ce4a7ddbf62c">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const override</td></tr> <tr class="memdesc:a31211b3be03d1451d162ce4a7ddbf62c"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="#a31211b3be03d1451d162ce4a7ddbf62c">More...</a><br /></td></tr> <tr class="separator:a31211b3be03d1451d162ce4a7ddbf62c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abf46bd057466a19c63fac79d05178da5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#abf46bd057466a19c63fac79d05178da5">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &fieldPosition) const=0</td></tr> <tr class="memdesc:abf46bd057466a19c63fac79d05178da5"><td class="mdescLeft"> </td><td class="mdescRight">Formats a date into a date/time string. <a href="#abf46bd057466a19c63fac79d05178da5">More...</a><br /></td></tr> <tr class="separator:abf46bd057466a19c63fac79d05178da5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1345cc05a97cb29c44401ab8c6a5f863"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1345cc05a97cb29c44401ab8c6a5f863">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a1345cc05a97cb29c44401ab8c6a5f863"><td class="mdescLeft"> </td><td class="mdescRight">Formats a date into a date/time string. <a href="#a1345cc05a97cb29c44401ab8c6a5f863">More...</a><br /></td></tr> <tr class="separator:a1345cc05a97cb29c44401ab8c6a5f863"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adb4794eb82da23a3ab461ef5da3e78ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#adb4794eb82da23a3ab461ef5da3e78ba">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &fieldPosition) const</td></tr> <tr class="memdesc:adb4794eb82da23a3ab461ef5da3e78ba"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="#adb4794eb82da23a3ab461ef5da3e78ba">More...</a><br /></td></tr> <tr class="separator:adb4794eb82da23a3ab461ef5da3e78ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b46b23e56151885b9336e922ac2232c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a0b46b23e56151885b9336e922ac2232c">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a0b46b23e56151885b9336e922ac2232c"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="#a0b46b23e56151885b9336e922ac2232c">More...</a><br /></td></tr> <tr class="separator:a0b46b23e56151885b9336e922ac2232c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a183e703ac25c3d7d9dff10022de291bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a183e703ac25c3d7d9dff10022de291bd">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo) const</td></tr> <tr class="memdesc:a183e703ac25c3d7d9dff10022de291bd"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="#a183e703ac25c3d7d9dff10022de291bd">More...</a><br /></td></tr> <tr class="separator:a183e703ac25c3d7d9dff10022de291bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fba841a9a5db6f2a99da5998b542ac8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1fba841a9a5db6f2a99da5998b542ac8">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a1fba841a9a5db6f2a99da5998b542ac8"><td class="mdescLeft"> </td><td class="mdescRight">Formats an object to produce a string. <a href="#a1fba841a9a5db6f2a99da5998b542ac8">More...</a><br /></td></tr> <tr class="separator:a1fba841a9a5db6f2a99da5998b542ac8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a967945dd6939921c80012a65b189c8ea"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a967945dd6939921c80012a65b189c8ea">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const =0</td></tr> <tr class="memdesc:a967945dd6939921c80012a65b189c8ea"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="#a967945dd6939921c80012a65b189c8ea">More...</a><br /></td></tr> <tr class="separator:a967945dd6939921c80012a65b189c8ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a564c462b7ea9dba89f0b6c49542a6779"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a564c462b7ea9dba89f0b6c49542a6779">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a564c462b7ea9dba89f0b6c49542a6779"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="#a564c462b7ea9dba89f0b6c49542a6779">More...</a><br /></td></tr> <tr class="separator:a564c462b7ea9dba89f0b6c49542a6779"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a107ed9dfe1023156c53235db41056a78"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a107ed9dfe1023156c53235db41056a78">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a107ed9dfe1023156c53235db41056a78"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string. <a href="#a107ed9dfe1023156c53235db41056a78">More...</a><br /></td></tr> <tr class="separator:a107ed9dfe1023156c53235db41056a78"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afeec77995fc220b5e61fd60b60144cee"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#afeec77995fc220b5e61fd60b60144cee">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &cal, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &pos) const=0</td></tr> <tr class="memdesc:afeec77995fc220b5e61fd60b60144cee"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="#afeec77995fc220b5e61fd60b60144cee">More...</a><br /></td></tr> <tr class="separator:afeec77995fc220b5e61fd60b60144cee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac87ec1be5140559cb84718bad8ffb9bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ac87ec1be5140559cb84718bad8ffb9bc">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &pos) const</td></tr> <tr class="memdesc:ac87ec1be5140559cb84718bad8ffb9bc"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="#ac87ec1be5140559cb84718bad8ffb9bc">More...</a><br /></td></tr> <tr class="separator:ac87ec1be5140559cb84718bad8ffb9bc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classicu_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1DateFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr> <tr class="memitem:a7003a1979f75eb8fe0096ee9223734ee inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a7003a1979f75eb8fe0096ee9223734ee">~DateFormat</a> ()</td></tr> <tr class="memdesc:a7003a1979f75eb8fe0096ee9223734ee inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classicu_1_1DateFormat.html#a7003a1979f75eb8fe0096ee9223734ee">More...</a><br /></td></tr> <tr class="separator:a7003a1979f75eb8fe0096ee9223734ee inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b2abe46c7e6eb9ae72dd55e86489f7c inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a9b2abe46c7e6eb9ae72dd55e86489f7c">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const override</td></tr> <tr class="memdesc:a9b2abe46c7e6eb9ae72dd55e86489f7c inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="classicu_1_1DateFormat.html#a9b2abe46c7e6eb9ae72dd55e86489f7c">More...</a><br /></td></tr> <tr class="separator:a9b2abe46c7e6eb9ae72dd55e86489f7c inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a31211b3be03d1451d162ce4a7ddbf62c inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a31211b3be03d1451d162ce4a7ddbf62c">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const override</td></tr> <tr class="memdesc:a31211b3be03d1451d162ce4a7ddbf62c inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="classicu_1_1DateFormat.html#a31211b3be03d1451d162ce4a7ddbf62c">More...</a><br /></td></tr> <tr class="separator:a31211b3be03d1451d162ce4a7ddbf62c inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adb4794eb82da23a3ab461ef5da3e78ba inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#adb4794eb82da23a3ab461ef5da3e78ba">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &fieldPosition) const</td></tr> <tr class="memdesc:adb4794eb82da23a3ab461ef5da3e78ba inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="classicu_1_1DateFormat.html#adb4794eb82da23a3ab461ef5da3e78ba">More...</a><br /></td></tr> <tr class="separator:adb4794eb82da23a3ab461ef5da3e78ba inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b46b23e56151885b9336e922ac2232c inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a0b46b23e56151885b9336e922ac2232c">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a0b46b23e56151885b9336e922ac2232c inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="classicu_1_1DateFormat.html#a0b46b23e56151885b9336e922ac2232c">More...</a><br /></td></tr> <tr class="separator:a0b46b23e56151885b9336e922ac2232c inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a183e703ac25c3d7d9dff10022de291bd inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a183e703ac25c3d7d9dff10022de291bd">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo) const</td></tr> <tr class="memdesc:a183e703ac25c3d7d9dff10022de291bd inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="classicu_1_1DateFormat.html#a183e703ac25c3d7d9dff10022de291bd">More...</a><br /></td></tr> <tr class="separator:a183e703ac25c3d7d9dff10022de291bd inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a107ed9dfe1023156c53235db41056a78 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a107ed9dfe1023156c53235db41056a78">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a107ed9dfe1023156c53235db41056a78 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string. <a href="classicu_1_1DateFormat.html#a107ed9dfe1023156c53235db41056a78">More...</a><br /></td></tr> <tr class="separator:a107ed9dfe1023156c53235db41056a78 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac87ec1be5140559cb84718bad8ffb9bc inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac87ec1be5140559cb84718bad8ffb9bc">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &text, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &pos) const</td></tr> <tr class="memdesc:ac87ec1be5140559cb84718bad8ffb9bc inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="classicu_1_1DateFormat.html#ac87ec1be5140559cb84718bad8ffb9bc">More...</a><br /></td></tr> <tr class="separator:ac87ec1be5140559cb84718bad8ffb9bc inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af3f0c090b3b4358997e56038e77cce7e inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#af3f0c090b3b4358997e56038e77cce7e">parseObject</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &source, <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &result, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &parse_pos) const override</td></tr> <tr class="memdesc:af3f0c090b3b4358997e56038e77cce7e inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a string to produce an object. <a href="classicu_1_1DateFormat.html#af3f0c090b3b4358997e56038e77cce7e">More...</a><br /></td></tr> <tr class="separator:af3f0c090b3b4358997e56038e77cce7e inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4e4d3c1ea53e9a4afadd357bbbae9ce inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ab4e4d3c1ea53e9a4afadd357bbbae9ce">isLenient</a> () const</td></tr> <tr class="memdesc:ab4e4d3c1ea53e9a4afadd357bbbae9ce inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether both date/time parsing in the encapsulated <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object and <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> whitespace & numeric processing is lenient. <a href="classicu_1_1DateFormat.html#ab4e4d3c1ea53e9a4afadd357bbbae9ce">More...</a><br /></td></tr> <tr class="separator:ab4e4d3c1ea53e9a4afadd357bbbae9ce inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad40f9728b98ea7e29f30030533261118 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ad40f9728b98ea7e29f30030533261118">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr> <tr class="memdesc:ad40f9728b98ea7e29f30030533261118 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether date/time parsing is to be lenient. <a href="classicu_1_1DateFormat.html#ad40f9728b98ea7e29f30030533261118">More...</a><br /></td></tr> <tr class="separator:ad40f9728b98ea7e29f30030533261118 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac9c243cd5781fe801500ca269c037c59 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac9c243cd5781fe801500ca269c037c59">isCalendarLenient</a> () const</td></tr> <tr class="memdesc:ac9c243cd5781fe801500ca269c037c59 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether date/time parsing in the encapsulated <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object processing is lenient. <a href="classicu_1_1DateFormat.html#ac9c243cd5781fe801500ca269c037c59">More...</a><br /></td></tr> <tr class="separator:ac9c243cd5781fe801500ca269c037c59 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a60279f7c822def768a624abb50840a42 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a60279f7c822def768a624abb50840a42">setCalendarLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr> <tr class="memdesc:a60279f7c822def768a624abb50840a42 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether encapsulated <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> date/time parsing is to be lenient. <a href="classicu_1_1DateFormat.html#a60279f7c822def768a624abb50840a42">More...</a><br /></td></tr> <tr class="separator:a60279f7c822def768a624abb50840a42 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ada32e57216cd184fb9090ca3512df59b inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ada32e57216cd184fb9090ca3512df59b">getCalendar</a> () const</td></tr> <tr class="memdesc:ada32e57216cd184fb9090ca3512df59b inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the calendar associated with this date/time formatter. <a href="classicu_1_1DateFormat.html#ada32e57216cd184fb9090ca3512df59b">More...</a><br /></td></tr> <tr class="separator:ada32e57216cd184fb9090ca3512df59b inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a07fb8f1bfaa65f6b4f2b58df7a96469f inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a07fb8f1bfaa65f6b4f2b58df7a96469f">setCalendar</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &newCalendar)</td></tr> <tr class="memdesc:a07fb8f1bfaa65f6b4f2b58df7a96469f inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Set the calendar to be used by this date format. <a href="classicu_1_1DateFormat.html#a07fb8f1bfaa65f6b4f2b58df7a96469f">More...</a><br /></td></tr> <tr class="separator:a07fb8f1bfaa65f6b4f2b58df7a96469f inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a887d7d3dad2ec56d21355d4fb8a86a78 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a887d7d3dad2ec56d21355d4fb8a86a78">getNumberFormat</a> () const</td></tr> <tr class="memdesc:a887d7d3dad2ec56d21355d4fb8a86a78 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the number formatter which this date/time formatter uses to format and parse the numeric portions of the pattern. <a href="classicu_1_1DateFormat.html#a887d7d3dad2ec56d21355d4fb8a86a78">More...</a><br /></td></tr> <tr class="separator:a887d7d3dad2ec56d21355d4fb8a86a78 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aedb0bcb3a3e40b5d20e513e8f8d5dbdd inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#aedb0bcb3a3e40b5d20e513e8f8d5dbdd">setNumberFormat</a> (const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> &newNumberFormat)</td></tr> <tr class="memdesc:aedb0bcb3a3e40b5d20e513e8f8d5dbdd inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Allows you to set the number formatter. <a href="classicu_1_1DateFormat.html#aedb0bcb3a3e40b5d20e513e8f8d5dbdd">More...</a><br /></td></tr> <tr class="separator:aedb0bcb3a3e40b5d20e513e8f8d5dbdd inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b01c1ae2c2b3a0e966fc8e466d3a44d inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4b01c1ae2c2b3a0e966fc8e466d3a44d">getTimeZone</a> () const</td></tr> <tr class="memdesc:a4b01c1ae2c2b3a0e966fc8e466d3a44d inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> used by this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a>'s calendar. <a href="classicu_1_1DateFormat.html#a4b01c1ae2c2b3a0e966fc8e466d3a44d">More...</a><br /></td></tr> <tr class="separator:a4b01c1ae2c2b3a0e966fc8e466d3a44d inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4eb9e751554f082aa3c6fb4ddbf09c53 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4eb9e751554f082aa3c6fb4ddbf09c53">adoptTimeZone</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zoneToAdopt)</td></tr> <tr class="memdesc:a4eb9e751554f082aa3c6fb4ddbf09c53 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Sets the time zone for the calendar of this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> object. <a href="classicu_1_1DateFormat.html#a4eb9e751554f082aa3c6fb4ddbf09c53">More...</a><br /></td></tr> <tr class="separator:a4eb9e751554f082aa3c6fb4ddbf09c53 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f8ea9ecd3c078c088745b52d2b1868d inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a1f8ea9ecd3c078c088745b52d2b1868d">setTimeZone</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &zone)</td></tr> <tr class="memdesc:a1f8ea9ecd3c078c088745b52d2b1868d inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Sets the time zone for the calendar of this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> object. <a href="classicu_1_1DateFormat.html#a1f8ea9ecd3c078c088745b52d2b1868d">More...</a><br /></td></tr> <tr class="separator:a1f8ea9ecd3c078c088745b52d2b1868d inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab2fe25bdc28e5a582bcfce715dba1cb9 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ab2fe25bdc28e5a582bcfce715dba1cb9">getContext</a> (<a class="el" href="udisplaycontext_8h.html#a7ce674e7cd26fb195f7344b861af5427">UDisplayContextType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:ab2fe25bdc28e5a582bcfce715dba1cb9 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the formatter's UDisplayContext value for the specified UDisplayContextType, such as UDISPCTX_TYPE_CAPITALIZATION. <a href="classicu_1_1DateFormat.html#ab2fe25bdc28e5a582bcfce715dba1cb9">More...</a><br /></td></tr> <tr class="separator:ab2fe25bdc28e5a582bcfce715dba1cb9 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98d588c111e4b40a601adcb8c9badfe9 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a98d588c111e4b40a601adcb8c9badfe9">setBooleanAttribute</a> (<a class="el" href="udat_8h.html#afb77ea9256f65ea466b4c9b73f33bbaa">UDateFormatBooleanAttribute</a> attr, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> newvalue, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a98d588c111e4b40a601adcb8c9badfe9 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Sets an boolean attribute on this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a>. <a href="classicu_1_1DateFormat.html#a98d588c111e4b40a601adcb8c9badfe9">More...</a><br /></td></tr> <tr class="separator:a98d588c111e4b40a601adcb8c9badfe9 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11b68c7726bccb57dbadf48367f7dbfa inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a11b68c7726bccb57dbadf48367f7dbfa">getBooleanAttribute</a> (<a class="el" href="udat_8h.html#afb77ea9256f65ea466b4c9b73f33bbaa">UDateFormatBooleanAttribute</a> attr, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a11b68c7726bccb57dbadf48367f7dbfa inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a boolean from this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> May return U_UNSUPPORTED_ERROR if this instance does not support the specified attribute. <a href="classicu_1_1DateFormat.html#a11b68c7726bccb57dbadf48367f7dbfa">More...</a><br /></td></tr> <tr class="separator:a11b68c7726bccb57dbadf48367f7dbfa inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a1fba841a9a5db6f2a99da5998b542ac8">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats an object to produce a string. <a href="classicu_1_1DateFormat.html#a1fba841a9a5db6f2a99da5998b542ac8">More...</a><br /></td></tr> <tr class="separator:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af360df0f7c3db4ebaa9cf95c4e532f93 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#af360df0f7c3db4ebaa9cf95c4e532f93">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const=0</td></tr> <tr class="memdesc:af360df0f7c3db4ebaa9cf95c4e532f93 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="classicu_1_1DateFormat.html#af360df0f7c3db4ebaa9cf95c4e532f93">More...</a><br /></td></tr> <tr class="separator:af360df0f7c3db4ebaa9cf95c4e532f93 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a564c462b7ea9dba89f0b6c49542a6779 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a564c462b7ea9dba89f0b6c49542a6779">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a564c462b7ea9dba89f0b6c49542a6779 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. <a href="classicu_1_1DateFormat.html#a564c462b7ea9dba89f0b6c49542a6779">More...</a><br /></td></tr> <tr class="separator:a564c462b7ea9dba89f0b6c49542a6779 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classicu_1_1Format"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1Format')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr> <tr class="memitem:a29be5cc84ffbb77f41e6a097def018f2 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a29be5cc84ffbb77f41e6a097def018f2">~Format</a> ()</td></tr> <tr class="memdesc:a29be5cc84ffbb77f41e6a097def018f2 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classicu_1_1Format.html#a29be5cc84ffbb77f41e6a097def018f2">More...</a><br /></td></tr> <tr class="separator:a29be5cc84ffbb77f41e6a097def018f2 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a148a5d1e25839ac74fd22c51f927d367 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a148a5d1e25839ac74fd22c51f927d367">operator!=</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &other) const</td></tr> <tr class="memdesc:a148a5d1e25839ac74fd22c51f927d367 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> objects are not semantically equal. <a href="classicu_1_1Format.html#a148a5d1e25839ac74fd22c51f927d367">More...</a><br /></td></tr> <tr class="separator:a148a5d1e25839ac74fd22c51f927d367 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a1fba841a9a5db6f2a99da5998b542ac8">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Formats an object to produce a string. <a href="classicu_1_1Format.html#a1fba841a9a5db6f2a99da5998b542ac8">More...</a><br /></td></tr> <tr class="separator:a1fba841a9a5db6f2a99da5998b542ac8 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a02f66bf67217d0370f1068d10a393660 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a02f66bf67217d0370f1068d10a393660">parseObject</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &source, <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a02f66bf67217d0370f1068d10a393660 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string to produce an object. <a href="classicu_1_1Format.html#a02f66bf67217d0370f1068d10a393660">More...</a><br /></td></tr> <tr class="separator:a02f66bf67217d0370f1068d10a393660 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11d48034c8a3ebcbe8ba2fe8c6cdc1e8 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1Locale.html">Locale</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a11d48034c8a3ebcbe8ba2fe8c6cdc1e8">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a11d48034c8a3ebcbe8ba2fe8c6cdc1e8 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="classicu_1_1Format.html#a11d48034c8a3ebcbe8ba2fe8c6cdc1e8">More...</a><br /></td></tr> <tr class="separator:a11d48034c8a3ebcbe8ba2fe8c6cdc1e8 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af6a8ad88a197d37f1b31b16017e1bd1a inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#af6a8ad88a197d37f1b31b16017e1bd1a">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:af6a8ad88a197d37f1b31b16017e1bd1a inherit pub_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="classicu_1_1Format.html#af6a8ad88a197d37f1b31b16017e1bd1a">More...</a><br /></td></tr> <tr class="separator:af6a8ad88a197d37f1b31b16017e1bd1a inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr> <tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr> <tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr> <tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:aefdd04cb691333df9c658eece3374172"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aefdd04cb691333df9c658eece3374172">getStaticClassID</a> ()</td></tr> <tr class="memdesc:aefdd04cb691333df9c658eece3374172"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#aefdd04cb691333df9c658eece3374172">More...</a><br /></td></tr> <tr class="separator:aefdd04cb691333df9c658eece3374172"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1a23220f26f5e4cebdeaee80593dbea1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1a23220f26f5e4cebdeaee80593dbea1">isFieldUnitIgnored</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr> <tr class="memdesc:a1a23220f26f5e4cebdeaee80593dbea1"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a1a23220f26f5e4cebdeaee80593dbea1">More...</a><br /></td></tr> <tr class="separator:a1a23220f26f5e4cebdeaee80593dbea1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classicu_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classicu_1_1DateFormat')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr> <tr class="memitem:a994d2cc0195694da2c14fc80df63c99c inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a994d2cc0195694da2c14fc80df63c99c">createInstance</a> ()</td></tr> <tr class="memdesc:a994d2cc0195694da2c14fc80df63c99c inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Create a default date/time formatter that uses the SHORT style for both the date and the time. <a href="classicu_1_1DateFormat.html#a994d2cc0195694da2c14fc80df63c99c">More...</a><br /></td></tr> <tr class="separator:a994d2cc0195694da2c14fc80df63c99c inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeaa04f588d8756ba0a5643db96b85531 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#aeaa04f588d8756ba0a5643db96b85531">createTimeInstance</a> (<a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> style=kDefault, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &aLocale=<a class="el" href="classicu_1_1Locale.html#a972d222527dd3e6b1f02f86440522c20">Locale::getDefault</a>())</td></tr> <tr class="memdesc:aeaa04f588d8756ba0a5643db96b85531 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a time formatter with the given formatting style for the given locale. <a href="classicu_1_1DateFormat.html#aeaa04f588d8756ba0a5643db96b85531">More...</a><br /></td></tr> <tr class="separator:aeaa04f588d8756ba0a5643db96b85531 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13ac959e1a2435fd0e867a210eecd3a4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a13ac959e1a2435fd0e867a210eecd3a4">createDateInstance</a> (<a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> style=kDefault, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &aLocale=<a class="el" href="classicu_1_1Locale.html#a972d222527dd3e6b1f02f86440522c20">Locale::getDefault</a>())</td></tr> <tr class="memdesc:a13ac959e1a2435fd0e867a210eecd3a4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date formatter with the given formatting style for the given const locale. <a href="classicu_1_1DateFormat.html#a13ac959e1a2435fd0e867a210eecd3a4">More...</a><br /></td></tr> <tr class="separator:a13ac959e1a2435fd0e867a210eecd3a4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7b662631b66f756abf6bd18bb813ff3e inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a7b662631b66f756abf6bd18bb813ff3e">createDateTimeInstance</a> (<a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> dateStyle=kDefault, <a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> timeStyle=kDefault, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &aLocale=<a class="el" href="classicu_1_1Locale.html#a972d222527dd3e6b1f02f86440522c20">Locale::getDefault</a>())</td></tr> <tr class="memdesc:a7b662631b66f756abf6bd18bb813ff3e inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date/time formatter with the given formatting styles for the given locale. <a href="classicu_1_1DateFormat.html#a7b662631b66f756abf6bd18bb813ff3e">More...</a><br /></td></tr> <tr class="separator:a7b662631b66f756abf6bd18bb813ff3e inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af3d30acac4e9f6c47ab9fd8ad3c2dd79 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#af3d30acac4e9f6c47ab9fd8ad3c2dd79">getBestPattern</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &locale, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &skeleton, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:af3d30acac4e9f6c47ab9fd8ad3c2dd79 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the best pattern given a skeleton and locale. <a href="classicu_1_1DateFormat.html#af3d30acac4e9f6c47ab9fd8ad3c2dd79">More...</a><br /></td></tr> <tr class="separator:af3d30acac4e9f6c47ab9fd8ad3c2dd79 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a78a6a2fc471a59f10a925a1346b88eaf inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a78a6a2fc471a59f10a925a1346b88eaf">createInstanceForSkeleton</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &skeleton, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a78a6a2fc471a59f10a925a1346b88eaf inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date/time formatter for the given skeleton and default locale. <a href="classicu_1_1DateFormat.html#a78a6a2fc471a59f10a925a1346b88eaf">More...</a><br /></td></tr> <tr class="separator:a78a6a2fc471a59f10a925a1346b88eaf inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac03c6bdb0b2c9c99953316a504f9c0b5 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac03c6bdb0b2c9c99953316a504f9c0b5">createInstanceForSkeleton</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &skeleton, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ac03c6bdb0b2c9c99953316a504f9c0b5 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale. <a href="classicu_1_1DateFormat.html#ac03c6bdb0b2c9c99953316a504f9c0b5">More...</a><br /></td></tr> <tr class="separator:ac03c6bdb0b2c9c99953316a504f9c0b5 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0723242028d343acdb702ae7ad48a28b inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a0723242028d343acdb702ae7ad48a28b">createInstanceForSkeleton</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> *calendarToAdopt, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &skeleton, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a0723242028d343acdb702ae7ad48a28b inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale. <a href="classicu_1_1DateFormat.html#a0723242028d343acdb702ae7ad48a28b">More...</a><br /></td></tr> <tr class="separator:a0723242028d343acdb702ae7ad48a28b inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4fd312069e245784c03cd2d053cf968b inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1Locale.html">Locale</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4fd312069e245784c03cd2d053cf968b">getAvailableLocales</a> (int32_t &count)</td></tr> <tr class="memdesc:a4fd312069e245784c03cd2d053cf968b inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the set of locales for which DateFormats are installed. <a href="classicu_1_1DateFormat.html#a4fd312069e245784c03cd2d053cf968b">More...</a><br /></td></tr> <tr class="separator:a4fd312069e245784c03cd2d053cf968b inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a369bfc31e5e941bae4ec355f203ea9e8"><td class="memItemLeft" align="right" valign="top"><a id="a369bfc31e5e941bae4ec355f203ea9e8"></a> class </td><td class="memItemRight" valign="bottom"><b>DateFormat</b></td></tr> <tr class="separator:a369bfc31e5e941bae4ec355f203ea9e8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9acb9821e8fddc1337e8f91705b002e2"><td class="memItemLeft" align="right" valign="top"><a id="a9acb9821e8fddc1337e8f91705b002e2"></a> class </td><td class="memItemRight" valign="bottom"><b>DateIntervalFormat</b></td></tr> <tr class="separator:a9acb9821e8fddc1337e8f91705b002e2"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classicu_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classicu_1_1DateFormat')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr> <tr class="memitem:ac24ea2d479ab818437dedb3470800dc7 inherit pub_types_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> { <br />   <b>kNone</b> = -1, <b>kFull</b> = 0, <b>kLong</b> = 1, <b>kMedium</b> = 2, <br />   <b>kShort</b> = 3, <b>kDateOffset</b> = kShort + 1, <b>kDateTime</b> = 8, <b>kDateTimeOffset</b> = kDateTime + 1, <br />   <b>kRelative</b> = (1 << 7), <b>kFullRelative</b> = (kFull | kRelative), <b>kLongRelative</b> = kLong | kRelative, <b>kMediumRelative</b> = kMedium | kRelative, <br />   <b>kShortRelative</b> = kShort | kRelative, <b>kDefault</b> = kMedium, <a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7ab4dbd844bad9434716ae812fc012784e">FULL</a> = kFull, <b>LONG</b> = kLong, <br />   <b>MEDIUM</b> = kMedium, <b>SHORT</b> = kShort, <b>DEFAULT</b> = kDefault, <b>DATE_OFFSET</b> = kDateOffset, <br />   <b>NONE</b> = kNone, <b>DATE_TIME</b> = kDateTime <br /> }</td></tr> <tr class="memdesc:ac24ea2d479ab818437dedb3470800dc7"><td class="mdescLeft"> </td><td class="mdescRight">Constants for various style patterns. <a href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">More...</a><br /></td></tr> <tr class="separator:ac24ea2d479ab818437dedb3470800dc7 inherit pub_types_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad13e430a9697228c96ca1f350b3d9317 inherit pub_types_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ad13e430a9697228c96ca1f350b3d9317">EField</a> { <br />   <b>kEraField</b> = UDAT_ERA_FIELD, <b>kYearField</b> = UDAT_YEAR_FIELD, <b>kMonthField</b> = UDAT_MONTH_FIELD, <b>kDateField</b> = UDAT_DATE_FIELD, <br />   <b>kHourOfDay1Field</b> = UDAT_HOUR_OF_DAY1_FIELD, <b>kHourOfDay0Field</b> = UDAT_HOUR_OF_DAY0_FIELD, <b>kMinuteField</b> = UDAT_MINUTE_FIELD, <b>kSecondField</b> = UDAT_SECOND_FIELD, <br />   <b>kMillisecondField</b> = UDAT_FRACTIONAL_SECOND_FIELD, <b>kDayOfWeekField</b> = UDAT_DAY_OF_WEEK_FIELD, <b>kDayOfYearField</b> = UDAT_DAY_OF_YEAR_FIELD, <b>kDayOfWeekInMonthField</b> = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD, <br />   <b>kWeekOfYearField</b> = UDAT_WEEK_OF_YEAR_FIELD, <b>kWeekOfMonthField</b> = UDAT_WEEK_OF_MONTH_FIELD, <b>kAmPmField</b> = UDAT_AM_PM_FIELD, <b>kHour1Field</b> = UDAT_HOUR1_FIELD, <br />   <b>kHour0Field</b> = UDAT_HOUR0_FIELD, <b>kTimezoneField</b> = UDAT_TIMEZONE_FIELD, <b>kYearWOYField</b> = UDAT_YEAR_WOY_FIELD, <b>kDOWLocalField</b> = UDAT_DOW_LOCAL_FIELD, <br />   <b>kExtendedYearField</b> = UDAT_EXTENDED_YEAR_FIELD, <b>kJulianDayField</b> = UDAT_JULIAN_DAY_FIELD, <b>kMillisecondsInDayField</b> = UDAT_MILLISECONDS_IN_DAY_FIELD, <b>ERA_FIELD</b> = UDAT_ERA_FIELD, <br />   <b>YEAR_FIELD</b> = UDAT_YEAR_FIELD, <b>MONTH_FIELD</b> = UDAT_MONTH_FIELD, <b>DATE_FIELD</b> = UDAT_DATE_FIELD, <b>HOUR_OF_DAY1_FIELD</b> = UDAT_HOUR_OF_DAY1_FIELD, <br />   <b>HOUR_OF_DAY0_FIELD</b> = UDAT_HOUR_OF_DAY0_FIELD, <b>MINUTE_FIELD</b> = UDAT_MINUTE_FIELD, <b>SECOND_FIELD</b> = UDAT_SECOND_FIELD, <b>MILLISECOND_FIELD</b> = UDAT_FRACTIONAL_SECOND_FIELD, <br />   <b>DAY_OF_WEEK_FIELD</b> = UDAT_DAY_OF_WEEK_FIELD, <b>DAY_OF_YEAR_FIELD</b> = UDAT_DAY_OF_YEAR_FIELD, <b>DAY_OF_WEEK_IN_MONTH_FIELD</b> = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD, <b>WEEK_OF_YEAR_FIELD</b> = UDAT_WEEK_OF_YEAR_FIELD, <br />   <b>WEEK_OF_MONTH_FIELD</b> = UDAT_WEEK_OF_MONTH_FIELD, <b>AM_PM_FIELD</b> = UDAT_AM_PM_FIELD, <b>HOUR1_FIELD</b> = UDAT_HOUR1_FIELD, <b>HOUR0_FIELD</b> = UDAT_HOUR0_FIELD, <br />   <b>TIMEZONE_FIELD</b> = UDAT_TIMEZONE_FIELD <br /> }</td></tr> <tr class="memdesc:ad13e430a9697228c96ca1f350b3d9317"><td class="mdescLeft"> </td><td class="mdescRight">Field selector for <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> for <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> fields. <a href="classicu_1_1DateFormat.html#ad13e430a9697228c96ca1f350b3d9317">More...</a><br /></td></tr> <tr class="separator:ad13e430a9697228c96ca1f350b3d9317 inherit pub_types_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classicu_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classicu_1_1DateFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr> <tr class="memitem:a09107599f3e896cb3fb246587c35ea72 inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a09107599f3e896cb3fb246587c35ea72">DateFormat</a> ()</td></tr> <tr class="memdesc:a09107599f3e896cb3fb246587c35ea72 inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="classicu_1_1DateFormat.html#a09107599f3e896cb3fb246587c35ea72">More...</a><br /></td></tr> <tr class="separator:a09107599f3e896cb3fb246587c35ea72 inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abf51c57348f9a7f019d3b71de283492d inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#abf51c57348f9a7f019d3b71de283492d">DateFormat</a> (const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &)</td></tr> <tr class="memdesc:abf51c57348f9a7f019d3b71de283492d inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="classicu_1_1DateFormat.html#abf51c57348f9a7f019d3b71de283492d">More...</a><br /></td></tr> <tr class="separator:abf51c57348f9a7f019d3b71de283492d inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb05bb370b5c95198ceff70a8a1c1fa9 inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#acb05bb370b5c95198ceff70a8a1c1fa9">operator=</a> (const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &)</td></tr> <tr class="memdesc:acb05bb370b5c95198ceff70a8a1c1fa9 inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="classicu_1_1DateFormat.html#acb05bb370b5c95198ceff70a8a1c1fa9">More...</a><br /></td></tr> <tr class="separator:acb05bb370b5c95198ceff70a8a1c1fa9 inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classicu_1_1Format"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classicu_1_1Format')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr> <tr class="memitem:aa505228561edfd6c46c644f95af3df93 inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#aa505228561edfd6c46c644f95af3df93">setLocaleIDs</a> (const char *valid, const char *actual)</td></tr> <tr class="separator:aa505228561edfd6c46c644f95af3df93 inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa9ab507aca389576f85405ed9bd80a38 inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#aa9ab507aca389576f85405ed9bd80a38">Format</a> ()</td></tr> <tr class="memdesc:aa9ab507aca389576f85405ed9bd80a38 inherit pro_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor for subclass use only. <a href="classicu_1_1Format.html#aa9ab507aca389576f85405ed9bd80a38">More...</a><br /></td></tr> <tr class="separator:aa9ab507aca389576f85405ed9bd80a38 inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3bfcf9c59d57325baf115af595519346 inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a3bfcf9c59d57325baf115af595519346">Format</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &)</td></tr> <tr class="separator:a3bfcf9c59d57325baf115af595519346 inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb3d690951f760963f1d862d7b5a387a inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1Format.html">Format</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#afb3d690951f760963f1d862d7b5a387a">operator=</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &)</td></tr> <tr class="separator:afb3d690951f760963f1d862d7b5a387a inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_methods_classicu_1_1Format"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classicu_1_1Format')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr> <tr class="memitem:a8fc9dce6b125c38a7a540570f370fe22 inherit pro_static_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a8fc9dce6b125c38a7a540570f370fe22">syntaxError</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &pattern, int32_t pos, <a class="el" href="structUParseError.html">UParseError</a> &parseError)</td></tr> <tr class="memdesc:a8fc9dce6b125c38a7a540570f370fe22 inherit pro_static_methods_classicu_1_1Format"><td class="mdescLeft"> </td><td class="mdescRight">Simple function for initializing a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors. ">UParseError</a> from a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. <a href="classicu_1_1Format.html#a8fc9dce6b125c38a7a540570f370fe22">More...</a><br /></td></tr> <tr class="separator:a8fc9dce6b125c38a7a540570f370fe22 inherit pro_static_methods_classicu_1_1Format"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classicu_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classicu_1_1DateFormat')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr> <tr class="memitem:a20321bc31518617e151eda906aaea21c inherit pro_attribs_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a20321bc31518617e151eda906aaea21c">fCalendar</a></td></tr> <tr class="memdesc:a20321bc31518617e151eda906aaea21c inherit pro_attribs_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">The calendar that <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> uses to produce the time field values needed to implement date/time formatting. <a href="classicu_1_1DateFormat.html#a20321bc31518617e151eda906aaea21c">More...</a><br /></td></tr> <tr class="separator:a20321bc31518617e151eda906aaea21c inherit pro_attribs_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2aac78cfe705679f0059162145e5e3dc inherit pro_attribs_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a2aac78cfe705679f0059162145e5e3dc">fNumberFormat</a></td></tr> <tr class="memdesc:a2aac78cfe705679f0059162145e5e3dc inherit pro_attribs_classicu_1_1DateFormat"><td class="mdescLeft"> </td><td class="mdescRight">The number formatter that <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> uses to format numbers in dates and times. <a href="classicu_1_1DateFormat.html#a2aac78cfe705679f0059162145e5e3dc">More...</a><br /></td></tr> <tr class="separator:a2aac78cfe705679f0059162145e5e3dc inherit pro_attribs_classicu_1_1DateFormat"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> is a concrete class for formatting and parsing dates in a language-independent manner. </p> <p>It allows for formatting (millis -> text), parsing (text -> millis), and normalization. Formats/Parses a date or time, which is the standard milliseconds since 24:00 GMT, Jan 1, 1970. </p> <p>Clients are encouraged to create a date-time formatter using DateFormat::getInstance(), getDateInstance(), getDateInstance(), or getDateTimeInstance() rather than explicitly constructing an instance of <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>. This way, the client is guaranteed to get an appropriate formatting pattern for whatever locale the program is running in. If the client needs more control, they should consider using <a class="el" href="classicu_1_1DateFormat.html#a78a6a2fc471a59f10a925a1346b88eaf" title="Creates a date/time formatter for the given skeleton and default locale. ">DateFormat::createInstanceForSkeleton()</a>. However, if the client needs something more unusual than the default patterns in the locales, he can construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> directly and give it an appropriate pattern (or use one of the factory methods on <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> and modify the pattern after the fact with <a class="el" href="classicu_1_1SimpleDateFormat.html#a324c9192764ecb6105d86f736da0b898" title="Return a pattern string describing this date format. ">toPattern()</a> and <a class="el" href="classicu_1_1SimpleDateFormat.html#a67d6bdcdc667399e9308da538fd9c928" title="Apply the given unlocalized pattern string to this date format. ">applyPattern()</a>.</p> <p><b>Date and Time Patterns:</b></p> <p>Date and time formats are specified by <em>date and time pattern</em> strings. The full syntax for date and time patterns can be found at <a href="https://unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns">https://unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns</a>.</p> <p>Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserved as pattern letters representing calendar fields. Some of the most commonly used pattern letters are:</p> <table border="1"> <tr> <th style="text-align: center">Sym. </th><th style="text-align: center">No. </th><th>Example </th><th>Description </th></tr> <tr> <td style="text-align: center">G </td><td style="text-align: center">1..3 </td><td>AD </td><td>Era - Replaced with the Era string for the current date. One to three letters for the abbreviated form, four letters for the long (wide) form, five for the narrow form. </td></tr> <tr> <td style="text-align: center">y </td><td style="text-align: center">1..n </td><td>1996 </td><td>Year. Normally the length specifies the padding, but for two letters it also specifies the maximum length. Example:<div style="text-align: center"> <center> <table border="1" cellpadding="2" cellspacing="0"> <tr> <th>Year </th><th style="text-align: right">y </th><th style="text-align: right">yy </th><th style="text-align: right">yyy </th><th style="text-align: right">yyyy </th><th style="text-align: right">yyyyy </th></tr> <tr> <td>AD 1 </td><td style="text-align: right">1 </td><td style="text-align: right">01 </td><td style="text-align: right">001 </td><td style="text-align: right">0001 </td><td style="text-align: right">00001 </td></tr> <tr> <td>AD 12 </td><td style="text-align: right">12 </td><td style="text-align: right">12 </td><td style="text-align: right">012 </td><td style="text-align: right">0012 </td><td style="text-align: right">00012 </td></tr> <tr> <td>AD 123 </td><td style="text-align: right">123 </td><td style="text-align: right">23 </td><td style="text-align: right">123 </td><td style="text-align: right">0123 </td><td style="text-align: right">00123 </td></tr> <tr> <td>AD 1234 </td><td style="text-align: right">1234 </td><td style="text-align: right">34 </td><td style="text-align: right">1234 </td><td style="text-align: right">1234 </td><td style="text-align: right">01234 </td></tr> <tr> <td>AD 12345 </td><td style="text-align: right">12345 </td><td style="text-align: right">45 </td><td style="text-align: right">12345 </td><td style="text-align: right">12345 </td><td style="text-align: right">12345 </td></tr> </table> </center></div> </td></tr> <tr> <td rowspan="3" style="text-align: center">Q </td><td style="text-align: center">1..2 </td><td>02 </td><td rowspan="3">Quarter - Use one or two for the numerical quarter, three for the abbreviation, or four for the full (wide) name (five for the narrow name is not yet supported). </td></tr> <tr> <td style="text-align: center">3 </td><td>Q2 </td></tr> <tr> <td style="text-align: center">4 </td><td>2nd quarter </td></tr> <tr> <td rowspan="4" style="text-align: center">M </td><td style="text-align: center">1..2 </td><td>09 </td><td rowspan="4">Month - Use one or two for the numerical month, three for the abbreviation, four for the full (wide) name, or five for the narrow name. With two ("MM"), the month number is zero-padded if necessary (e.g. "08"). </td></tr> <tr> <td style="text-align: center">3 </td><td>Sep </td></tr> <tr> <td style="text-align: center">4 </td><td>September </td></tr> <tr> <td style="text-align: center">5 </td><td>S </td></tr> <tr> <td style="text-align: center">d </td><td style="text-align: center">1..2 </td><td>1 </td><td>Date - Day of the month. Use "d" to show the minimum number of digits, or "dd" to always show two digits (zero-padding if necessary, e.g. "08"). </td></tr> <tr> <td rowspan="4" style="text-align: center">E </td><td style="text-align: center">1..3 </td><td>Tue </td><td rowspan="4">Day of week - Use one through three letters for the short day, four for the full (wide) name, five for the narrow name, or six for the short name. </td></tr> <tr> <td style="text-align: center">4 </td><td>Tuesday </td></tr> <tr> <td style="text-align: center">5 </td><td>T </td></tr> <tr> <td style="text-align: center">6 </td><td>Tu </td></tr> <tr> <td style="text-align: center">a </td><td style="text-align: center">1 </td><td>AM </td><td>AM or PM </td></tr> <tr> <td style="text-align: center">h </td><td style="text-align: center">1..2 </td><td>11 </td><td>Hour [1-12]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern generation, it should match the 12-hour-cycle format preferred by the locale (h or K); it should not match a 24-hour-cycle format (H or k). Use hh for zero padding. </td></tr> <tr> <td style="text-align: center">H </td><td style="text-align: center">1..2 </td><td>13 </td><td>Hour [0-23]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern generation, it should match the 24-hour-cycle format preferred by the locale (H or k); it should not match a 12-hour-cycle format (h or K). Use HH for zero padding. </td></tr> <tr> <td style="text-align: center">m </td><td style="text-align: center">1..2 </td><td>59 </td><td>Minute. Use "m" to show the minimum number of digits, or "mm" to always show two digits (zero-padding if necessary, e.g. "08").. </td></tr> <tr> <td style="text-align: center">s </td><td style="text-align: center">1..2 </td><td>12 </td><td>Second. Use "s" to show the minimum number of digits, or "ss" to always show two digits (zero-padding if necessary, e.g. "08"). </td></tr> <tr> <td rowspan="2" style="text-align: center">z </td><td style="text-align: center">1..3 </td><td>PDT </td><td>Time zone. The <em>short specific non-location format</em>. Where that is unavailable, falls back to the <em>short localized GMT format</em> ("O"). </td></tr> <tr> <td style="text-align: center">4 </td><td>Pacific Daylight Time </td><td>The <em>long specific non-location format</em>. Where that is unavailable, falls back to the <em>long localized GMT format</em> ("OOOO"). </td></tr> <tr> <td rowspan="2" style="text-align: center">v </td><td style="text-align: center">1 </td><td>PT </td><td>Time zone. The <em>short generic non-location format</em>. Where that is unavailable, falls back to the <em>generic location format</em> ("VVVV"), then the <em>short localized GMT format</em> as the final fallback. </td></tr> <tr> <td style="text-align: center">4 </td><td>Pacific Time </td><td>The <em>long generic non-location format</em>. Where that is unavailable, falls back to <em>generic location format</em> ("VVVV"). </td></tr> </table> <p>Any characters in the pattern that are not in the ranges of ['a'..'z'] and ['A'..'Z'] will be treated as quoted text. For instance, characters like ':', '.', ' ', '#' and '@' will appear in the resulting time text even they are not embraced within single quotes. </p> <p>A pattern containing any invalid pattern letter will result in a failing UErrorCode result during formatting or parsing. </p> <p>Examples using the US locale: </p><pre> <div class="fragment"><div class="line"><a class="code" href="classicu_1_1Format.html#aa9ab507aca389576f85405ed9bd80a38">Format</a> Pattern Result</div><div class="line">-------------- -------</div><div class="line"><span class="stringliteral">"yyyy.MM.dd G 'at' HH:mm:ss vvvv"</span> ->> 1996.07.10 AD at 15:08:56 Pacific Time</div><div class="line"><span class="stringliteral">"EEE, MMM d, ''yy"</span> ->> Wed, July 10, <span class="stringliteral">'96</span></div><div class="line"><span class="stringliteral">"h:mm a" ->> 12:08 PM</span></div><div class="line"><span class="stringliteral">"hh '</span>o<span class="stringliteral">''</span>clock<span class="stringliteral">' a, zzzz" ->> 12 o'</span>clock PM, Pacific Daylight Time</div><div class="line"><span class="stringliteral">"K:mm a, vvv"</span> ->> 0:00 PM, PT</div><div class="line"><span class="stringliteral">"yyyyy.MMMMM.dd GGG hh:mm aaa"</span> ->> 1996.July.10 AD 12:08 PM</div></div><!-- fragment --> </pre><p> Code Sample: </p><pre> <div class="fragment"><div class="line"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> success = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div><div class="line">SimpleTimeZone* pdt = <span class="keyword">new</span> SimpleTimeZone(-8 * 60 * 60 * 1000, <span class="stringliteral">"PST"</span>);</div><div class="line">pdt->setStartRule( Calendar::APRIL, 1, Calendar::SUNDAY, 2*60*60*1000);</div><div class="line">pdt->setEndRule( Calendar::OCTOBER, -1, Calendar::SUNDAY, 2*60*60*1000);</div><div class="line"></div><div class="line"><span class="comment">// Format the current time.</span></div><div class="line"><a class="code" href="classicu_1_1SimpleDateFormat.html#a7374c9ff14beeca5e3e47f53e81765bd">SimpleDateFormat</a>* formatter</div><div class="line"> = <span class="keyword">new</span> <a class="code" href="classicu_1_1SimpleDateFormat.html#a7374c9ff14beeca5e3e47f53e81765bd">SimpleDateFormat</a> (<span class="stringliteral">"yyyy.MM.dd G 'at' hh:mm:ss a zzz"</span>, success );</div><div class="line">GregorianCalendar cal(success);</div><div class="line"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> currentTime_1 = cal.getTime(success);</div><div class="line">FieldPosition fp(FieldPosition::DONT_CARE);</div><div class="line">UnicodeString dateString;</div><div class="line">formatter->format( currentTime_1, dateString, fp );</div><div class="line">cout << <span class="stringliteral">"result: "</span> << dateString << endl;</div><div class="line"></div><div class="line"><span class="comment">// Parse the previous string back into a Date.</span></div><div class="line">ParsePosition pp(0);</div><div class="line"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> currentTime_2 = formatter->parse(dateString, pp );</div></div><!-- fragment --> </pre><p> In the above example, the time value "currentTime_2" obtained from parsing will be equal to currentTime_1. However, they may not be equal if the am/pm marker 'a' is left out from the format pattern while the "hour in am/pm" pattern symbol is used. This information loss can happen when formatting the time in PM.</p> <p>When parsing a date string using the abbreviated year pattern ("y" or "yy"), <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> must interpret the abbreviated year relative to some century. It does this by adjusting dates to be within 80 years before and 20 years after the time the <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> instance is created. For example, using a pattern of "MM/dd/yy" and a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> instance created on Jan 1, 1997, the string "01/11/12" would be interpreted as Jan 11, 2012 while the string "05/04/64" would be interpreted as May 4, 1964. During parsing, only strings consisting of exactly two digits, as defined by <code>Unicode::isDigit()</code>, will be parsed into the default century. Any other numeric string, such as a one digit string, a three or more digit string, or a two digit string that isn't all digits (for example, "-1"), is interpreted literally. So "01/02/3" or "01/02/003" are parsed (for the Gregorian calendar), using the same pattern, as Jan 2, 3 AD. Likewise (but only in lenient parse mode, the default) "01/02/-3" is parsed as Jan 2, 4 BC.</p> <p>If the year pattern has more than two 'y' characters, the year is interpreted literally, regardless of the number of digits. So using the pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.</p> <p>When numeric fields abut one another directly, with no intervening delimiter characters, they constitute a run of abutting numeric fields. Such runs are parsed specially. For example, the format "HHmmss" parses the input text "123456" to 12:34:56, parses the input text "12345" to 1:23:45, and fails to parse "1234". In other words, the leftmost field of the run is flexible, while the others keep a fixed width. If the parse fails anywhere in the run, then the leftmost field is shortened by one character, and the entire run is parsed again. This is repeated until either the parse succeeds or the leftmost field is one character in length. If the parse still fails at that point, the parse of the run fails.</p> <p>For time zones that have no names, <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> uses strings GMT+hours:minutes or GMT-hours:minutes. </p> <p>The calendar defines what is the first day of the week, the first week of the year, whether hours are zero based or not (0 vs 12 or 24), and the timezone. There is one common number format to handle all the numbers; the digit count is handled programmatically according to the pattern.</p> <p><em>User subclasses are not supported.</em> While clients may write subclasses, such code will not necessarily work and will not be guaranteed to work stably from release to release. </p> <p class="definition">Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00385">385</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a7374c9ff14beeca5e3e47f53e81765bd"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7374c9ff14beeca5e3e47f53e81765bd">◆ </a></span>SimpleDateFormat() <span class="overload">[1/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the default pattern for the default locale. </p> <p>[Note:] Not all locales support <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005640">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a01baf37bd42d64931f6ed2cd511eb9be"></a> <h2 class="memtitle"><span class="permalink"><a href="#a01baf37bd42d64931f6ed2cd511eb9be">◆ </a></span>SimpleDateFormat() <span class="overload">[2/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and the default locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>[Note:] Not all locales support <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005641">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a852aa7ee2b70badb99ee4810bab4da12"></a> <h2 class="memtitle"><span class="permalink"><a href="#a852aa7ee2b70badb99ee4810bab4da12">◆ </a></span>SimpleDateFormat() <span class="overload">[3/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>override</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern, numbering system override, and the default locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>A numbering system override is a string containing either the name of a known numbering system, or a set of field and numbering system pairs that specify which fields are to be formatted with the alternate numbering system. For example, to specify that all numeric fields in the specified date or time pattern are to be rendered using Thai digits, simply specify the numbering system override as "thai". To specify that just the year portion of the date be formatted using Hebrew numbering, use the override string "y=hebrew". Numbering system overrides can be combined using a semi-colon character in the override string, such as "d=decimal;M=arabic;y=hebrew", etc.</p> <p>[Note:] Not all locales support <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">override</td><td>the override string. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005642">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl> </div> </div> <a id="a7cb6b839b4d7383bfa01d6d5b1ad0474"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7cb6b839b4d7383bfa01d6d5b1ad0474">◆ </a></span>SimpleDateFormat() <span class="overload">[4/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> & </td> <td class="paramname"><em>locale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>[Note:] Not all locales support <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">locale</td><td>the given locale. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005643">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a7d0ff4be508718949b33eceac61650e3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7d0ff4be508718949b33eceac61650e3">◆ </a></span>SimpleDateFormat() <span class="overload">[5/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>override</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> & </td> <td class="paramname"><em>locale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern, numbering system override, and locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>A numbering system override is a string containing either the name of a known numbering system, or a set of field and numbering system pairs that specify which fields are to be formatted with the alternate numbering system. For example, to specify that all numeric fields in the specified date or time pattern are to be rendered using Thai digits, simply specify the numbering system override as "thai". To specify that just the year portion of the date be formatted using Hebrew numbering, use the override string "y=hebrew". Numbering system overrides can be combined using a semi-colon character in the override string, such as "d=decimal;M=arabic;y=hebrew", etc. </p> <p>[Note:] Not all locales support <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">override</td><td>the numbering system override. </td></tr> <tr><td class="paramname">locale</td><td>the given locale. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005644">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl> </div> </div> <a id="ade7a14cffdd6376ceb9a8e903d096136"></a> <h2 class="memtitle"><span class="permalink"><a href="#ade7a14cffdd6376ceb9a8e903d096136">◆ </a></span>SimpleDateFormat() <span class="overload">[6/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> * </td> <td class="paramname"><em>formatDataToAdopt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. </p> <p>The formatter takes ownership of the <a class="el" href="classicu_1_1DateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includ...">DateFormatSymbols</a> object; the caller is no longer responsible for deleting it. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the given pattern for the format. </td></tr> <tr><td class="paramname">formatDataToAdopt</td><td>the symbols to be adopted. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/faulure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005645">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a20000e7482f8410da4ca52f953f9dc7f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a20000e7482f8410da4ca52f953f9dc7f">◆ </a></span>SimpleDateFormat() <span class="overload">[7/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> & </td> <td class="paramname"><em>formatData</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. </p> <p>The <a class="el" href="classicu_1_1DateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includ...">DateFormatSymbols</a> object is NOT adopted; the caller remains responsible for deleting it. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the given pattern for the format. </td></tr> <tr><td class="paramname">formatData</td><td>the formatting symbols to be use. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/faulure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005646">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="aff903bc1836d18381705de36ef8b6d5f"></a> <h2 class="memtitle"><span class="permalink"><a href="#aff903bc1836d18381705de36ef8b6d5f">◆ </a></span>SimpleDateFormat() <span class="overload">[8/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005647">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="ae55fa60b1dbc3f4029ac77a084321cbb"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae55fa60b1dbc3f4029ac77a084321cbb">◆ </a></span>~SimpleDateFormat()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::SimpleDateFormat::~SimpleDateFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005649">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a1b4151660486c2f027f09998673f9da7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1b4151660486c2f027f09998673f9da7">◆ </a></span>adoptCalendar()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::adoptCalendar </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"><em>calendarToAdopt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the calendar to be used by this date format. </p> <p>Initially, the default calendar for the specified or default locale is used. The caller should not delete the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object after it is adopted by this call. Adopting a new calendar will change to the default symbols.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendarToAdopt</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be adopted. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005666">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#a896455044e006b47f247bc5a7a48cfb7">icu::DateFormat</a>.</p> </div> </div> <a id="ab8d1afc7ef54f40611f9a15931c629ec"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab8d1afc7ef54f40611f9a15931c629ec">◆ </a></span>adoptDateFormatSymbols()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::adoptDateFormatSymbols </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> * </td> <td class="paramname"><em>newFormatSymbols</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the date/time formatting symbols. </p> <p>The caller no longer owns the <a class="el" href="classicu_1_1DateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includ...">DateFormatSymbols</a> object and should not delete it after making this call. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFormatSymbols</td><td>the given date-time formatting symbols to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005662">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a83ae693c48418f66c9558dc458b56164"></a> <h2 class="memtitle"><span class="permalink"><a href="#a83ae693c48418f66c9558dc458b56164">◆ </a></span>adoptNumberFormat() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::adoptNumberFormat </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> * </td> <td class="paramname"><em>formatToAdopt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Overrides base class method and This method clears per field <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> instances previously set by {. </p> <dl class="section see"><dt>See also</dt><dd>adoptNumberFormat(const UnicodeString&, NumberFormat*, UErrorCode)} </dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">formatToAdopt</td><td>the NumbeferFormat used </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005668">Stable:</a></b></dt><dd>ICU 54 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#ac0f4b86c6fd6234d82c69b5d7ef28431">icu::DateFormat</a>.</p> </div> </div> <a id="a61491ce2ae680c2b2ea666e2c7dae0df"></a> <h2 class="memtitle"><span class="permalink"><a href="#a61491ce2ae680c2b2ea666e2c7dae0df">◆ </a></span>adoptNumberFormat() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::adoptNumberFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>fields</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> * </td> <td class="paramname"><em>formatToAdopt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Allow the user to set the <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> for several fields It can be a single field like: "y"(year) or "M"(month) It can be several field combined together: "yM"(year and month) Note: 1 symbol field is enough for multiple symbol field (so "y" will override "yy", "yyy") If the field is not numeric, then override has no effect (like "MMM" will use abbreviation, not numerical field) Per field <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> can also be cleared in {. </p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1DateFormat.html#aedb0bcb3a3e40b5d20e513e8f8d5dbdd" title="Allows you to set the number formatter. ">DateFormat::setNumberFormat(const NumberFormat& newNumberFormat)</a>}</dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fields</td><td>the fields to override(like y) </td></tr> <tr><td class="paramname">formatToAdopt</td><td>the NumbeferFormat used </td></tr> <tr><td class="paramname">status</td><td>Receives a status code, which will be U_ZERO_ERROR if the operation succeeds. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005669">Stable:</a></b></dt><dd>ICU 54 </dd></dl> </div> </div> <a id="a9412ef939d81e9ada0d95c2110c5d81e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9412ef939d81e9ada0d95c2110c5d81e">◆ </a></span>adoptTimeZoneFormat()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::adoptTimeZoneFormat </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> * </td> <td class="paramname"><em>timeZoneFormatToAdopt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> to be used by this date/time formatter. </p> <p>The caller should not delete the <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> object after it is adopted by this call. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">timeZoneFormatToAdopt</td><td>The <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> object to be adopted. </td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000845">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 49 technology preview </dd></dl> </div> </div> <a id="af952da3d185fe4860155bde362cced9b"></a> <h2 class="memtitle"><span class="permalink"><a href="#af952da3d185fe4860155bde362cced9b">◆ </a></span>applyLocalizedPattern()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::applyLocalizedPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given localized pattern string to this date format. </p> <p>(see <a class="el" href="classicu_1_1SimpleDateFormat.html#aeb15cd93874665fee37b00d6e89841da" title="Return a localized pattern string describing this date format. ">toLocalizedPattern()</a> for more information on localized patterns.)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The localized pattern to be applied. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005660">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a67d6bdcdc667399e9308da538fd9c928"></a> <h2 class="memtitle"><span class="permalink"><a href="#a67d6bdcdc667399e9308da538fd9c928">◆ </a></span>applyPattern()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given unlocalized pattern string to this date format. </p> <p>(i.e., after this call, this formatter will format dates according to the new pattern)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The pattern to be applied. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005659">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="ad36bbc19b7eed998d4a4205140c6843b"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad36bbc19b7eed998d4a4205140c6843b">◆ </a></span>clone()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a>* icu::SimpleDateFormat::clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Clone this <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> object polymorphically. </p> <p>The caller owns the result and should delete it when done. </p><dl class="section return"><dt>Returns</dt><dd>A copy of the object. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005650">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classicu_1_1DateFormat.html#a37191750f681c2e8d4cd5d039e522947">icu::DateFormat</a>.</p> </div> </div> <a id="a183e703ac25c3d7d9dff10022de291bd"></a> <h2 class="memtitle"><span class="permalink"><a href="#a183e703ac25c3d7d9dff10022de291bd">◆ </a></span>format() <span class="overload">[1/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats a UDate into a date/time string. </p> <p>If there is a problem, you won't know, using this method. Use the overloaded <a class="el" href="classicu_1_1SimpleDateFormat.html#a64e3cef36335a17fc51172c2951cd795" title="Format a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. ...">format()</a> method which takes a <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a>& to detect formatting problems.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>The UDate value to be formatted into a string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003939">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a1345cc05a97cb29c44401ab8c6a5f863"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1345cc05a97cb29c44401ab8c6a5f863">◆ </a></span>format() <span class="overload">[2/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats a date into a date/time string. </p> <p>Subclasses should implement this method.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">cal</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. When the calendar type is different from the internal calendar held by this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> instance, the date and the time zone will be inherited from the input calendar, but other calendar field values will be calculated by the internal calendar. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">posIter</td><td>On return, can be used to iterate over positions of fields generated by this format call. Field values are defined in UDateFormatField. Can be nullptr. </td></tr> <tr><td class="paramname">status</td><td>error status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003936">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl> </div> </div> <a id="adb4794eb82da23a3ab461ef5da3e78ba"></a> <h2 class="memtitle"><span class="permalink"><a href="#adb4794eb82da23a3ab461ef5da3e78ba">◆ </a></span>format() <span class="overload">[3/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats a UDate into a date/time string. </p> <p>On input, the <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> parameter may have its "field" member filled with an enum value specifying a field. On output, the <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> will be filled in with the text offsets for that field. </p> <p>For example, given a time text "1996.07.10 AD at 15:08:56 PDT", if the given fieldPosition.field is UDAT_YEAR_FIELD, the offsets fieldPosition.beginIndex and statfieldPositionus.getEndIndex will be set to 0 and 4, respectively. </p> <p>Notice that if the same time field appears more than once in a pattern, the status will be set for the first occurrence of that time field. For instance, formatting a UDate to the time string "1 PM PDT (Pacific Daylight Time)" using the pattern "h a z (zzzz)" and the alignment field DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and fieldPosition.getEndIndex will be set to 5 and 8, respectively, for the first occurrence of the timezone pattern character 'z'.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>UDate to be formatted into a date/time string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">fieldPosition</td><td>On input: an alignment field, if desired (see examples above) On output: the offsets of the alignment field (see examples above) </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003937">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a0b46b23e56151885b9336e922ac2232c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0b46b23e56151885b9336e922ac2232c">◆ </a></span>format() <span class="overload">[4/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats a UDate into a date/time string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>UDate to be formatted into a date/time string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">posIter</td><td>On return, can be used to iterate over positions of fields generated by this format call. Field values are defined in UDateFormatField. Can be nullptr. </td></tr> <tr><td class="paramname">status</td><td>error status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003938">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl> </div> </div> <a id="a1fba841a9a5db6f2a99da5998b542ac8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1fba841a9a5db6f2a99da5998b542ac8">◆ </a></span>format() <span class="overload">[5/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Format::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats an object to produce a string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">status</td><td>Output parameter filled in with success or failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable004352">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a967945dd6939921c80012a65b189c8ea"></a> <h2 class="memtitle"><span class="permalink"><a href="#a967945dd6939921c80012a65b189c8ea">◆ </a></span>format() <span class="overload">[6/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Format::format</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. </p> <p>This is a pure virtual method which subclasses must implement. This method allows polymorphic formatting of <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> objects. If a subclass of <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> receives a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> object type it doesn't handle (e.g., if a numeric <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> is passed to a <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> object) then it returns a failing UErrorCode.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> <tr><td class="paramname">status</td><td>Output param filled with success/failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable004353">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a564c462b7ea9dba89f0b6c49542a6779"></a> <h2 class="memtitle"><span class="permalink"><a href="#a564c462b7ea9dba89f0b6c49542a6779">◆ </a></span>format() <span class="overload">[7/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Format::format</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. </p> <p>Subclasses should override this method. This method allows polymorphic formatting of <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> objects. If a subclass of <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> receives a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> object type it doesn't handle (e.g., if a numeric <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> is passed to a <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> object) then it returns a failing UErrorCode.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">posIter</td><td>On return, can be used to iterate over positions of fields generated by this format call. </td></tr> <tr><td class="paramname">status</td><td>Output param filled with success/failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable004354">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl> </div> </div> <a id="a9b2abe46c7e6eb9ae72dd55e86489f7c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9b2abe46c7e6eb9ae72dd55e86489f7c">◆ </a></span>format() <span class="overload">[8/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. </p> <p>This method handles <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> objects with a UDate type. If a the <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> object type is not a Date, then it returns a failing UErrorCode.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. Must be a Date. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> <tr><td class="paramname">status</td><td>Output param filled with success/failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003933">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a31211b3be03d1451d162ce4a7ddbf62c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a31211b3be03d1451d162ce4a7ddbf62c">◆ </a></span>format() <span class="overload">[9/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> an object to produce a string. </p> <p>This method handles <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> objects with a UDate type. If a the <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> object type is not a Date, then it returns a failing UErrorCode.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. Must be a Date. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">posIter</td><td>On return, can be used to iterate over positions of fields generated by this format call. Field values are defined in UDateFormatField. Can be nullptr. </td></tr> <tr><td class="paramname">status</td><td>Output param filled with success/failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003934">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl> </div> </div> <a id="abf46bd057466a19c63fac79d05178da5"></a> <h2 class="memtitle"><span class="permalink"><a href="#abf46bd057466a19c63fac79d05178da5">◆ </a></span>format() <span class="overload">[10/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::DateFormat::format</td> </tr> </table> </div><div class="memdoc"> <p>Formats a date into a date/time string. </p> <p>This is an abstract method which concrete subclasses must implement. </p> <p>On input, the <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> parameter may have its "field" member filled with an enum value specifying a field. On output, the <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> will be filled in with the text offsets for that field. </p> <p>For example, given a time text "1996.07.10 AD at 15:08:56 PDT", if the given fieldPosition.field is UDAT_YEAR_FIELD, the offsets fieldPosition.beginIndex and statfieldPositionus.getEndIndex will be set to 0 and 4, respectively. </p> <p>Notice that if the same time field appears more than once in a pattern, the status will be set for the first occurrence of that time field. For instance, formatting a UDate to the time string "1 PM PDT (Pacific Daylight Time)" using the pattern "h a z (zzzz)" and the alignment field DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and fieldPosition.getEndIndex will be set to 5 and 8, respectively, for the first occurrence of the timezone pattern character 'z'.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">cal</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. When the calendar type is different from the internal calendar held by this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> instance, the date and the time zone will be inherited from the input calendar, but other calendar field values will be calculated by the internal calendar. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">fieldPosition</td><td>On input: an alignment field, if desired (see examples above) On output: the offsets of the alignment field (see examples above) </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003935">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> </div> </div> <a id="a64e3cef36335a17fc51172c2951cd795"></a> <h2 class="memtitle"><span class="permalink"><a href="#a64e3cef36335a17fc51172c2951cd795">◆ </a></span>format() <span class="overload">[11/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::SimpleDateFormat::format </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> & </td> <td class="paramname"><em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>appendTo</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. </p> <p>Overrides <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> pure virtual method. </p> <p>Example: using the US locale: "yyyy.MM.dd e 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">cal</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>The formatting position. On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005652">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Implements <a class="el" href="classicu_1_1DateFormat.html#ad8f1b8a5034399f8e9ab065a2f627f44">icu::DateFormat</a>.</p> </div> </div> <a id="aa16528340af9d55c52f0707e7902b4cf"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa16528340af9d55c52f0707e7902b4cf">◆ </a></span>format() <span class="overload">[12/12]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::SimpleDateFormat::format </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> & </td> <td class="paramname"><em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>appendTo</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> * </td> <td class="paramname"><em>posIter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. </p> <p>Overrides <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> pure virtual method. </p> <p>Example: using the US locale: "yyyy.MM.dd e 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">cal</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">posIter</td><td>On return, can be used to iterate over positions of fields generated by this format call. Field values are defined in UDateFormatField. </td></tr> <tr><td class="paramname">status</td><td>Input/output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005653">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#a1345cc05a97cb29c44401ab8c6a5f863">icu::DateFormat</a>.</p> </div> </div> <a id="a2a836c92242ff768000efb3b843dc3ba"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2a836c92242ff768000efb3b843dc3ba">◆ </a></span>get2DigitYearStart()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::SimpleDateFormat::get2DigitYearStart </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the start UDate used to interpret two-digit year strings. </p> <p>When dates are parsed having 2-digit year strings, they are placed within a assumed range of 100 years starting on the two digit start date. For example, the string "24-Jan-17" may be in the year 1817, 1917, 2017, or some other year. <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> chooses a year so that the resultant date is on or after the two digit start date and within 100 years of the two digit start date. </p> <p>By default, the two digit start date is set to 80 years before the current time at which a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> object is created. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Filled in with U_ZERO_ERROR if the parse was successful, and with an error value if there was a parse error. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005656">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p class="definition">Definition at line <a class="el" href="smpdtfmt_8h_source.html#l01313">1313</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> </div> </div> <a id="ae6641537b8130de0addb7ae61b7c3ac0"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae6641537b8130de0addb7ae61b7c3ac0">◆ </a></span>getDateFormatSymbols()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a>* icu::SimpleDateFormat::getDateFormatSymbols </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the date/time formatting symbols (this is an object carrying the various strings and other symbols used in formatting: e.g., month names and abbreviations, time zone names, AM/PM strings, etc.) </p> <dl class="section return"><dt>Returns</dt><dd>a copy of the date-time formatting data associated with this date-time formatter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005661">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a901d2e2e1ce3c63446c1728b05aa6ffc"></a> <h2 class="memtitle"><span class="permalink"><a href="#a901d2e2e1ce3c63446c1728b05aa6ffc">◆ </a></span>getDynamicClassID()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::SimpleDateFormat::getDynamicClassID </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a unique class ID POLYMORPHICALLY. </p> <p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classicu_1_1SimpleDateFormat.html#a2f6eff21c86fcbd4f5b17a8cc6f159e5" title="Return true if the given Format objects are semantically equal. ">operator==()</a> and <a class="el" href="classicu_1_1SimpleDateFormat.html#ad36bbc19b7eed998d4a4205140c6843b" title="Clone this Format object polymorphically. ">clone()</a> methods call this method.</p> <dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005665">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#aca1169c4978c52ce2b76eda104e9a214">icu::UObject</a>.</p> </div> </div> <a id="ae5041e8c56fa49ba10345ccdb52145c4"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae5041e8c56fa49ba10345ccdb52145c4">◆ </a></span>getNumberFormatForField()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a>* icu::SimpleDateFormat::getNumberFormatForField </td> <td>(</td> <td class="paramtype">char16_t </td> <td class="paramname"><em>field</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the numbering system to be used for a particular field. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">field</td><td>The UDateFormatField to get </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005670">Stable:</a></b></dt><dd>ICU 54 </dd></dl> </div> </div> <a id="a6fe5bbb80c192af30ec020084b194f08"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6fe5bbb80c192af30ec020084b194f08">◆ </a></span>getSmpFmtLocale()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1Locale.html">Locale</a>& icu::SimpleDateFormat::getSmpFmtLocale </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Get the locale of this simple date formatter. It is used in <a class="el" href="classicu_1_1DateIntervalFormat.html" title="DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent man...">DateIntervalFormat</a>.</p> <dl class="section return"><dt>Returns</dt><dd>locale in this simple date formatter </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000850">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a id="aefdd04cb691333df9c658eece3374172"></a> <h2 class="memtitle"><span class="permalink"><a href="#aefdd04cb691333df9c658eece3374172">◆ </a></span>getStaticClassID()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::SimpleDateFormat::getStaticClassID </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classicu_1_1SimpleDateFormat.html#a901d2e2e1ce3c63446c1728b05aa6ffc" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p><pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classicu_1_1SimpleDateFormat.html#a901d2e2e1ce3c63446c1728b05aa6ffc" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> == . erived::getStaticClassID()) ... </pre> <dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005664">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a1e91da14b02a0fcbc77fdc2d105a71d9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1e91da14b02a0fcbc77fdc2d105a71d9">◆ </a></span>getTimeZoneFormat()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a>* icu::SimpleDateFormat::getTimeZoneFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the time zone format object associated with this date/time formatter. </p> <dl class="section return"><dt>Returns</dt><dd>the time zone format associated with this date/time formatter. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000847">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 49 technology preview </dd></dl> </div> </div> <a id="a7a680b3f975c8292920e1b7259d21c46"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7a680b3f975c8292920e1b7259d21c46">◆ </a></span>isFieldUnitIgnored() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::SimpleDateFormat::isFieldUnitIgnored </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </td> <td class="paramname"><em>field</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Check whether the 'field' is smaller than all the fields covered in pattern, return true if it is. The sequence of calendar field, from large to small is: ERA, YEAR, MONTH, DATE, AM_PM, HOUR, MINUTE,... </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">field</td><td>the calendar field need to check against </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the 'field' is smaller than all the fields covered in pattern. false otherwise. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000848">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a id="a1a23220f26f5e4cebdeaee80593dbea1"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1a23220f26f5e4cebdeaee80593dbea1">◆ </a></span>isFieldUnitIgnored() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::SimpleDateFormat::isFieldUnitIgnored </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </td> <td class="paramname"><em>field</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Check whether the 'field' is smaller than all the fields covered in pattern, return true if it is. The sequence of calendar field, from large to small is: ERA, YEAR, MONTH, DATE, AM_PM, HOUR, MINUTE,... </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern to check against </td></tr> <tr><td class="paramname">field</td><td>the calendar field need to check against </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the 'field' is smaller than all the fields covered in pattern. false otherwise. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000849">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a id="aab8c84f7f6cd20cbe71e842fb1beadd0"></a> <h2 class="memtitle"><span class="permalink"><a href="#aab8c84f7f6cd20cbe71e842fb1beadd0">◆ </a></span>operator=()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a>& icu::SimpleDateFormat::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005648">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a2f6eff21c86fcbd4f5b17a8cc6f159e5"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2f6eff21c86fcbd4f5b17a8cc6f159e5">◆ </a></span>operator==()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> bool icu::SimpleDateFormat::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1Format.html">Format</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return true if the given <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </p> <p>Objects of different subclasses are considered unequal. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">other</td><td>the object to be compared with. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the given <a class="el" href="classicu_1_1Format.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005651">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#aba86c2145f58e0ab4912576d7f3c6396">icu::DateFormat</a>.</p> </div> </div> <a id="afeec77995fc220b5e61fd60b60144cee"></a> <h2 class="memtitle"><span class="permalink"><a href="#afeec77995fc220b5e61fd60b60144cee">◆ </a></span>parse() <span class="overload">[1/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::DateFormat::parse</td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string beginning at the given parse position. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date that is equivalent to Date(837039928046). </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false). </p><dl class="section see"><dt>See also</dt><dd>DateFormat::setLenient(boolean)</dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed. </td></tr> <tr><td class="paramname">cal</td><td>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set on input to the date and time to be used for missing values in the date/time string being parsed, and set on output to the parsed date/time. When the calendar type is different from the internal calendar held by this <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> instance, the internal calendar will be cloned to a work calendar set to the same milliseconds and time zone as the cal parameter, field values will be parsed based on the work calendar, then the result (milliseconds and time zone) will be set in this calendar. </td></tr> <tr><td class="paramname">pos</td><td>On input, the position at which to start parsing; on output, the position at which parsing terminated, or the start position if the parse failed. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003941">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> </div> </div> <a id="ac87ec1be5140559cb84718bad8ffb9bc"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac87ec1be5140559cb84718bad8ffb9bc">◆ </a></span>parse() <span class="overload">[2/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::DateFormat::parse</td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string beginning at the given parse position. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date that is equivalent to Date(837039928046). </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false). </p><dl class="section see"><dt>See also</dt><dd>DateFormat::setLenient(boolean) </dd></dl> <p>Note that the normal date formats associated with some calendars - such as the Chinese lunar calendar - do not specify enough fields to enable dates to be parsed unambiguously. In the case of the Chinese lunar calendar, while the year within the current 60-year cycle is specified, the number of such cycles since the start date of the calendar (in the ERA field of the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object) is not normally part of the format, and parsing may assume the wrong era. For cases such as this it is recommended that clients parse using the method parse(const UnicodeString&, Calendar& cal, ParsePosition&) with the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> passed in set to the current date, or to a date within the era/cycle that should be assumed if absent in the format.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed into a UDate value. </td></tr> <tr><td class="paramname">pos</td><td>On input, the position at which to start parsing; on output, the position at which parsing terminated, or the start position if the parse failed. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A valid UDate if the input could be parsed. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003942">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a107ed9dfe1023156c53235db41056a78"></a> <h2 class="memtitle"><span class="permalink"><a href="#a107ed9dfe1023156c53235db41056a78">◆ </a></span>parse() <span class="overload">[3/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::DateFormat::parse</td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a UDate that is equivalent to Date(837039928046). Parsing begins at the beginning of the string and proceeds as far as possible. Assuming no parse errors were encountered, this function doesn't return any information about how much of the string was consumed by the parsing. If you need that information, use the version of <a class="el" href="classicu_1_1SimpleDateFormat.html#aa73be67e1c52bfffd86ee30f96970441" title="Parse a date/time string beginning at the given parse position. ">parse()</a> that takes a <a class="el" href="classicu_1_1ParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>. </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false). </p><dl class="section see"><dt>See also</dt><dd>DateFormat::setLenient(boolean) </dd></dl> <p>Note that the normal date formats associated with some calendars - such as the Chinese lunar calendar - do not specify enough fields to enable dates to be parsed unambiguously. In the case of the Chinese lunar calendar, while the year within the current 60-year cycle is specified, the number of such cycles since the start date of the calendar (in the ERA field of the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object) is not normally part of the format, and parsing may assume the wrong era. For cases such as this it is recommended that clients parse using the method parse(const UnicodeString&, Calendar& cal, ParsePosition&) with the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> passed in set to the current date, or to a date within the era/cycle that should be assumed if absent in the format.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed into a UDate value. </td></tr> <tr><td class="paramname">status</td><td>Output param to be set to success/failure code. If 'text' cannot be parsed, it will be set to a failure code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The parsed UDate value, if successful. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003940">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="aa73be67e1c52bfffd86ee30f96970441"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa73be67e1c52bfffd86ee30f96970441">◆ </a></span>parse() <span class="overload">[4/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> & </td> <td class="paramname"><em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string beginning at the given parse position. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date that is equivalent to Date(837039928046). </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false). </p><dl class="section see"><dt>See also</dt><dd>DateFormat::setLenient(boolean)</dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed </td></tr> <tr><td class="paramname">cal</td><td>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set on input to the date and time to be used for missing values in the date/time string being parsed, and set on output to the parsed date/time. When the calendar type is different from the internal calendar held by this <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> instance, the internal calendar will be cloned to a work calendar set to the same milliseconds and time zone as the cal parameter, field values will be parsed based on the work calendar, then the result (milliseconds and time zone) will be set in this calendar. </td></tr> <tr><td class="paramname">pos</td><td>On input, the position at which to start parsing; on output, the position at which parsing terminated, or the start position if the parse failed. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005654">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Implements <a class="el" href="classicu_1_1DateFormat.html#a9374058a4b5eaf43f99a61be48ce55c8">icu::DateFormat</a>.</p> </div> </div> <a id="a50c61df722372a5730488b31e28eb0f1"></a> <h2 class="memtitle"><span class="permalink"><a href="#a50c61df722372a5730488b31e28eb0f1">◆ </a></span>set2DigitYearStart()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::set2DigitYearStart </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>d</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the start UDate used to interpret two-digit year strings. </p> <p>When dates are parsed having 2-digit year strings, they are placed within a assumed range of 100 years starting on the two digit start date. For example, the string "24-Jan-17" may be in the year 1817, 1917, 2017, or some other year. <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> chooses a year so that the resultant date is on or after the two digit start date and within 100 years of the two digit start date. </p> <p>By default, the two digit start date is set to 80 years before the current time at which a <a class="el" href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> object is created. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">d</td><td>start UDate used to interpret two-digit year strings. </td></tr> <tr><td class="paramname">status</td><td>Filled in with U_ZERO_ERROR if the parse was successful, and with an error value if there was a parse error. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005655">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a41dbb0c0349149d165b4ff8ca00fdcec"></a> <h2 class="memtitle"><span class="permalink"><a href="#a41dbb0c0349149d165b4ff8ca00fdcec">◆ </a></span>setContext()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::setContext </td> <td>(</td> <td class="paramtype"><a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a> </td> <td class="paramname"><em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set a particular UDisplayContext value in the formatter, such as UDISPCTX_CAPITALIZATION_FOR_STANDALONE. </p> <p>Note: For getContext, see <a class="el" href="classicu_1_1DateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a>. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">value</td><td>The UDisplayContext value to set. </td></tr> <tr><td class="paramname">status</td><td>Input/output status. If at entry this indicates a failure status, the function will do nothing; otherwise this will be updated with any new status from the function. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005667">Stable:</a></b></dt><dd>ICU 53 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#af9f7d33bc21c089478ee32419953e72c">icu::DateFormat</a>.</p> </div> </div> <a id="a204f835138ddfaa780f9e7e3f5d2287e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a204f835138ddfaa780f9e7e3f5d2287e">◆ </a></span>setDateFormatSymbols()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::setDateFormatSymbols </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> & </td> <td class="paramname"><em>newFormatSymbols</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the date/time formatting data. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFormatSymbols</td><td>the given date-time formatting symbols to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005663">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a47c89287563eef457509786f3c3fa8c8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a47c89287563eef457509786f3c3fa8c8">◆ </a></span>setTimeZoneFormat()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> void icu::SimpleDateFormat::setTimeZoneFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> & </td> <td class="paramname"><em>newTimeZoneFormat</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> to be used by this date/time formatter. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newTimeZoneFormat</td><td>The <a class="el" href="classicu_1_1TimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing. ">TimeZoneFormat</a> object to copy. </td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000846">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 49 technology preview </dd></dl> </div> </div> <a id="aeb15cd93874665fee37b00d6e89841da"></a> <h2 class="memtitle"><span class="permalink"><a href="#aeb15cd93874665fee37b00d6e89841da">◆ </a></span>toLocalizedPattern()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::SimpleDateFormat::toLocalizedPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return a localized pattern string describing this date format. </p> <p>In most cases, this will return the same thing as <a class="el" href="classicu_1_1SimpleDateFormat.html#a324c9192764ecb6105d86f736da0b898" title="Return a pattern string describing this date format. ">toPattern()</a>, but a locale can specify characters to use in pattern descriptions in place of the ones described in this class's class documentation. (Presumably, letters that would be more mnemonic in that locale's language.) This function would produce a pattern using those letters. </p> <p><b>Note:</b> This implementation depends on <a class="el" href="classicu_1_1DateFormatSymbols.html#ae63b97c4e414f5eb3f12e4220d06ec8d" title="Gets localized date-time pattern characters. ">DateFormatSymbols::getLocalPatternChars()</a> to get localized format pattern characters. ICU does not include localized pattern character data, therefore, unless user sets localized pattern characters manually, this method returns the same result as <a class="el" href="classicu_1_1SimpleDateFormat.html#a324c9192764ecb6105d86f736da0b898" title="Return a pattern string describing this date format. ">toPattern()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Receives the localized pattern. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005658">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a id="a324c9192764ecb6105d86f736da0b898"></a> <h2 class="memtitle"><span class="permalink"><a href="#a324c9192764ecb6105d86f736da0b898">◆ </a></span>toPattern()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::SimpleDateFormat::toPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return a pattern string describing this date format. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param to receive the pattern. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005657">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>i18n/unicode/<a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a></li> </ul> </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.14 </small></address> </body> </html>
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка