LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /opt/alt/alt-nodejs24/root/usr/share/doc/alt-nodejs24-libicu-doc/
File Upload :
Command :
Current File : //opt/alt/alt-nodejs24/root/usr/share/doc/alt-nodejs24-libicu-doc/classSimpleDateFormat.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: 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 77.1
   &#160;<span id="projectnumber">77.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @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&amp;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> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<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 &lt;<a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>&gt;</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 &quot;boilerplate&quot; 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:abac138102ec26c6d80043111c2d20817"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#abac138102ec26c6d80043111c2d20817">SimpleDateFormat</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:abac138102ec26c6d80043111c2d20817"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#abac138102ec26c6d80043111c2d20817">More...</a><br /></td></tr>
<tr class="separator:abac138102ec26c6d80043111c2d20817"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c6fb4cda13384e3536360d7aff75428"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a4c6fb4cda13384e3536360d7aff75428">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4c6fb4cda13384e3536360d7aff75428"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a4c6fb4cda13384e3536360d7aff75428">More...</a><br /></td></tr>
<tr class="separator:a4c6fb4cda13384e3536360d7aff75428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a338722b13984ce66d7ec4cce7f2480ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a338722b13984ce66d7ec4cce7f2480ac">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;override, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a338722b13984ce66d7ec4cce7f2480ac"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a338722b13984ce66d7ec4cce7f2480ac">More...</a><br /></td></tr>
<tr class="separator:a338722b13984ce66d7ec4cce7f2480ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea33520a89bb548165f7f3a3552d3617"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aea33520a89bb548165f7f3a3552d3617">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aea33520a89bb548165f7f3a3552d3617"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#aea33520a89bb548165f7f3a3552d3617">More...</a><br /></td></tr>
<tr class="separator:aea33520a89bb548165f7f3a3552d3617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf45ef405007b0abdd9f840bf2a9473d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#adf45ef405007b0abdd9f840bf2a9473d">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;override, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:adf45ef405007b0abdd9f840bf2a9473d"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#adf45ef405007b0abdd9f840bf2a9473d">More...</a><br /></td></tr>
<tr class="separator:adf45ef405007b0abdd9f840bf2a9473d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431d86e0200818d8b6243ab11a76f84c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a431d86e0200818d8b6243ab11a76f84c">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *formatDataToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a431d86e0200818d8b6243ab11a76f84c"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a431d86e0200818d8b6243ab11a76f84c">More...</a><br /></td></tr>
<tr class="separator:a431d86e0200818d8b6243ab11a76f84c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83a094d8a8b900c56378e25e1bb6a126"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a83a094d8a8b900c56378e25e1bb6a126">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> &amp;formatData, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a83a094d8a8b900c56378e25e1bb6a126"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a83a094d8a8b900c56378e25e1bb6a126">More...</a><br /></td></tr>
<tr class="separator:a83a094d8a8b900c56378e25e1bb6a126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d726e531132979f4f65f7b1df11bfcb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a3d726e531132979f4f65f7b1df11bfcb">SimpleDateFormat</a> (const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &amp;)</td></tr>
<tr class="memdesc:a3d726e531132979f4f65f7b1df11bfcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classicu_1_1SimpleDateFormat.html#a3d726e531132979f4f65f7b1df11bfcb">More...</a><br /></td></tr>
<tr class="separator:a3d726e531132979f4f65f7b1df11bfcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d89c9dace9a975079e0b5ecf58ca244"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a9d89c9dace9a975079e0b5ecf58ca244">operator=</a> (const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &amp;)</td></tr>
<tr class="memdesc:a9d89c9dace9a975079e0b5ecf58ca244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="classicu_1_1SimpleDateFormat.html#a9d89c9dace9a975079e0b5ecf58ca244">More...</a><br /></td></tr>
<tr class="separator:a9d89c9dace9a975079e0b5ecf58ca244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9ba3936fa488c69cb1ba3944c5eb474"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ad9ba3936fa488c69cb1ba3944c5eb474">~SimpleDateFormat</a> ()</td></tr>
<tr class="memdesc:ad9ba3936fa488c69cb1ba3944c5eb474"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classicu_1_1SimpleDateFormat.html#ad9ba3936fa488c69cb1ba3944c5eb474">More...</a><br /></td></tr>
<tr class="separator:ad9ba3936fa488c69cb1ba3944c5eb474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4b5da3603e5e8bcc05ab5fdc37fda0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aff4b5da3603e5e8bcc05ab5fdc37fda0">clone</a> () const override</td></tr>
<tr class="memdesc:aff4b5da3603e5e8bcc05ab5fdc37fda0"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#aff4b5da3603e5e8bcc05ab5fdc37fda0">More...</a><br /></td></tr>
<tr class="separator:aff4b5da3603e5e8bcc05ab5fdc37fda0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a116a55ec9e821800495020e33703c2a8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a116a55ec9e821800495020e33703c2a8">operator==</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;other) const override</td></tr>
<tr class="memdesc:a116a55ec9e821800495020e33703c2a8"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a116a55ec9e821800495020e33703c2a8">More...</a><br /></td></tr>
<tr class="separator:a116a55ec9e821800495020e33703c2a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e9d340549bbcc46fe2a568605fd374"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a00e9d340549bbcc46fe2a568605fd374">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;pos) const override</td></tr>
<tr class="memdesc:a00e9d340549bbcc46fe2a568605fd374"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a00e9d340549bbcc46fe2a568605fd374">More...</a><br /></td></tr>
<tr class="separator:a00e9d340549bbcc46fe2a568605fd374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acad6782112de6b6918be98b4fc4f6d01"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#acad6782112de6b6918be98b4fc4f6d01">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:acad6782112de6b6918be98b4fc4f6d01"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#acad6782112de6b6918be98b4fc4f6d01">More...</a><br /></td></tr>
<tr class="separator:acad6782112de6b6918be98b4fc4f6d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128664f3ee0336ff02f928abd0ddba39"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a128664f3ee0336ff02f928abd0ddba39">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;pos) const override</td></tr>
<tr class="memdesc:a128664f3ee0336ff02f928abd0ddba39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="classicu_1_1SimpleDateFormat.html#a128664f3ee0336ff02f928abd0ddba39">More...</a><br /></td></tr>
<tr class="separator:a128664f3ee0336ff02f928abd0ddba39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2eb855b855a2aa72ed527a287916902"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ad2eb855b855a2aa72ed527a287916902">set2DigitYearStart</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad2eb855b855a2aa72ed527a287916902"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the start UDate used to interpret two-digit year strings.  <a href="classicu_1_1SimpleDateFormat.html#ad2eb855b855a2aa72ed527a287916902">More...</a><br /></td></tr>
<tr class="separator:ad2eb855b855a2aa72ed527a287916902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a836c92242ff768000efb3b843dc3ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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> &amp;status) const</td></tr>
<tr class="memdesc:a2a836c92242ff768000efb3b843dc3ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the start UDate used to interpret two-digit year strings.  <a href="classicu_1_1SimpleDateFormat.html#a2a836c92242ff768000efb3b843dc3ba">More...</a><br /></td></tr>
<tr class="separator:a2a836c92242ff768000efb3b843dc3ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560cf35dfcc0a6d8af973e7061211bf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a4560cf35dfcc0a6d8af973e7061211bf">toPattern</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>
<tr class="memdesc:a4560cf35dfcc0a6d8af973e7061211bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pattern string describing this date format.  <a href="classicu_1_1SimpleDateFormat.html#a4560cf35dfcc0a6d8af973e7061211bf">More...</a><br /></td></tr>
<tr class="separator:a4560cf35dfcc0a6d8af973e7061211bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50aea0acf257d36dc96bf01828272088"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a50aea0acf257d36dc96bf01828272088">toLocalizedPattern</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a50aea0acf257d36dc96bf01828272088"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a localized pattern string describing this date format.  <a href="classicu_1_1SimpleDateFormat.html#a50aea0acf257d36dc96bf01828272088">More...</a><br /></td></tr>
<tr class="separator:a50aea0acf257d36dc96bf01828272088"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ca36413f304aab5dab465af7f396cef"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a3ca36413f304aab5dab465af7f396cef">applyPattern</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern)</td></tr>
<tr class="memdesc:a3ca36413f304aab5dab465af7f396cef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply the given unlocalized pattern string to this date format.  <a href="classicu_1_1SimpleDateFormat.html#a3ca36413f304aab5dab465af7f396cef">More...</a><br /></td></tr>
<tr class="separator:a3ca36413f304aab5dab465af7f396cef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9119de6f712398af99258078aff2ba1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#af9119de6f712398af99258078aff2ba1">applyLocalizedPattern</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af9119de6f712398af99258078aff2ba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply the given localized pattern string to this date format.  <a href="classicu_1_1SimpleDateFormat.html#af9119de6f712398af99258078aff2ba1">More...</a><br /></td></tr>
<tr class="separator:af9119de6f712398af99258078aff2ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd00404d7337082533fcd6c3d18d77b1"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#afd00404d7337082533fcd6c3d18d77b1">getDateFormatSymbols</a> () const</td></tr>
<tr class="memdesc:afd00404d7337082533fcd6c3d18d77b1"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#afd00404d7337082533fcd6c3d18d77b1">More...</a><br /></td></tr>
<tr class="separator:afd00404d7337082533fcd6c3d18d77b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fbc936e6e9ba6834c9a4b26a2a4af60"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a3fbc936e6e9ba6834c9a4b26a2a4af60">adoptDateFormatSymbols</a> (<a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *newFormatSymbols)</td></tr>
<tr class="memdesc:a3fbc936e6e9ba6834c9a4b26a2a4af60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the date/time formatting symbols.  <a href="classicu_1_1SimpleDateFormat.html#a3fbc936e6e9ba6834c9a4b26a2a4af60">More...</a><br /></td></tr>
<tr class="separator:a3fbc936e6e9ba6834c9a4b26a2a4af60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a449ebfea40ef3bc01a726d40d7b77444"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a449ebfea40ef3bc01a726d40d7b77444">setDateFormatSymbols</a> (const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> &amp;newFormatSymbols)</td></tr>
<tr class="memdesc:a449ebfea40ef3bc01a726d40d7b77444"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the date/time formatting data.  <a href="classicu_1_1SimpleDateFormat.html#a449ebfea40ef3bc01a726d40d7b77444">More...</a><br /></td></tr>
<tr class="separator:a449ebfea40ef3bc01a726d40d7b77444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e90b76050e1b10c02709f1f6495574f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a4e90b76050e1b10c02709f1f6495574f">getDynamicClassID</a> () const override</td></tr>
<tr class="memdesc:a4e90b76050e1b10c02709f1f6495574f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="classicu_1_1SimpleDateFormat.html#a4e90b76050e1b10c02709f1f6495574f">More...</a><br /></td></tr>
<tr class="separator:a4e90b76050e1b10c02709f1f6495574f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa516e475dd1bd93dafb165ca51ecc7ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aa516e475dd1bd93dafb165ca51ecc7ea">adoptCalendar</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> *calendarToAdopt) override</td></tr>
<tr class="memdesc:aa516e475dd1bd93dafb165ca51ecc7ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="classicu_1_1SimpleDateFormat.html#aa516e475dd1bd93dafb165ca51ecc7ea">More...</a><br /></td></tr>
<tr class="separator:aa516e475dd1bd93dafb165ca51ecc7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefb500fe70e83b09b312ce1e893129b4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aefb500fe70e83b09b312ce1e893129b4">adoptTimeZoneFormat</a> (<a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> *timeZoneFormatToAdopt)</td></tr>
<tr class="memdesc:aefb500fe70e83b09b312ce1e893129b4"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#aefb500fe70e83b09b312ce1e893129b4">More...</a><br /></td></tr>
<tr class="separator:aefb500fe70e83b09b312ce1e893129b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4dc5028f3977f3ba8ca4332a2b1a4e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a9a4dc5028f3977f3ba8ca4332a2b1a4e">setTimeZoneFormat</a> (const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> &amp;newTimeZoneFormat)</td></tr>
<tr class="memdesc:a9a4dc5028f3977f3ba8ca4332a2b1a4e"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a9a4dc5028f3977f3ba8ca4332a2b1a4e">More...</a><br /></td></tr>
<tr class="separator:a9a4dc5028f3977f3ba8ca4332a2b1a4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e33680fea34d38ee093cdf906bb3566"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a1e33680fea34d38ee093cdf906bb3566">getTimeZoneFormat</a> () const</td></tr>
<tr class="memdesc:a1e33680fea34d38ee093cdf906bb3566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the time zone format object associated with this date/time formatter.  <a href="classicu_1_1SimpleDateFormat.html#a1e33680fea34d38ee093cdf906bb3566">More...</a><br /></td></tr>
<tr class="separator:a1e33680fea34d38ee093cdf906bb3566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5789d365715c59e7d1d06a7b563de6d9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a5789d365715c59e7d1d06a7b563de6d9">setContext</a> (<a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a> value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) override</td></tr>
<tr class="memdesc:a5789d365715c59e7d1d06a7b563de6d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a particular UDisplayContext value in the formatter, such as UDISPCTX_CAPITALIZATION_FOR_STANDALONE.  <a href="classicu_1_1SimpleDateFormat.html#a5789d365715c59e7d1d06a7b563de6d9">More...</a><br /></td></tr>
<tr class="separator:a5789d365715c59e7d1d06a7b563de6d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aa9212004cc17d5ee28ff916d0a3e73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a6aa9212004cc17d5ee28ff916d0a3e73">adoptNumberFormat</a> (<a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *formatToAdopt) override</td></tr>
<tr class="memdesc:a6aa9212004cc17d5ee28ff916d0a3e73"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#a6aa9212004cc17d5ee28ff916d0a3e73">More...</a><br /></td></tr>
<tr class="separator:a6aa9212004cc17d5ee28ff916d0a3e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade14aa7a5dca5ebce627c2f10ad8c397"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ade14aa7a5dca5ebce627c2f10ad8c397">adoptNumberFormat</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;fields, <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *formatToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ade14aa7a5dca5ebce627c2f10ad8c397"><td class="mdescLeft">&#160;</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="classicu_1_1SimpleDateFormat.html#ade14aa7a5dca5ebce627c2f10ad8c397">More...</a><br /></td></tr>
<tr class="separator:ade14aa7a5dca5ebce627c2f10ad8c397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52b45f1ac03c9eead7ba6153d5c7fc61"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a52b45f1ac03c9eead7ba6153d5c7fc61">getNumberFormatForField</a> (char16_t field) const</td></tr>
<tr class="memdesc:a52b45f1ac03c9eead7ba6153d5c7fc61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the numbering system to be used for a particular field.  <a href="classicu_1_1SimpleDateFormat.html#a52b45f1ac03c9eead7ba6153d5c7fc61">More...</a><br /></td></tr>
<tr class="separator:a52b45f1ac03c9eead7ba6153d5c7fc61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddbbe72779002eb0e7a0c5333df3744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a7ddbbe72779002eb0e7a0c5333df3744">isFieldUnitIgnored</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>
<tr class="memdesc:a7ddbbe72779002eb0e7a0c5333df3744"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is for ICU internal use only.  <a href="classicu_1_1SimpleDateFormat.html#a7ddbbe72779002eb0e7a0c5333df3744">More...</a><br /></td></tr>
<tr class="separator:a7ddbbe72779002eb0e7a0c5333df3744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1e6ddb37921ff9e7ed61e6ac28d6189"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#af1e6ddb37921ff9e7ed61e6ac28d6189">getSmpFmtLocale</a> () const</td></tr>
<tr class="memdesc:af1e6ddb37921ff9e7ed61e6ac28d6189"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is for ICU internal use only.  <a href="classicu_1_1SimpleDateFormat.html#af1e6ddb37921ff9e7ed61e6ac28d6189">More...</a><br /></td></tr>
<tr class="separator:af1e6ddb37921ff9e7ed61e6ac28d6189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91c4a33a423eb451705e9f7d38374a0f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a91c4a33a423eb451705e9f7d38374a0f">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a91c4a33a423eb451705e9f7d38374a0f"><td class="mdescLeft">&#160;</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_1SimpleDateFormat.html#a91c4a33a423eb451705e9f7d38374a0f">More...</a><br /></td></tr>
<tr class="separator:a91c4a33a423eb451705e9f7d38374a0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb58440c6556009e67a51356d0f67252"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#acb58440c6556009e67a51356d0f67252">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:acb58440c6556009e67a51356d0f67252"><td class="mdescLeft">&#160;</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_1SimpleDateFormat.html#acb58440c6556009e67a51356d0f67252">More...</a><br /></td></tr>
<tr class="separator:acb58440c6556009e67a51356d0f67252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3b8cbf7a63987fe65bb24c74e34d07f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ab3b8cbf7a63987fe65bb24c74e34d07f">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;fieldPosition) const=0</td></tr>
<tr class="memdesc:ab3b8cbf7a63987fe65bb24c74e34d07f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#ab3b8cbf7a63987fe65bb24c74e34d07f">More...</a><br /></td></tr>
<tr class="separator:ab3b8cbf7a63987fe65bb24c74e34d07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8209455a5f5ae0b7971485710cecd5e1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a8209455a5f5ae0b7971485710cecd5e1">format</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a8209455a5f5ae0b7971485710cecd5e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#a8209455a5f5ae0b7971485710cecd5e1">More...</a><br /></td></tr>
<tr class="separator:a8209455a5f5ae0b7971485710cecd5e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e2e9020e3fa83d0096ff13197a3153"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a68e2e9020e3fa83d0096ff13197a3153">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;fieldPosition) const</td></tr>
<tr class="memdesc:a68e2e9020e3fa83d0096ff13197a3153"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#a68e2e9020e3fa83d0096ff13197a3153">More...</a><br /></td></tr>
<tr class="separator:a68e2e9020e3fa83d0096ff13197a3153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4cedcaa4d77be3b3f3eeecdea2909a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aa4cedcaa4d77be3b3f3eeecdea2909a2">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aa4cedcaa4d77be3b3f3eeecdea2909a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#aa4cedcaa4d77be3b3f3eeecdea2909a2">More...</a><br /></td></tr>
<tr class="separator:aa4cedcaa4d77be3b3f3eeecdea2909a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5940ccf5676d3fa043d8255c55b7ddd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a5940ccf5676d3fa043d8255c55b7ddd1">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo) const</td></tr>
<tr class="memdesc:a5940ccf5676d3fa043d8255c55b7ddd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#a5940ccf5676d3fa043d8255c55b7ddd1">More...</a><br /></td></tr>
<tr class="separator:a5940ccf5676d3fa043d8255c55b7ddd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affaf0088c4eb9976223a327bdc4f1dd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#affaf0088c4eb9976223a327bdc4f1dd0">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:affaf0088c4eb9976223a327bdc4f1dd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an object to produce a string.  <a href="classicu_1_1SimpleDateFormat.html#affaf0088c4eb9976223a327bdc4f1dd0">More...</a><br /></td></tr>
<tr class="separator:affaf0088c4eb9976223a327bdc4f1dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68fb0a8875645f7ab11bb5230c03c212"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a68fb0a8875645f7ab11bb5230c03c212">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:a68fb0a8875645f7ab11bb5230c03c212"><td class="mdescLeft">&#160;</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_1SimpleDateFormat.html#a68fb0a8875645f7ab11bb5230c03c212">More...</a><br /></td></tr>
<tr class="separator:a68fb0a8875645f7ab11bb5230c03c212"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b5fe6a90f69376fe95caf2123239ccb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a6b5fe6a90f69376fe95caf2123239ccb">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a6b5fe6a90f69376fe95caf2123239ccb"><td class="mdescLeft">&#160;</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_1SimpleDateFormat.html#a6b5fe6a90f69376fe95caf2123239ccb">More...</a><br /></td></tr>
<tr class="separator:a6b5fe6a90f69376fe95caf2123239ccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088aa13d607c682cc435d4152613cfc1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a088aa13d607c682cc435d4152613cfc1">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a088aa13d607c682cc435d4152613cfc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string.  <a href="classicu_1_1SimpleDateFormat.html#a088aa13d607c682cc435d4152613cfc1">More...</a><br /></td></tr>
<tr class="separator:a088aa13d607c682cc435d4152613cfc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d1cfd08ea9238eafee56e9b80849df2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#a6d1cfd08ea9238eafee56e9b80849df2">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;cal, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;pos) const=0</td></tr>
<tr class="memdesc:a6d1cfd08ea9238eafee56e9b80849df2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="classicu_1_1SimpleDateFormat.html#a6d1cfd08ea9238eafee56e9b80849df2">More...</a><br /></td></tr>
<tr class="separator:a6d1cfd08ea9238eafee56e9b80849df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72fe5dee0f13c9e4d673d2f19bcad5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ac72fe5dee0f13c9e4d673d2f19bcad5e">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;pos) const</td></tr>
<tr class="memdesc:ac72fe5dee0f13c9e4d673d2f19bcad5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="classicu_1_1SimpleDateFormat.html#ac72fe5dee0f13c9e4d673d2f19bcad5e">More...</a><br /></td></tr>
<tr class="separator:ac72fe5dee0f13c9e4d673d2f19bcad5e"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr>
<tr class="memitem:a1833e0e0e49a4bf63f35c4534afc20bd inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a1833e0e0e49a4bf63f35c4534afc20bd">~DateFormat</a> ()</td></tr>
<tr class="memdesc:a1833e0e0e49a4bf63f35c4534afc20bd inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classicu_1_1DateFormat.html#a1833e0e0e49a4bf63f35c4534afc20bd">More...</a><br /></td></tr>
<tr class="separator:a1833e0e0e49a4bf63f35c4534afc20bd inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91c4a33a423eb451705e9f7d38374a0f inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a91c4a33a423eb451705e9f7d38374a0f">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a91c4a33a423eb451705e9f7d38374a0f inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a91c4a33a423eb451705e9f7d38374a0f">More...</a><br /></td></tr>
<tr class="separator:a91c4a33a423eb451705e9f7d38374a0f inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb58440c6556009e67a51356d0f67252 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#acb58440c6556009e67a51356d0f67252">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:acb58440c6556009e67a51356d0f67252 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#acb58440c6556009e67a51356d0f67252">More...</a><br /></td></tr>
<tr class="separator:acb58440c6556009e67a51356d0f67252 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e2e9020e3fa83d0096ff13197a3153 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a68e2e9020e3fa83d0096ff13197a3153">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;fieldPosition) const</td></tr>
<tr class="memdesc:a68e2e9020e3fa83d0096ff13197a3153 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1DateFormat.html#a68e2e9020e3fa83d0096ff13197a3153">More...</a><br /></td></tr>
<tr class="separator:a68e2e9020e3fa83d0096ff13197a3153 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4cedcaa4d77be3b3f3eeecdea2909a2 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#aa4cedcaa4d77be3b3f3eeecdea2909a2">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aa4cedcaa4d77be3b3f3eeecdea2909a2 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1DateFormat.html#aa4cedcaa4d77be3b3f3eeecdea2909a2">More...</a><br /></td></tr>
<tr class="separator:aa4cedcaa4d77be3b3f3eeecdea2909a2 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5940ccf5676d3fa043d8255c55b7ddd1 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a5940ccf5676d3fa043d8255c55b7ddd1">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo) const</td></tr>
<tr class="memdesc:a5940ccf5676d3fa043d8255c55b7ddd1 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="classicu_1_1DateFormat.html#a5940ccf5676d3fa043d8255c55b7ddd1">More...</a><br /></td></tr>
<tr class="separator:a5940ccf5676d3fa043d8255c55b7ddd1 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088aa13d607c682cc435d4152613cfc1 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a088aa13d607c682cc435d4152613cfc1">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a088aa13d607c682cc435d4152613cfc1 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string.  <a href="classicu_1_1DateFormat.html#a088aa13d607c682cc435d4152613cfc1">More...</a><br /></td></tr>
<tr class="separator:a088aa13d607c682cc435d4152613cfc1 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72fe5dee0f13c9e4d673d2f19bcad5e inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac72fe5dee0f13c9e4d673d2f19bcad5e">parse</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;pos) const</td></tr>
<tr class="memdesc:ac72fe5dee0f13c9e4d673d2f19bcad5e inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="classicu_1_1DateFormat.html#ac72fe5dee0f13c9e4d673d2f19bcad5e">More...</a><br /></td></tr>
<tr class="separator:ac72fe5dee0f13c9e4d673d2f19bcad5e inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a408b919290c211566a17e596f1014e79 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a408b919290c211566a17e596f1014e79">parseObject</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;result, <a class="el" href="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;parse_pos) const override</td></tr>
<tr class="memdesc:a408b919290c211566a17e596f1014e79 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a string to produce an object.  <a href="classicu_1_1DateFormat.html#a408b919290c211566a17e596f1014e79">More...</a><br /></td></tr>
<tr class="separator:a408b919290c211566a17e596f1014e79 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afddf8ac868e4b622992386fca9a0ab68 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#afddf8ac868e4b622992386fca9a0ab68">isLenient</a> () const</td></tr>
<tr class="memdesc:afddf8ac868e4b622992386fca9a0ab68 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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 &amp; numeric processing is lenient.  <a href="classicu_1_1DateFormat.html#afddf8ac868e4b622992386fca9a0ab68">More...</a><br /></td></tr>
<tr class="separator:afddf8ac868e4b622992386fca9a0ab68 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed3fc3977aabeae6b0188642cad5d30 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a5ed3fc3977aabeae6b0188642cad5d30">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>
<tr class="memdesc:a5ed3fc3977aabeae6b0188642cad5d30 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies whether date/time parsing is to be lenient.  <a href="classicu_1_1DateFormat.html#a5ed3fc3977aabeae6b0188642cad5d30">More...</a><br /></td></tr>
<tr class="separator:a5ed3fc3977aabeae6b0188642cad5d30 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a627688accafb39af02677d2bf0c39d6e inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a627688accafb39af02677d2bf0c39d6e">isCalendarLenient</a> () const</td></tr>
<tr class="memdesc:a627688accafb39af02677d2bf0c39d6e inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a627688accafb39af02677d2bf0c39d6e">More...</a><br /></td></tr>
<tr class="separator:a627688accafb39af02677d2bf0c39d6e inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b40d07638285a47689113a920bedf16 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4b40d07638285a47689113a920bedf16">setCalendarLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>
<tr class="memdesc:a4b40d07638285a47689113a920bedf16 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a4b40d07638285a47689113a920bedf16">More...</a><br /></td></tr>
<tr class="separator:a4b40d07638285a47689113a920bedf16 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4741400190b83c396c88cdf0651089ad inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4741400190b83c396c88cdf0651089ad">getCalendar</a> () const</td></tr>
<tr class="memdesc:a4741400190b83c396c88cdf0651089ad inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the calendar associated with this date/time formatter.  <a href="classicu_1_1DateFormat.html#a4741400190b83c396c88cdf0651089ad">More...</a><br /></td></tr>
<tr class="separator:a4741400190b83c396c88cdf0651089ad inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7194b6b09c9022ca0fa5505a7139cfc8 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a7194b6b09c9022ca0fa5505a7139cfc8">setCalendar</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;newCalendar)</td></tr>
<tr class="memdesc:a7194b6b09c9022ca0fa5505a7139cfc8 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="classicu_1_1DateFormat.html#a7194b6b09c9022ca0fa5505a7139cfc8">More...</a><br /></td></tr>
<tr class="separator:a7194b6b09c9022ca0fa5505a7139cfc8 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e906ef3b10120bfadb1e27f2d56fb94 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a2e906ef3b10120bfadb1e27f2d56fb94">getNumberFormat</a> () const</td></tr>
<tr class="memdesc:a2e906ef3b10120bfadb1e27f2d56fb94 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a2e906ef3b10120bfadb1e27f2d56fb94">More...</a><br /></td></tr>
<tr class="separator:a2e906ef3b10120bfadb1e27f2d56fb94 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaf7de99af3a3c196c0e1790c97acd0d inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#aaaf7de99af3a3c196c0e1790c97acd0d">setNumberFormat</a> (const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> &amp;newNumberFormat)</td></tr>
<tr class="memdesc:aaaf7de99af3a3c196c0e1790c97acd0d inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows you to set the number formatter.  <a href="classicu_1_1DateFormat.html#aaaf7de99af3a3c196c0e1790c97acd0d">More...</a><br /></td></tr>
<tr class="separator:aaaf7de99af3a3c196c0e1790c97acd0d inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a793702e986fe23b90e336c25869a7bc6 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a793702e986fe23b90e336c25869a7bc6">getTimeZone</a> () const</td></tr>
<tr class="memdesc:a793702e986fe23b90e336c25869a7bc6 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a793702e986fe23b90e336c25869a7bc6">More...</a><br /></td></tr>
<tr class="separator:a793702e986fe23b90e336c25869a7bc6 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e9021ee3c6f771410d91fd0a323542 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ad9e9021ee3c6f771410d91fd0a323542">adoptTimeZone</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zoneToAdopt)</td></tr>
<tr class="memdesc:ad9e9021ee3c6f771410d91fd0a323542 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#ad9e9021ee3c6f771410d91fd0a323542">More...</a><br /></td></tr>
<tr class="separator:ad9e9021ee3c6f771410d91fd0a323542 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce5ca3c47e69e0d14a632fe8afc9a91 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a6ce5ca3c47e69e0d14a632fe8afc9a91">setTimeZone</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr class="memdesc:a6ce5ca3c47e69e0d14a632fe8afc9a91 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a6ce5ca3c47e69e0d14a632fe8afc9a91">More...</a><br /></td></tr>
<tr class="separator:a6ce5ca3c47e69e0d14a632fe8afc9a91 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a589ba312a6e19ba3da5aad952f4c10e3 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a589ba312a6e19ba3da5aad952f4c10e3">getContext</a> (<a class="el" href="udisplaycontext_8h.html#a7ce674e7cd26fb195f7344b861af5427">UDisplayContextType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a589ba312a6e19ba3da5aad952f4c10e3 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a589ba312a6e19ba3da5aad952f4c10e3">More...</a><br /></td></tr>
<tr class="separator:a589ba312a6e19ba3da5aad952f4c10e3 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5053113b0512fa35ece9fb3bae2115a8 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a5053113b0512fa35ece9fb3bae2115a8">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> &amp;status)</td></tr>
<tr class="memdesc:a5053113b0512fa35ece9fb3bae2115a8 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a5053113b0512fa35ece9fb3bae2115a8">More...</a><br /></td></tr>
<tr class="separator:a5053113b0512fa35ece9fb3bae2115a8 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a011d24d44de701a71315583d044f6742 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a011d24d44de701a71315583d044f6742">getBooleanAttribute</a> (<a class="el" href="udat_8h.html#afb77ea9256f65ea466b4c9b73f33bbaa">UDateFormatBooleanAttribute</a> attr, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a011d24d44de701a71315583d044f6742 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a011d24d44de701a71315583d044f6742">More...</a><br /></td></tr>
<tr class="separator:a011d24d44de701a71315583d044f6742 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#affaf0088c4eb9976223a327bdc4f1dd0">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an object to produce a string.  <a href="classicu_1_1DateFormat.html#affaf0088c4eb9976223a327bdc4f1dd0">More...</a><br /></td></tr>
<tr class="separator:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218d385a5aaf02005c0f7af9d4e00b74 inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a218d385a5aaf02005c0f7af9d4e00b74">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const=0</td></tr>
<tr class="memdesc:a218d385a5aaf02005c0f7af9d4e00b74 inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a218d385a5aaf02005c0f7af9d4e00b74">More...</a><br /></td></tr>
<tr class="separator:a218d385a5aaf02005c0f7af9d4e00b74 inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b5fe6a90f69376fe95caf2123239ccb inherit pub_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a6b5fe6a90f69376fe95caf2123239ccb">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classicu_1_1FieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a6b5fe6a90f69376fe95caf2123239ccb inherit pub_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a6b5fe6a90f69376fe95caf2123239ccb">More...</a><br /></td></tr>
<tr class="separator:a6b5fe6a90f69376fe95caf2123239ccb inherit pub_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr>
<tr class="memitem:ab5b0d091d165c5576af62b3ee246058a inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#ab5b0d091d165c5576af62b3ee246058a">~Format</a> ()</td></tr>
<tr class="memdesc:ab5b0d091d165c5576af62b3ee246058a inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classicu_1_1Format.html#ab5b0d091d165c5576af62b3ee246058a">More...</a><br /></td></tr>
<tr class="separator:ab5b0d091d165c5576af62b3ee246058a inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedcfb084bd044486e9112d6bae06556d inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#aedcfb084bd044486e9112d6bae06556d">operator!=</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;other) const</td></tr>
<tr class="memdesc:aedcfb084bd044486e9112d6bae06556d inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</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#aedcfb084bd044486e9112d6bae06556d">More...</a><br /></td></tr>
<tr class="separator:aedcfb084bd044486e9112d6bae06556d inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#affaf0088c4eb9976223a327bdc4f1dd0">format</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;obj, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an object to produce a string.  <a href="classicu_1_1Format.html#affaf0088c4eb9976223a327bdc4f1dd0">More...</a><br /></td></tr>
<tr class="separator:affaf0088c4eb9976223a327bdc4f1dd0 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8854eba45f8c57f22ff994b8e8099ae inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#ac8854eba45f8c57f22ff994b8e8099ae">parseObject</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:ac8854eba45f8c57f22ff994b8e8099ae inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string to produce an object.  <a href="classicu_1_1Format.html#ac8854eba45f8c57f22ff994b8e8099ae">More...</a><br /></td></tr>
<tr class="separator:ac8854eba45f8c57f22ff994b8e8099ae inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb8661d3a5d713adc9845c6c76de2a09 inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#afb8661d3a5d713adc9845c6c76de2a09">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:afb8661d3a5d713adc9845c6c76de2a09 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="classicu_1_1Format.html#afb8661d3a5d713adc9845c6c76de2a09">More...</a><br /></td></tr>
<tr class="separator:afb8661d3a5d713adc9845c6c76de2a09 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0aa1422df718c60a6bc342f2de79cf inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a7b0aa1422df718c60a6bc342f2de79cf">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a7b0aa1422df718c60a6bc342f2de79cf inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="classicu_1_1Format.html#a7b0aa1422df718c60a6bc342f2de79cf">More...</a><br /></td></tr>
<tr class="separator:a7b0aa1422df718c60a6bc342f2de79cf inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&#160;</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">&#160;</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">&#160;</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:ac4e4592f12e7114d03b346ed9e43c862"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#ac4e4592f12e7114d03b346ed9e43c862">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:ac4e4592f12e7114d03b346ed9e43c862"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the class ID for this class.  <a href="classicu_1_1SimpleDateFormat.html#ac4e4592f12e7114d03b346ed9e43c862">More...</a><br /></td></tr>
<tr class="separator:ac4e4592f12e7114d03b346ed9e43c862"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb04048b98e952c9fbef01dd277c585d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1SimpleDateFormat.html#aeb04048b98e952c9fbef01dd277c585d">isFieldUnitIgnored</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>
<tr class="memdesc:aeb04048b98e952c9fbef01dd277c585d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is for ICU internal use only.  <a href="classicu_1_1SimpleDateFormat.html#aeb04048b98e952c9fbef01dd277c585d">More...</a><br /></td></tr>
<tr class="separator:aeb04048b98e952c9fbef01dd277c585d"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr>
<tr class="memitem:a1310b92ff52556ced1b61aa006826df8 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a1310b92ff52556ced1b61aa006826df8">createInstance</a> ()</td></tr>
<tr class="memdesc:a1310b92ff52556ced1b61aa006826df8 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</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#a1310b92ff52556ced1b61aa006826df8">More...</a><br /></td></tr>
<tr class="separator:a1310b92ff52556ced1b61aa006826df8 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99cb19962549ceff31e9bcbd674f3fd4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a99cb19962549ceff31e9bcbd674f3fd4">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> &amp;aLocale=<a class="el" href="classicu_1_1Locale.html#aecbcfddec8afb937d1a0254c77c85018">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:a99cb19962549ceff31e9bcbd674f3fd4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a time formatter with the given formatting style for the given locale.  <a href="classicu_1_1DateFormat.html#a99cb19962549ceff31e9bcbd674f3fd4">More...</a><br /></td></tr>
<tr class="separator:a99cb19962549ceff31e9bcbd674f3fd4 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaea49f85fe79989f1f2b2b121846499 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">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> &amp;aLocale=<a class="el" href="classicu_1_1Locale.html#aecbcfddec8afb937d1a0254c77c85018">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:acaea49f85fe79989f1f2b2b121846499 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date formatter with the given formatting style for the given const locale.  <a href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">More...</a><br /></td></tr>
<tr class="separator:acaea49f85fe79989f1f2b2b121846499 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8832a3e2606c19ab5dc33db6345d4f5f inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a8832a3e2606c19ab5dc33db6345d4f5f">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> &amp;aLocale=<a class="el" href="classicu_1_1Locale.html#aecbcfddec8afb937d1a0254c77c85018">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:a8832a3e2606c19ab5dc33db6345d4f5f inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter with the given formatting styles for the given locale.  <a href="classicu_1_1DateFormat.html#a8832a3e2606c19ab5dc33db6345d4f5f">More...</a><br /></td></tr>
<tr class="separator:a8832a3e2606c19ab5dc33db6345d4f5f inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a241a8363d7dffba9856e15b75d2dcf01 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a241a8363d7dffba9856e15b75d2dcf01">getBestPattern</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;skeleton, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a241a8363d7dffba9856e15b75d2dcf01 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the best pattern given a skeleton and locale.  <a href="classicu_1_1DateFormat.html#a241a8363d7dffba9856e15b75d2dcf01">More...</a><br /></td></tr>
<tr class="separator:a241a8363d7dffba9856e15b75d2dcf01 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a461357d3a0a500aae3c508a64f1e2ff3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a461357d3a0a500aae3c508a64f1e2ff3">createInstanceForSkeleton</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;skeleton, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a461357d3a0a500aae3c508a64f1e2ff3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and default locale.  <a href="classicu_1_1DateFormat.html#a461357d3a0a500aae3c508a64f1e2ff3">More...</a><br /></td></tr>
<tr class="separator:a461357d3a0a500aae3c508a64f1e2ff3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6e85da2c6cef2d2f6eb8f8469b4bd9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a7b6e85da2c6cef2d2f6eb8f8469b4bd9">createInstanceForSkeleton</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;skeleton, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a7b6e85da2c6cef2d2f6eb8f8469b4bd9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale.  <a href="classicu_1_1DateFormat.html#a7b6e85da2c6cef2d2f6eb8f8469b4bd9">More...</a><br /></td></tr>
<tr class="separator:a7b6e85da2c6cef2d2f6eb8f8469b4bd9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e6c6af4db15bc5a0ab31294eb4fce9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a00e6c6af4db15bc5a0ab31294eb4fce9">createInstanceForSkeleton</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> *calendarToAdopt, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;skeleton, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a00e6c6af4db15bc5a0ab31294eb4fce9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale.  <a href="classicu_1_1DateFormat.html#a00e6c6af4db15bc5a0ab31294eb4fce9">More...</a><br /></td></tr>
<tr class="separator:a00e6c6af4db15bc5a0ab31294eb4fce9 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d7ba5aa510615f34a56969218d0cb3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a06d7ba5aa510615f34a56969218d0cb3">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:a06d7ba5aa510615f34a56969218d0cb3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the set of locales for which DateFormats are installed.  <a href="classicu_1_1DateFormat.html#a06d7ba5aa510615f34a56969218d0cb3">More...</a><br /></td></tr>
<tr class="separator:a06d7ba5aa510615f34a56969218d0cb3 inherit pub_static_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><b>DateFormat</b></td></tr>
<tr class="separator:a369bfc31e5e941bae4ec355f203ea9e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9acb9821e8fddc1337e8f91705b002e2"><td class="memItemLeft" align="right" valign="top"><a id="a9acb9821e8fddc1337e8f91705b002e2"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>DateIntervalFormat</b></td></tr>
<tr class="separator:a9acb9821e8fddc1337e8f91705b002e2"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a> { <br />
&#160;&#160;<b>kNone</b> = -1
, <b>kFull</b> = 0
, <b>kLong</b> = 1
, <b>kMedium</b> = 2
, <br />
&#160;&#160;<b>kShort</b> = 3
, <b>kDateOffset</b> = kShort + 1
, <b>kDateTime</b> = 8
, <b>kDateTimeOffset</b> = kDateTime + 1
, <br />
&#160;&#160;<b>kRelative</b> = (1 &lt;&lt; 7)
, <b>kFullRelative</b> = (kFull | kRelative)
, <b>kLongRelative</b> = kLong | kRelative
, <b>kMediumRelative</b> = kMedium | kRelative
, <br />
&#160;&#160;<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 />
&#160;&#160;<b>MEDIUM</b> = kMedium
, <b>SHORT</b> = kShort
, <b>DEFAULT</b> = kDefault
, <b>DATE_OFFSET</b> = kDateOffset
, <br />
&#160;&#160;<b>NONE</b> = kNone
, <b>DATE_TIME</b> = kDateTime
<br />
 }</td></tr>
<tr class="memdesc:ac24ea2d479ab818437dedb3470800dc7"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:ad13e430a9697228c96ca1f350b3d9317 inherit pub_types_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ad13e430a9697228c96ca1f350b3d9317">EField</a> { <br />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<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 />
&#160;&#160;<b>TIMEZONE_FIELD</b> = UDAT_TIMEZONE_FIELD
<br />
 }</td></tr>
<tr class="memdesc:ad13e430a9697228c96ca1f350b3d9317"><td class="mdescLeft">&#160;</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">&#160;</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="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a></td></tr>
<tr class="memitem:a0c83b8d083a75bcfc72aa64da0e255e0 inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">DateFormat</a> ()</td></tr>
<tr class="memdesc:a0c83b8d083a75bcfc72aa64da0e255e0 inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">More...</a><br /></td></tr>
<tr class="separator:a0c83b8d083a75bcfc72aa64da0e255e0 inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8e2cc498126e569d9173ff637fa8f1 inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a4b8e2cc498126e569d9173ff637fa8f1">DateFormat</a> (const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;)</td></tr>
<tr class="memdesc:a4b8e2cc498126e569d9173ff637fa8f1 inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classicu_1_1DateFormat.html#a4b8e2cc498126e569d9173ff637fa8f1">More...</a><br /></td></tr>
<tr class="separator:a4b8e2cc498126e569d9173ff637fa8f1 inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4fbc1fe85b99a9702a659af76d84600 inherit pro_methods_classicu_1_1DateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ab4fbc1fe85b99a9702a659af76d84600">operator=</a> (const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;)</td></tr>
<tr class="memdesc:ab4fbc1fe85b99a9702a659af76d84600 inherit pro_methods_classicu_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="classicu_1_1DateFormat.html#ab4fbc1fe85b99a9702a659af76d84600">More...</a><br /></td></tr>
<tr class="separator:ab4fbc1fe85b99a9702a659af76d84600 inherit pro_methods_classicu_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr>
<tr class="memitem:a9c316525df8bdb422d3e73f0eb9a2a32 inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a9c316525df8bdb422d3e73f0eb9a2a32">setLocaleIDs</a> (const char *valid, const char *actual)</td></tr>
<tr class="separator:a9c316525df8bdb422d3e73f0eb9a2a32 inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e673e9e040598bace20c25a2261b845 inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a0e673e9e040598bace20c25a2261b845">Format</a> ()</td></tr>
<tr class="memdesc:a0e673e9e040598bace20c25a2261b845 inherit pro_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor for subclass use only.  <a href="classicu_1_1Format.html#a0e673e9e040598bace20c25a2261b845">More...</a><br /></td></tr>
<tr class="separator:a0e673e9e040598bace20c25a2261b845 inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2747bab62f7164f3c1556c044502df6e inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a2747bab62f7164f3c1556c044502df6e">Format</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;)</td></tr>
<tr class="separator:a2747bab62f7164f3c1556c044502df6e inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e4a4f6e5eedfe8d949e9307191a3afc inherit pro_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Format.html">Format</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a6e4a4f6e5eedfe8d949e9307191a3afc">operator=</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;)</td></tr>
<tr class="separator:a6e4a4f6e5eedfe8d949e9307191a3afc inherit pro_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classicu_1_1Format.html">icu::Format</a></td></tr>
<tr class="memitem:a4667230f833245c55ba081c163d8bb71 inherit pro_static_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#a4667230f833245c55ba081c163d8bb71">syntaxError</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;pattern, int32_t pos, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError)</td></tr>
<tr class="memdesc:a4667230f833245c55ba081c163d8bb71 inherit pro_static_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</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#a4667230f833245c55ba081c163d8bb71">More...</a><br /></td></tr>
<tr class="separator:a4667230f833245c55ba081c163d8bb71 inherit pro_static_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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> *&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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 -&gt; text), parsing (text -&gt; 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#a461357d3a0a500aae3c508a64f1e2ff3" 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#a4560cf35dfcc0a6d8af973e7061211bf" title="Return a pattern string describing this date format.">toPattern()</a> and <a class="el" href="classicu_1_1SimpleDateFormat.html#a3ca36413f304aab5dab465af7f396cef" 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#a0e673e9e040598bace20c25a2261b845">Format</a> Pattern                         Result</div>
<div class="line">--------------                         -------</div>
<div class="line"><span class="stringliteral">&quot;yyyy.MM.dd G &#39;at&#39; HH:mm:ss vvvv&quot;</span> -&gt;&gt;  1996.07.10 AD at 15:08:56 Pacific Time</div>
<div class="line"><span class="stringliteral">&quot;EEE, MMM d, &#39;&#39;yy&quot;</span>                -&gt;&gt;  Wed, July 10, <span class="stringliteral">&#39;96</span></div>
<div class="line"><span class="stringliteral">&quot;h:mm a&quot;                          -&gt;&gt;  12:08 PM</span></div>
<div class="line"><span class="stringliteral">&quot;hh &#39;</span>o<span class="stringliteral">&#39;&#39;</span>clock<span class="stringliteral">&#39; a, zzzz&quot;           -&gt;&gt;  12 o&#39;</span>clock PM, Pacific Daylight Time</div>
<div class="line"><span class="stringliteral">&quot;K:mm a, vvv&quot;</span>                     -&gt;&gt;  0:00 PM, PT</div>
<div class="line"><span class="stringliteral">&quot;yyyyy.MMMMM.dd GGG hh:mm aaa&quot;</span>    -&gt;&gt;  1996.July.10 AD 12:08 PM</div>
<div class="ttc" id="aclassicu_1_1Format_html_a0e673e9e040598bace20c25a2261b845"><div class="ttname"><a href="classicu_1_1Format.html#a0e673e9e040598bace20c25a2261b845">icu::Format::Format</a></div><div class="ttdeci">Format()</div><div class="ttdoc">Default constructor for subclass use only.</div></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">&quot;PST&quot;</span>);</div>
<div class="line">pdt-&gt;setStartRule( Calendar::APRIL, 1, Calendar::SUNDAY, 2*60*60*1000);</div>
<div class="line">pdt-&gt;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#abac138102ec26c6d80043111c2d20817">SimpleDateFormat</a>* formatter</div>
<div class="line">    = <span class="keyword">new</span> <a class="code" href="classicu_1_1SimpleDateFormat.html#abac138102ec26c6d80043111c2d20817">SimpleDateFormat</a> (<span class="stringliteral">&quot;yyyy.MM.dd G &#39;at&#39; hh:mm:ss a zzz&quot;</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-&gt;format( currentTime_1, dateString, fp );</div>
<div class="line">cout &lt;&lt; <span class="stringliteral">&quot;result: &quot;</span> &lt;&lt; dateString &lt;&lt; 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-&gt;parse(dateString, pp );</div>
<div class="ttc" id="aclassicu_1_1SimpleDateFormat_html_abac138102ec26c6d80043111c2d20817"><div class="ttname"><a href="classicu_1_1SimpleDateFormat.html#abac138102ec26c6d80043111c2d20817">icu::SimpleDateFormat::SimpleDateFormat</a></div><div class="ttdeci">SimpleDateFormat(UErrorCode &amp;status)</div><div class="ttdoc">Construct a SimpleDateFormat using the default pattern for the default locale.</div></div>
<div class="ttc" id="autypes_8h_html_a3343c1c8a8377277046774691c98d78c"><div class="ttname"><a href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a></div><div class="ttdeci">UErrorCode</div><div class="ttdoc">Standard ICU4C error code type, a substitute for exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00430">utypes.h:430</a></div></div>
<div class="ttc" id="autypes_8h_html_a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9"><div class="ttname"><a href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a></div><div class="ttdeci">@ U_ZERO_ERROR</div><div class="ttdoc">No error, no warning.</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00465">utypes.h:465</a></div></div>
<div class="ttc" id="autypes_8h_html_ace1704e9e77d407d1eaaa2e73ec0c039"><div class="ttname"><a href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a></div><div class="ttdeci">double UDate</div><div class="ttdoc">Date and Time data type.</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00218">utypes.h:218</a></div></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 &amp; Destructor Documentation</h2>
<a id="abac138102ec26c6d80043111c2d20817"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abac138102ec26c6d80043111c2d20817">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[1/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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#_stable005545">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a4c6fb4cda13384e3536360d7aff75428"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c6fb4cda13384e3536360d7aff75428">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[2/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005546">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a338722b13984ce66d7ec4cce7f2480ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a338722b13984ce66d7ec4cce7f2480ac">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[3/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005547">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a id="aea33520a89bb548165f7f3a3552d3617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea33520a89bb548165f7f3a3552d3617">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[4/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005548">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="adf45ef405007b0abdd9f840bf2a9473d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf45ef405007b0abdd9f840bf2a9473d">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[5/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005549">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a id="a431d86e0200818d8b6243ab11a76f84c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431d86e0200818d8b6243ab11a76f84c">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[6/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> *&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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 – includi...">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#_stable005550">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a83a094d8a8b900c56378e25e1bb6a126"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a094d8a8b900c56378e25e1bb6a126">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[7/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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 – includi...">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#_stable005551">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a3d726e531132979f4f65f7b1df11bfcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d726e531132979f4f65f7b1df11bfcb">&#9670;&nbsp;</a></span>SimpleDateFormat() <span class="overload">[8/8]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::SimpleDateFormat::SimpleDateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &amp;&#160;</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#_stable005552">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ad9ba3936fa488c69cb1ba3944c5eb474"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9ba3936fa488c69cb1ba3944c5eb474">&#9670;&nbsp;</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 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#_stable005554">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa516e475dd1bd93dafb165ca51ecc7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa516e475dd1bd93dafb165ca51ecc7ea">&#9670;&nbsp;</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 void icu::SimpleDateFormat::adoptCalendar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</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#_stable005571">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#ad2b7aabafbfdc5661ff80bb29f1c5a6b">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a3fbc936e6e9ba6834c9a4b26a2a4af60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fbc936e6e9ba6834c9a4b26a2a4af60">&#9670;&nbsp;</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 void icu::SimpleDateFormat::adoptDateFormatSymbols </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> *&#160;</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 – includi...">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#_stable005567">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ade14aa7a5dca5ebce627c2f10ad8c397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade14aa7a5dca5ebce627c2f10ad8c397">&#9670;&nbsp;</a></span>adoptNumberFormat() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::SimpleDateFormat::adoptNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> *&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#aaaf7de99af3a3c196c0e1790c97acd0d" title="Allows you to set the number formatter.">DateFormat::setNumberFormat(const NumberFormat&amp; 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#_stable005574">Stable:</a></b></dt><dd>ICU 54 </dd></dl>

</div>
</div>
<a id="a6aa9212004cc17d5ee28ff916d0a3e73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6aa9212004cc17d5ee28ff916d0a3e73">&#9670;&nbsp;</a></span>adoptNumberFormat() <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">void icu::SimpleDateFormat::adoptNumberFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *&#160;</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&amp;, 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#_stable005573">Stable:</a></b></dt><dd>ICU 54 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#a6ffd07d528e81bdafd6ca956ff1b2f1e">icu::DateFormat</a>.</p>

</div>
</div>
<a id="aefb500fe70e83b09b312ce1e893129b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefb500fe70e83b09b312ce1e893129b4">&#9670;&nbsp;</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 void icu::SimpleDateFormat::adoptTimeZoneFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> *&#160;</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#_internal000819">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="af9119de6f712398af99258078aff2ba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9119de6f712398af99258078aff2ba1">&#9670;&nbsp;</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 void icu::SimpleDateFormat::applyLocalizedPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#a50aea0acf257d36dc96bf01828272088" 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#_stable005565">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a3ca36413f304aab5dab465af7f396cef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ca36413f304aab5dab465af7f396cef">&#9670;&nbsp;</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 void icu::SimpleDateFormat::applyPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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#_stable005564">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="aff4b5da3603e5e8bcc05ab5fdc37fda0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff4b5da3603e5e8bcc05ab5fdc37fda0">&#9670;&nbsp;</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="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#_stable005555">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1DateFormat.html#a13313c1084659d600ea0b9ad9a4e1abb">icu::DateFormat</a>.</p>

</div>
</div>
<a id="ab3b8cbf7a63987fe65bb24c74e34d07f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3b8cbf7a63987fe65bb24c74e34d07f">&#9670;&nbsp;</a></span>format() <span class="overload">[1/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003840">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<a id="a00e9d340549bbcc46fe2a568605fd374"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00e9d340549bbcc46fe2a568605fd374">&#9670;&nbsp;</a></span>format() <span class="overload">[2/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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::SimpleDateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</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" -&gt;&gt; 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#_stable005557">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1DateFormat.html#a2b42f358d3a1d13c19463c759038d45d">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a8209455a5f5ae0b7971485710cecd5e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8209455a5f5ae0b7971485710cecd5e1">&#9670;&nbsp;</a></span>format() <span class="overload">[3/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003841">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a id="acad6782112de6b6918be98b4fc4f6d01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acad6782112de6b6918be98b4fc4f6d01">&#9670;&nbsp;</a></span>format() <span class="overload">[4/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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::SimpleDateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</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> &amp;&#160;</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> *&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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" -&gt;&gt; 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#_stable005558">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#a8209455a5f5ae0b7971485710cecd5e1">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a68fb0a8875645f7ab11bb5230c03c212"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68fb0a8875645f7ab11bb5230c03c212">&#9670;&nbsp;</a></span>format() <span class="overload">[5/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable004258">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a91c4a33a423eb451705e9f7d38374a0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91c4a33a423eb451705e9f7d38374a0f">&#9670;&nbsp;</a></span>format() <span class="overload">[6/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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003838">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a6b5fe6a90f69376fe95caf2123239ccb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b5fe6a90f69376fe95caf2123239ccb">&#9670;&nbsp;</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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable004259">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a id="acb58440c6556009e67a51356d0f67252"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb58440c6556009e67a51356d0f67252">&#9670;&nbsp;</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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003839">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a id="affaf0088c4eb9976223a327bdc4f1dd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affaf0088c4eb9976223a327bdc4f1dd0">&#9670;&nbsp;</a></span>format() <span class="overload">[9/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable004257">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a5940ccf5676d3fa043d8255c55b7ddd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5940ccf5676d3fa043d8255c55b7ddd1">&#9670;&nbsp;</a></span>format() <span class="overload">[10/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#a91c4a33a423eb451705e9f7d38374a0f" title="Format an object to produce a string.">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>&amp; 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#_stable003844">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a68e2e9020e3fa83d0096ff13197a3153"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68e2e9020e3fa83d0096ff13197a3153">&#9670;&nbsp;</a></span>format() <span class="overload">[11/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003842">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="aa4cedcaa4d77be3b3f3eeecdea2909a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4cedcaa4d77be3b3f3eeecdea2909a2">&#9670;&nbsp;</a></span>format() <span class="overload">[12/12]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; 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#_stable003843">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a id="a2a836c92242ff768000efb3b843dc3ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a836c92242ff768000efb3b843dc3ba">&#9670;&nbsp;</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> &amp;&#160;</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#_stable005561">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="smpdtfmt_8h_source.html#l01318">1318</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p>

</div>
</div>
<a id="afd00404d7337082533fcd6c3d18d77b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd00404d7337082533fcd6c3d18d77b1">&#9670;&nbsp;</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 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#_stable005566">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a4e90b76050e1b10c02709f1f6495574f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e90b76050e1b10c02709f1f6495574f">&#9670;&nbsp;</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="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#a116a55ec9e821800495020e33703c2a8" title="Return true if the given Format objects are semantically equal.">operator==()</a> and <a class="el" href="classicu_1_1SimpleDateFormat.html#aff4b5da3603e5e8bcc05ab5fdc37fda0" 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#_stable005570">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="a52b45f1ac03c9eead7ba6153d5c7fc61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52b45f1ac03c9eead7ba6153d5c7fc61">&#9670;&nbsp;</a></span>getNumberFormatForField()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a>* icu::SimpleDateFormat::getNumberFormatForField </td>
          <td>(</td>
          <td class="paramtype">char16_t&#160;</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#_stable005575">Stable:</a></b></dt><dd>ICU 54 </dd></dl>

</div>
</div>
<a id="af1e6ddb37921ff9e7ed61e6ac28d6189"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1e6ddb37921ff9e7ed61e6ac28d6189">&#9670;&nbsp;</a></span>getSmpFmtLocale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; 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#_internal000824">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl>

</div>
</div>
<a id="ac4e4592f12e7114d03b346ed9e43c862"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4e4592f12e7114d03b346ed9e43c862">&#9670;&nbsp;</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="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#a4e90b76050e1b10c02709f1f6495574f" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID()</a>. For example: </p><pre>
.   Base* polymorphic_pointer = createPolymorphicObject();
.   if (polymorphic_pointer-&gt;<a class="el" href="classicu_1_1SimpleDateFormat.html#a4e90b76050e1b10c02709f1f6495574f" 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#_stable005569">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a1e33680fea34d38ee093cdf906bb3566"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e33680fea34d38ee093cdf906bb3566">&#9670;&nbsp;</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 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#_internal000821">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="aeb04048b98e952c9fbef01dd277c585d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb04048b98e952c9fbef01dd277c585d">&#9670;&nbsp;</a></span>isFieldUnitIgnored() <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">static <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> &amp;&#160;</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>&#160;</td>
          <td class="paramname"><em>field</em>&#160;</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#_internal000823">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl>

</div>
</div>
<a id="a7ddbbe72779002eb0e7a0c5333df3744"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ddbbe72779002eb0e7a0c5333df3744">&#9670;&nbsp;</a></span>isFieldUnitIgnored() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><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>&#160;</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#_internal000822">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl>

</div>
</div>
<a id="a9d89c9dace9a975079e0b5ecf58ca244"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d89c9dace9a975079e0b5ecf58ca244">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a>&amp; icu::SimpleDateFormat::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1SimpleDateFormat.html">SimpleDateFormat</a> &amp;&#160;</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#_stable005553">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a116a55ec9e821800495020e33703c2a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a116a55ec9e821800495020e33703c2a8">&#9670;&nbsp;</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 bool icu::SimpleDateFormat::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;&#160;</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#_stable005556">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#a173ce490f43b19cab6c36ee1269e9209">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a128664f3ee0336ff02f928abd0ddba39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a128664f3ee0336ff02f928abd0ddba39">&#9670;&nbsp;</a></span>parse() <span class="overload">[1/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 void icu::SimpleDateFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</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#_stable005559">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1DateFormat.html#a82a10d2a3b70277bd983a638477bf154">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a6d1cfd08ea9238eafee56e9b80849df2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d1cfd08ea9238eafee56e9b80849df2">&#9670;&nbsp;</a></span>parse() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#_stable003846">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<a id="ac72fe5dee0f13c9e4d673d2f19bcad5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac72fe5dee0f13c9e4d673d2f19bcad5e">&#9670;&nbsp;</a></span>parse() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><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&amp;, Calendar&amp; cal, ParsePosition&amp;) 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#_stable003847">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a088aa13d607c682cc435d4152613cfc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a088aa13d607c682cc435d4152613cfc1">&#9670;&nbsp;</a></span>parse() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <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#a088aa13d607c682cc435d4152613cfc1" title="Parse a date/time string.">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&amp;, Calendar&amp; cal, ParsePosition&amp;) 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#_stable003845">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ad2eb855b855a2aa72ed527a287916902"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2eb855b855a2aa72ed527a287916902">&#9670;&nbsp;</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 void icu::SimpleDateFormat::set2DigitYearStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005560">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a5789d365715c59e7d1d06a7b563de6d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5789d365715c59e7d1d06a7b563de6d9">&#9670;&nbsp;</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 void icu::SimpleDateFormat::setContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a>&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable005572">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1DateFormat.html#ab1c94e06970b2ea74fd1811cdd715576">icu::DateFormat</a>.</p>

</div>
</div>
<a id="a449ebfea40ef3bc01a726d40d7b77444"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a449ebfea40ef3bc01a726d40d7b77444">&#9670;&nbsp;</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 void icu::SimpleDateFormat::setDateFormatSymbols </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1DateFormatSymbols.html">DateFormatSymbols</a> &amp;&#160;</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#_stable005568">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9a4dc5028f3977f3ba8ca4332a2b1a4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a4dc5028f3977f3ba8ca4332a2b1a4e">&#9670;&nbsp;</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 void icu::SimpleDateFormat::setTimeZoneFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZoneFormat.html">TimeZoneFormat</a> &amp;&#160;</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#_internal000820">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="a50aea0acf257d36dc96bf01828272088"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50aea0acf257d36dc96bf01828272088">&#9670;&nbsp;</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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::SimpleDateFormat::toLocalizedPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#a4560cf35dfcc0a6d8af973e7061211bf" 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#a3926ac6957ff2e2530162ea7dd449fbb" 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#a4560cf35dfcc0a6d8af973e7061211bf" 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#_stable005563">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a4560cf35dfcc0a6d8af973e7061211bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4560cf35dfcc0a6d8af973e7061211bf">&#9670;&nbsp;</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="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::SimpleDateFormat::toPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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#_stable005562">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&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>

LittleDemon - FACEBOOK
[ KELUAR ]