Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 391

icu-doc-58.2-3.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: icu::DateFormat 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="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 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </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_1DateFormat.html">DateFormat</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::DateFormat Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><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> is an abstract class for a family of classes that convert dates and times from their internal representations to textual form and back again in a language-independent manner.  
 <a href="classicu_1_1DateFormat.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="datefmt_8h_source.html">datefmt.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::DateFormat:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1DateFormat.png" usemap="#icu::DateFormat_map" alt=""/>
  <map id="icu::DateFormat_map" name="icu::DateFormat_map">
<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"/>
<area href="classicu_1_1SimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne..." alt="icu::SimpleDateFormat" shape="rect" coords="0,224,137,248"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac24ea2d479ab818437dedb3470800dc7"><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 />
 }<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>
</td></tr>
<tr class="separator:ac24ea2d479ab818437dedb3470800dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13e430a9697228c96ca1f350b3d9317"><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 />
 }<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>
</td></tr>
<tr class="separator:ad13e430a9697228c96ca1f350b3d9317"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a1833e0e0e49a4bf63f35c4534afc20bd"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a1833e0e0e49a4bf63f35c4534afc20bd">More...</a><br /></td></tr>
<tr class="separator:a1833e0e0e49a4bf63f35c4534afc20bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a134c773a4c043ad20575fa7059e4e178"><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#a134c773a4c043ad20575fa7059e4e178">operator==</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;) const </td></tr>
<tr class="memdesc:a134c773a4c043ad20575fa7059e4e178"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator.  <a href="#a134c773a4c043ad20575fa7059e4e178">More...</a><br /></td></tr>
<tr class="separator:a134c773a4c043ad20575fa7059e4e178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a620a647dcf9ea97d7383ee1efaf182d1"><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#a620a647dcf9ea97d7383ee1efaf182d1">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 </td></tr>
<tr class="memdesc:a620a647dcf9ea97d7383ee1efaf182d1"><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="#a620a647dcf9ea97d7383ee1efaf182d1">More...</a><br /></td></tr>
<tr class="separator:a620a647dcf9ea97d7383ee1efaf182d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae731e34df69969aef4a2aa6a0550935b"><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#ae731e34df69969aef4a2aa6a0550935b">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:ae731e34df69969aef4a2aa6a0550935b"><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="#ae731e34df69969aef4a2aa6a0550935b">More...</a><br /></td></tr>
<tr class="separator:ae731e34df69969aef4a2aa6a0550935b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b42f358d3a1d13c19463c759038d45d"><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#a2b42f358d3a1d13c19463c759038d45d">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:a2b42f358d3a1d13c19463c759038d45d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="#a2b42f358d3a1d13c19463c759038d45d">More...</a><br /></td></tr>
<tr class="separator:a2b42f358d3a1d13c19463c759038d45d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fcc59b5b5bef36de516b20d8c99f2c9"><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#a5fcc59b5b5bef36de516b20d8c99f2c9">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:a5fcc59b5b5bef36de516b20d8c99f2c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="#a5fcc59b5b5bef36de516b20d8c99f2c9">More...</a><br /></td></tr>
<tr class="separator:a5fcc59b5b5bef36de516b20d8c99f2c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ce0652db89abd0e10c65b6945754555"><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#a2ce0652db89abd0e10c65b6945754555">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:a2ce0652db89abd0e10c65b6945754555"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#a2ce0652db89abd0e10c65b6945754555">More...</a><br /></td></tr>
<tr class="separator:a2ce0652db89abd0e10c65b6945754555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a604ec2ba708b11a028daa41cbb3def86"><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#a604ec2ba708b11a028daa41cbb3def86">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:a604ec2ba708b11a028daa41cbb3def86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#a604ec2ba708b11a028daa41cbb3def86">More...</a><br /></td></tr>
<tr class="separator:a604ec2ba708b11a028daa41cbb3def86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af725c9c8022eb63c09b471c965fbbd97"><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#af725c9c8022eb63c09b471c965fbbd97">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:af725c9c8022eb63c09b471c965fbbd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#af725c9c8022eb63c09b471c965fbbd97">More...</a><br /></td></tr>
<tr class="separator:af725c9c8022eb63c09b471c965fbbd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9333661d4eed01b2aeec20117eaa2797"><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#a9333661d4eed01b2aeec20117eaa2797">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:a9333661d4eed01b2aeec20117eaa2797"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string.  <a href="#a9333661d4eed01b2aeec20117eaa2797">More...</a><br /></td></tr>
<tr class="separator:a9333661d4eed01b2aeec20117eaa2797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82a10d2a3b70277bd983a638477bf154"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a82a10d2a3b70277bd983a638477bf154">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:a82a10d2a3b70277bd983a638477bf154"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="#a82a10d2a3b70277bd983a638477bf154">More...</a><br /></td></tr>
<tr class="separator:a82a10d2a3b70277bd983a638477bf154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fc2286a4d6ab54ba687f5e37f29b70f"><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#a9fc2286a4d6ab54ba687f5e37f29b70f">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:a9fc2286a4d6ab54ba687f5e37f29b70f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="#a9fc2286a4d6ab54ba687f5e37f29b70f">More...</a><br /></td></tr>
<tr class="separator:a9fc2286a4d6ab54ba687f5e37f29b70f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a456b42194cc69e21d47d51219187f2eb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a456b42194cc69e21d47d51219187f2eb">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 </td></tr>
<tr class="memdesc:a456b42194cc69e21d47d51219187f2eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a string to produce an object.  <a href="#a456b42194cc69e21d47d51219187f2eb">More...</a><br /></td></tr>
<tr class="separator:a456b42194cc69e21d47d51219187f2eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb4fe7ba25385a2940de3c65d1ebeec6"><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#acb4fe7ba25385a2940de3c65d1ebeec6">isLenient</a> (void) const </td></tr>
<tr class="memdesc:acb4fe7ba25385a2940de3c65d1ebeec6"><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="#acb4fe7ba25385a2940de3c65d1ebeec6">More...</a><br /></td></tr>
<tr class="separator:acb4fe7ba25385a2940de3c65d1ebeec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed3fc3977aabeae6b0188642cad5d30"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies whether date/time parsing is to be lenient.  <a href="#a5ed3fc3977aabeae6b0188642cad5d30">More...</a><br /></td></tr>
<tr class="separator:a5ed3fc3977aabeae6b0188642cad5d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76de5a07632b6afd24d76c069a9f8a2"><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#aa76de5a07632b6afd24d76c069a9f8a2">isCalendarLenient</a> (void) const </td></tr>
<tr class="memdesc:aa76de5a07632b6afd24d76c069a9f8a2"><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="#aa76de5a07632b6afd24d76c069a9f8a2">More...</a><br /></td></tr>
<tr class="separator:aa76de5a07632b6afd24d76c069a9f8a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b40d07638285a47689113a920bedf16"><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"><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="#a4b40d07638285a47689113a920bedf16">More...</a><br /></td></tr>
<tr class="separator:a4b40d07638285a47689113a920bedf16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39968e4559dec65ea6cdaefecaf75eae"><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#a39968e4559dec65ea6cdaefecaf75eae">getCalendar</a> (void) const </td></tr>
<tr class="memdesc:a39968e4559dec65ea6cdaefecaf75eae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the calendar associated with this date/time formatter.  <a href="#a39968e4559dec65ea6cdaefecaf75eae">More...</a><br /></td></tr>
<tr class="separator:a39968e4559dec65ea6cdaefecaf75eae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2b7aabafbfdc5661ff80bb29f1c5a6b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ad2b7aabafbfdc5661ff80bb29f1c5a6b">adoptCalendar</a> (<a class="el" href="classicu_1_1Calendar.html">Calendar</a> *calendarToAdopt)</td></tr>
<tr class="memdesc:ad2b7aabafbfdc5661ff80bb29f1c5a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="#ad2b7aabafbfdc5661ff80bb29f1c5a6b">More...</a><br /></td></tr>
<tr class="separator:ad2b7aabafbfdc5661ff80bb29f1c5a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7194b6b09c9022ca0fa5505a7139cfc8"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="#a7194b6b09c9022ca0fa5505a7139cfc8">More...</a><br /></td></tr>
<tr class="separator:a7194b6b09c9022ca0fa5505a7139cfc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b1ea4c9e9d39d752328d217a6b63e4c"><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#a9b1ea4c9e9d39d752328d217a6b63e4c">getNumberFormat</a> (void) const </td></tr>
<tr class="memdesc:a9b1ea4c9e9d39d752328d217a6b63e4c"><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="#a9b1ea4c9e9d39d752328d217a6b63e4c">More...</a><br /></td></tr>
<tr class="separator:a9b1ea4c9e9d39d752328d217a6b63e4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ffd07d528e81bdafd6ca956ff1b2f1e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#a6ffd07d528e81bdafd6ca956ff1b2f1e">adoptNumberFormat</a> (<a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> *formatToAdopt)</td></tr>
<tr class="memdesc:a6ffd07d528e81bdafd6ca956ff1b2f1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows you to set the number formatter.  <a href="#a6ffd07d528e81bdafd6ca956ff1b2f1e">More...</a><br /></td></tr>
<tr class="separator:a6ffd07d528e81bdafd6ca956ff1b2f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaf7de99af3a3c196c0e1790c97acd0d"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows you to set the number formatter.  <a href="#aaaf7de99af3a3c196c0e1790c97acd0d">More...</a><br /></td></tr>
<tr class="separator:aaaf7de99af3a3c196c0e1790c97acd0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28504febf0ff6c62a35471eee43437df"><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#a28504febf0ff6c62a35471eee43437df">getTimeZone</a> (void) const </td></tr>
<tr class="memdesc:a28504febf0ff6c62a35471eee43437df"><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="#a28504febf0ff6c62a35471eee43437df">More...</a><br /></td></tr>
<tr class="separator:a28504febf0ff6c62a35471eee43437df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e9021ee3c6f771410d91fd0a323542"><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"><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="#ad9e9021ee3c6f771410d91fd0a323542">More...</a><br /></td></tr>
<tr class="separator:ad9e9021ee3c6f771410d91fd0a323542"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce5ca3c47e69e0d14a632fe8afc9a91"><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"><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="#a6ce5ca3c47e69e0d14a632fe8afc9a91">More...</a><br /></td></tr>
<tr class="separator:a6ce5ca3c47e69e0d14a632fe8afc9a91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1c94e06970b2ea74fd1811cdd715576"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1DateFormat.html#ab1c94e06970b2ea74fd1811cdd715576">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)</td></tr>
<tr class="memdesc:ab1c94e06970b2ea74fd1811cdd715576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a particular UDisplayContext value in the formatter, such as UDISPCTX_CAPITALIZATION_FOR_STANDALONE.  <a href="#ab1c94e06970b2ea74fd1811cdd715576">More...</a><br /></td></tr>
<tr class="separator:ab1c94e06970b2ea74fd1811cdd715576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd6451e23bbbc1481cc6d05c14abc4b"><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#a0bd6451e23bbbc1481cc6d05c14abc4b">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:a0bd6451e23bbbc1481cc6d05c14abc4b"><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="#a0bd6451e23bbbc1481cc6d05c14abc4b">More...</a><br /></td></tr>
<tr class="separator:a0bd6451e23bbbc1481cc6d05c14abc4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5053113b0512fa35ece9fb3bae2115a8"><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"><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="#a5053113b0512fa35ece9fb3bae2115a8">More...</a><br /></td></tr>
<tr class="separator:a5053113b0512fa35ece9fb3bae2115a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d06e55c601925a398cbc7e0cfe29aed"><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#a5d06e55c601925a398cbc7e0cfe29aed">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:a5d06e55c601925a398cbc7e0cfe29aed"><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="#a5d06e55c601925a398cbc7e0cfe29aed">More...</a><br /></td></tr>
<tr class="separator:a5d06e55c601925a398cbc7e0cfe29aed"><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="#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:a6805569ed12cf68e0e8359dadcbe9b1c inherit pub_methods_classicu_1_1Format"><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_1Format.html#a6805569ed12cf68e0e8359dadcbe9b1c">operator!=</a> (const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;other) const </td></tr>
<tr class="memdesc:a6805569ed12cf68e0e8359dadcbe9b1c 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="#a6805569ed12cf68e0e8359dadcbe9b1c">More...</a><br /></td></tr>
<tr class="separator:a6805569ed12cf68e0e8359dadcbe9b1c inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad606fa4ed45908fe4220085c6276c65a inherit pub_methods_classicu_1_1Format"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Format.html">Format</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Format.html#ad606fa4ed45908fe4220085c6276c65a">clone</a> () const =0</td></tr>
<tr class="memdesc:ad606fa4ed45908fe4220085c6276c65a inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this object polymorphically.  <a href="#ad606fa4ed45908fe4220085c6276c65a">More...</a><br /></td></tr>
<tr class="separator:ad606fa4ed45908fe4220085c6276c65a inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab510bded8f13465d98b950db03f15297 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#ab510bded8f13465d98b950db03f15297">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:ab510bded8f13465d98b950db03f15297 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an object to produce a string.  <a href="#ab510bded8f13465d98b950db03f15297">More...</a><br /></td></tr>
<tr class="separator:ab510bded8f13465d98b950db03f15297 inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14835811eb14a1826b8529704de07bbf 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#a14835811eb14a1826b8529704de07bbf">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:a14835811eb14a1826b8529704de07bbf inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string to produce an object.  <a href="#a14835811eb14a1826b8529704de07bbf">More...</a><br /></td></tr>
<tr class="separator:a14835811eb14a1826b8529704de07bbf inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5064d4b46b3f5882fb339960089bf87e 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#a5064d4b46b3f5882fb339960089bf87e">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:a5064d4b46b3f5882fb339960089bf87e inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="#a5064d4b46b3f5882fb339960089bf87e">More...</a><br /></td></tr>
<tr class="separator:a5064d4b46b3f5882fb339960089bf87e inherit pub_methods_classicu_1_1Format"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b0f21f3e3f6cc3ed196af5e6559b421 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#a1b0f21f3e3f6cc3ed196af5e6559b421">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:a1b0f21f3e3f6cc3ed196af5e6559b421 inherit pub_methods_classicu_1_1Format"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="#a1b0f21f3e3f6cc3ed196af5e6559b421">More...</a><br /></td></tr>
<tr class="separator:a1b0f21f3e3f6cc3ed196af5e6559b421 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="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1aa93096e880907080b503ff1fb0f8bc inherit pub_methods_classicu_1_1UObject"><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_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:a1aa93096e880907080b503ff1fb0f8bc inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.  <a href="#a1aa93096e880907080b503ff1fb0f8bc">More...</a><br /></td></tr>
<tr class="separator:a1aa93096e880907080b503ff1fb0f8bc 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:ab237070c8ffb148e0b09eab32969e1e4"><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#ab237070c8ffb148e0b09eab32969e1e4">createInstance</a> (void)</td></tr>
<tr class="memdesc:ab237070c8ffb148e0b09eab32969e1e4"><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="#ab237070c8ffb148e0b09eab32969e1e4">More...</a><br /></td></tr>
<tr class="separator:ab237070c8ffb148e0b09eab32969e1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99cb19962549ceff31e9bcbd674f3fd4"><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#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:a99cb19962549ceff31e9bcbd674f3fd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a time formatter with the given formatting style for the given locale.  <a href="#a99cb19962549ceff31e9bcbd674f3fd4">More...</a><br /></td></tr>
<tr class="separator:a99cb19962549ceff31e9bcbd674f3fd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaea49f85fe79989f1f2b2b121846499"><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#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:acaea49f85fe79989f1f2b2b121846499"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date formatter with the given formatting style for the given const locale.  <a href="#acaea49f85fe79989f1f2b2b121846499">More...</a><br /></td></tr>
<tr class="separator:acaea49f85fe79989f1f2b2b121846499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8832a3e2606c19ab5dc33db6345d4f5f"><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#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:a8832a3e2606c19ab5dc33db6345d4f5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter with the given formatting styles for the given locale.  <a href="#a8832a3e2606c19ab5dc33db6345d4f5f">More...</a><br /></td></tr>
<tr class="separator:a8832a3e2606c19ab5dc33db6345d4f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a241a8363d7dffba9856e15b75d2dcf01"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the best pattern given a skeleton and locale.  <a href="#a241a8363d7dffba9856e15b75d2dcf01">More...</a><br /></td></tr>
<tr class="separator:a241a8363d7dffba9856e15b75d2dcf01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a461357d3a0a500aae3c508a64f1e2ff3"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and default locale.  <a href="#a461357d3a0a500aae3c508a64f1e2ff3">More...</a><br /></td></tr>
<tr class="separator:a461357d3a0a500aae3c508a64f1e2ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6e85da2c6cef2d2f6eb8f8469b4bd9"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale.  <a href="#a7b6e85da2c6cef2d2f6eb8f8469b4bd9">More...</a><br /></td></tr>
<tr class="separator:a7b6e85da2c6cef2d2f6eb8f8469b4bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e6c6af4db15bc5a0ab31294eb4fce9"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a date/time formatter for the given skeleton and locale.  <a href="#a00e6c6af4db15bc5a0ab31294eb4fce9">More...</a><br /></td></tr>
<tr class="separator:a00e6c6af4db15bc5a0ab31294eb4fce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d7ba5aa510615f34a56969218d0cb3"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the set of locales for which DateFormats are installed.  <a href="#a06d7ba5aa510615f34a56969218d0cb3">More...</a><br /></td></tr>
<tr class="separator:a06d7ba5aa510615f34a56969218d0cb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0c83b8d083a75bcfc72aa64da0e255e0"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a0c83b8d083a75bcfc72aa64da0e255e0">More...</a><br /></td></tr>
<tr class="separator:a0c83b8d083a75bcfc72aa64da0e255e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8e2cc498126e569d9173ff637fa8f1"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a4b8e2cc498126e569d9173ff637fa8f1">More...</a><br /></td></tr>
<tr class="separator:a4b8e2cc498126e569d9173ff637fa8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4fbc1fe85b99a9702a659af76d84600"><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"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="#ab4fbc1fe85b99a9702a659af76d84600">More...</a><br /></td></tr>
<tr class="separator:ab4fbc1fe85b99a9702a659af76d84600"><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="#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>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a20321bc31518617e151eda906aaea21c"><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"><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="#a20321bc31518617e151eda906aaea21c">More...</a><br /></td></tr>
<tr class="separator:a20321bc31518617e151eda906aaea21c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aac78cfe705679f0059162145e5e3dc"><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"><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="#a2aac78cfe705679f0059162145e5e3dc">More...</a><br /></td></tr>
<tr class="separator:a2aac78cfe705679f0059162145e5e3dc"><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:a9df97521aee735b43a122904f878b5d7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9df97521aee735b43a122904f878b5d7"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>DateFmtKeyByStyle</b></td></tr>
<tr class="separator:a9df97521aee735b43a122904f878b5d7"><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 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="#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>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><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> is an abstract class for a family of classes that convert dates and times from their internal representations to textual form and back again in a language-independent manner. </p>
<p>Converting from the internal representation (milliseconds since midnight, January 1, 1970) to text is known as "formatting," and converting from text to millis is known as "parsing." We currently define only one concrete subclass of <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 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>, which can handle pretty much all normal date formatting and parsing actions. </p>
<p><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> helps you to format and parse dates for any locale. Your code can be completely independent of the locale conventions for months, days of the week, or even the calendar format: lunar vs. solar. </p>
<p>To format a date for the current <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, use one of the static factory methods: </p><pre>
<div class="fragment"><div class="line"><a class="code" href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">DateFormat</a>* dfmt = <a class="code" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">DateFormat::createDateInstance</a>();</div><div class="line"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> myDate = <a class="code" href="classicu_1_1Calendar.html#abd72cd8a3a8fd6052e21f80528a0dd34">Calendar::getNow</a>();</div><div class="line">UnicodeString myString;</div><div class="line">myString = dfmt-&gt;format( myDate, myString );</div></div><!-- fragment -->
</pre><p> If you are formatting multiple numbers, it is more efficient to get the format and use it multiple times so that the system doesn't have to fetch the information about the local language and country conventions multiple times. </p><pre>
<div class="fragment"><div class="line"><a class="code" href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">DateFormat</a>* df = <a class="code" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">DateFormat::createDateInstance</a>();</div><div class="line">UnicodeString myString;</div><div class="line"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> myDateArr[] = { 0.0, 100000000.0, 2000000000.0 }; <span class="comment">// test values</span></div><div class="line"><span class="keywordflow">for</span> (int32_t i = 0; i &lt; 3; ++i) {</div><div class="line">    myString.remove();</div><div class="line">    cout &lt;&lt; df-&gt;format( myDateArr[i], myString ) &lt;&lt; endl;</div><div class="line">}</div></div><!-- fragment -->
</pre><p> To get specific fields of a date, you can use <a class="el" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field. ">UFieldPosition</a> to get specific fields. </p><pre>
<div class="fragment"><div class="line"><a class="code" href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">DateFormat</a>* dfmt = <a class="code" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">DateFormat::createDateInstance</a>();</div><div class="line">FieldPosition pos(DateFormat::YEAR_FIELD);</div><div class="line">UnicodeString myString;</div><div class="line">myString = dfmt-&gt;format( myDate, myString );</div><div class="line">cout &lt;&lt; myString &lt;&lt; endl;</div><div class="line">cout &lt;&lt; pos.getBeginIndex() &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pos. getEndIndex() &lt;&lt; endl;</div></div><!-- fragment -->
</pre><p> To format a date for a different <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, specify it in the call to <a class="el" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499" title="Creates a date formatter with the given formatting style for the given const locale. ">createDateInstance()</a>. </p><pre>
<div class="fragment"><div class="line"><a class="code" href="classicu_1_1DateFormat.html#a0c83b8d083a75bcfc72aa64da0e255e0">DateFormat</a>* df =</div><div class="line">    <a class="code" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499">DateFormat::createDateInstance</a>( DateFormat::SHORT, <a class="code" href="classicu_1_1Locale.html#ad9bd58caef2a7c11588ad8a830d504a9">Locale::getFrance</a>());</div></div><!-- fragment -->
</pre><p> You can use 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> to parse also. </p><pre>
<div class="fragment"><div class="line"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> status = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div><div class="line"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> myDate = df-&gt;parse(myString, status);</div></div><!-- fragment -->
</pre><p> Use <a class="el" href="classicu_1_1DateFormat.html#acaea49f85fe79989f1f2b2b121846499" title="Creates a date formatter with the given formatting style for the given const locale. ">createDateInstance()</a> to produce the normal date format for that country. There are other static factory methods available. Use <a class="el" href="classicu_1_1DateFormat.html#a99cb19962549ceff31e9bcbd674f3fd4" title="Creates a time formatter with the given formatting style for the given locale. ">createTimeInstance()</a> to produce the normal time format for that country. Use <a class="el" href="classicu_1_1DateFormat.html#a8832a3e2606c19ab5dc33db6345d4f5f" title="Creates a date/time formatter with the given formatting styles for the given locale. ">createDateTimeInstance()</a> to produce 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> that formats both date and time. You can pass in different options to these factory methods to control the length of the result; from SHORT to MEDIUM to LONG to FULL. The exact result depends on the locale, but generally: </p><ul type="round">
<li>
SHORT is completely numeric, such as 12/13/52 or 3:30pm </li>
<li>
MEDIUM is longer, such as Jan 12, 1952 </li>
<li>
LONG is longer, such as January 12, 1952 or 3:30:32pm </li>
<li>
FULL is pretty completely specified, such as Tuesday, April 12, 1952 AD or 3:30:42pm PST. </li>
</ul>
<p>You can also set the time zone on the format if you wish. If you want even more control over the format or parsing, (or want to give your users more control), you can try casting 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> you get from the factory methods to 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>. This will work for the majority of countries; just remember to chck <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc" title="ICU4C &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual ICU class. ">getDynamicClassID()</a> before carrying out the cast. </p>
<p>You can also use forms of the parse and format methods with <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> and <a class="el" href="classicu_1_1FieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> to allow you to </p><ul type="round">
<li>
Progressively parse through pieces of a string. </li>
<li>
Align any particular field, or find out where it is for selection on the screen. </li>
</ul>
<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>Definition at line <a class="el" href="datefmt_8h_source.html#l00149">149</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ad13e430a9697228c96ca1f350b3d9317"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1DateFormat.html#ad13e430a9697228c96ca1f350b3d9317">icu::DateFormat::EField</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>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. </p>
<dl class="obsolete"><dt><b><a class="el" href="obsolete.html#_obsolete000001">Obsolete:</a></b></dt><dd>ICU 3.4 use UDateFormatField instead, since this API will be removed in that release </dd></dl>

<p>Definition at line <a class="el" href="datefmt_8h_source.html#l00897">897</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac24ea2d479ab818437dedb3470800dc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">icu::DateFormat::EStyle</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constants for various style patterns. </p>
<p>These reflect the order of items in the DateTimePatterns resource. There are 4 time patterns, 4 date patterns, the default date-time pattern, and 4 date-time patterns. Each block of 4 values in the resource occurs in the order full, long, medium, short. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003281">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ac24ea2d479ab818437dedb3470800dc7ab4dbd844bad9434716ae812fc012784e"></a>FULL&#160;</td><td class="fielddoc">
<p>These constants are provided for backwards compatibility only. </p>
<p>Please use the C++ style constants defined above. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="datefmt_8h_source.html#l00159">159</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1833e0e0e49a4bf63f35c4534afc20bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::DateFormat::~DateFormat </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#_stable003282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0c83b8d083a75bcfc72aa64da0e255e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::DateFormat::DateFormat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>Creates 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> with no <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> or <a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> associated with it. This constructor depends on the subclasses to fill in the calendar and numberFormat fields. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003320">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4b8e2cc498126e569d9173ff637fa8f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::DateFormat::DateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003321">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad2b7aabafbfdc5661ff80bb29f1c5a6b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::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">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#_stable003308">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#ae31e7c215536e358e06af14a273388be">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a6ffd07d528e81bdafd6ca956ff1b2f1e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allows you to set the number formatter. </p>
<p>The caller should not delete the <a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> object after it is adopted by this call. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">formatToAdopt</td><td><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> object to be adopted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003311">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#ad0ddd0f01638e248caed0ee41176db0d">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e9021ee3c6f771410d91fd0a323542"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::adoptTimeZone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>zoneToAdopt</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 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. </p>
<p>The caller no longer owns the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> object and should not delete it after this call. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneToAdopt</td><td>the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> to be adopted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003314">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acaea49f85fe79989f1f2b2b121846499"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createDateInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a>&#160;</td>
          <td class="paramname"><em>style</em> = <code>kDefault</code>, </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>aLocale</em> = <code><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>()</code>&#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>Creates a date formatter with the given formatting style for the given const locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">style</td><td>The given formatting style. For example, SHORT for "M/d/yy" in the US locale. As currently implemented, relative date formatting only affects a limited range of calendar days before or after the current date, based on the CLDR &lt;field type="day"&gt;/&lt;relative&gt; data: For example, in English, "Yesterday", "Today", and "Tomorrow". Outside of this range, dates are formatted using the corresponding non-relative style. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A date formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003297">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8832a3e2606c19ab5dc33db6345d4f5f"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createDateTimeInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a>&#160;</td>
          <td class="paramname"><em>dateStyle</em> = <code>kDefault</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a>&#160;</td>
          <td class="paramname"><em>timeStyle</em> = <code>kDefault</code>, </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>aLocale</em> = <code><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>()</code>&#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>Creates a date/time formatter with the given formatting styles for the given locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dateStyle</td><td>The given formatting style for the date portion of the result. For example, SHORT for "M/d/yy" in the US locale. As currently implemented, relative date formatting only affects a limited range of calendar days before or after the current date, based on the CLDR &lt;field type="day"&gt;/&lt;relative&gt; data: For example, in English, "Yesterday", "Today", and "Tomorrow". Outside of this range, dates are formatted using the corresponding non-relative style. </td></tr>
    <tr><td class="paramname">timeStyle</td><td>The given formatting style for the time portion of the result. For example, SHORT for "h:mm a" in the US locale. Relative time styles are not currently supported. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003298">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab237070c8ffb148e0b09eab32969e1e4"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createInstance </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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>Create a default date/time formatter that uses the SHORT style for both the date and the time. </p>
<dl class="section return"><dt>Returns</dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a461357d3a0a500aae3c508a64f1e2ff3"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createInstanceForSkeleton </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>skeleton</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a date/time formatter for the given skeleton and default locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">skeleton</td><td>The skeleton e.g "yMMMMd." Fields in the skeleton can be in any order, and this method uses the locale to map the skeleton to a pattern that includes locale specific separators with the fields in the appropriate order for that locale. </td></tr>
    <tr><td class="paramname">status</td><td>Any error returned here. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003299">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a class="anchor" id="a7b6e85da2c6cef2d2f6eb8f8469b4bd9"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createInstanceForSkeleton </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>skeleton</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a date/time formatter for the given skeleton and locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">skeleton</td><td>The skeleton e.g "yMMMMd." Fields in the skeleton can be in any order, and this method uses the locale to map the skeleton to a pattern that includes locale specific separators with the fields in the appropriate order for that locale. </td></tr>
    <tr><td class="paramname">locale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">status</td><td>Any error returned here. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003300">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a class="anchor" id="a00e6c6af4db15bc5a0ab31294eb4fce9"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createInstanceForSkeleton </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>
        </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>skeleton</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a date/time formatter for the given skeleton and locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">calendarToAdopt</td><td>the calendar returned <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> is to use. </td></tr>
    <tr><td class="paramname">skeleton</td><td>The skeleton e.g "yMMMMd." Fields in the skeleton can be in any order, and this method uses the locale to map the skeleton to a pattern that includes locale specific separators with the fields in the appropriate order for that locale. </td></tr>
    <tr><td class="paramname">locale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">status</td><td>Any error returned here. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003301">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a class="anchor" id="a99cb19962549ceff31e9bcbd674f3fd4"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>* icu::DateFormat::createTimeInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1DateFormat.html#ac24ea2d479ab818437dedb3470800dc7">EStyle</a>&#160;</td>
          <td class="paramname"><em>style</em> = <code>kDefault</code>, </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>aLocale</em> = <code><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3">Locale::getDefault</a>()</code>&#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>Creates a time formatter with the given formatting style for the given locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">style</td><td>The given formatting style. For example, SHORT for "h:mm a" in the US locale. Relative time styles are not currently supported. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a620a647dcf9ea97d7383ee1efaf182d1"></a>
<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>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</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>, </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><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#_stable003284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Format.html#a68fb0a8875645f7ab11bb5230c03c212">icu::Format</a>.</p>

</div>
</div>
<a class="anchor" id="ae731e34df69969aef4a2aa6a0550935b"></a>
<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>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</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">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> 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 NULL. </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#_stable003285">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Format.html#a3a24241eabda236878b4f93395ca5218">icu::Format</a>.</p>

</div>
</div>
<a class="anchor" id="a2b42f358d3a1d13c19463c759038d45d"></a>
<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>
          <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>fieldPosition</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">pure virtual</span></span>  </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 occurence 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 occurence 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#_stable003286">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#a160b77c19595d59216717e5295c67d93">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a5fcc59b5b5bef36de516b20d8c99f2c9"></a>
<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>
          <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">virtual</span></span>  </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 NULL. </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#_stable003287">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#a7c100170555a46f75f1616b927cb32bc">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a2ce0652db89abd0e10c65b6945754555"></a>
<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>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</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>fieldPosition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</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 occurence 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 occurence 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#_stable003288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a604ec2ba708b11a028daa41cbb3def86"></a>
<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>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</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>
</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 NULL. </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#_stable003289">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="af725c9c8022eb63c09b471c965fbbd97"></a>
<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>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</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>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</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_1DateFormat.html#a620a647dcf9ea97d7383ee1efaf182d1" 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#_stable003290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a06d7ba5aa510615f34a56969218d0cb3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>* icu::DateFormat::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>count</em></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>Gets the set of locales for which DateFormats are installed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Filled in with the number of locales in the list that is returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the set of locales for which DateFormats are installed. The caller does NOT own this list and must not delete it. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a241a8363d7dffba9856e15b75d2dcf01"></a>
<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="classicu_1_1UnicodeString.html">UnicodeString</a> icu::DateFormat::getBestPattern </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">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>skeleton</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the best pattern given a skeleton and locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale </td></tr>
    <tr><td class="paramname">skeleton</td><td>the skeleton </td></tr>
    <tr><td class="paramname">status</td><td>ICU error returned here </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the best pattern. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000306">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. For ICU use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d06e55c601925a398cbc7e0cfe29aed"></a>
<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::DateFormat::getBooleanAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="udat_8h.html#afb77ea9256f65ea466b4c9b73f33bbaa">UDateFormatBooleanAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</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>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. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>the attribute to set </td></tr>
    <tr><td class="paramname">status</td><td>the error type </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the attribute value. Undefined if there is an error. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003319">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

</div>
</div>
<a class="anchor" id="a39968e4559dec65ea6cdaefecaf75eae"></a>
<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_1Calendar.html">Calendar</a>* icu::DateFormat::getCalendar </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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 calendar associated with this date/time formatter. </p>
<p>The calendar is owned by the formatter and must not be modified. Also, the calendar does not reflect the results of a parse operation. To parse to a calendar, use <a class="el" href="classicu_1_1DateFormat.html#a82a10d2a3b70277bd983a638477bf154">parse(const UnicodeString&amp;, Calendar&amp; cal, ParsePosition&amp;)</a> </p><dl class="section return"><dt>Returns</dt><dd>the calendar associated with this date/time formatter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003307">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0bd6451e23bbbc1481cc6d05c14abc4b"></a>
<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="udisplaycontext_8h.html#ac80aa1aceff6c7ad2e9f983a19d8d868">UDisplayContext</a> icu::DateFormat::getContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="udisplaycontext_8h.html#a7ce674e7cd26fb195f7344b861af5427">UDisplayContextType</a>&#160;</td>
          <td class="paramname"><em>type</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>Get the formatter's UDisplayContext value for the specified UDisplayContextType, such as UDISPCTX_TYPE_CAPITALIZATION. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The UDisplayContextType whose value to return </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="section return"><dt>Returns</dt><dd>The UDisplayContextValue for the specified type. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003317">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

</div>
</div>
<a class="anchor" id="a9b1ea4c9e9d39d752328d217a6b63e4c"></a>
<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_1NumberFormat.html">NumberFormat</a>* icu::DateFormat::getNumberFormat </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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 number formatter which this date/time formatter uses to format and parse the numeric portions of the pattern. </p>
<dl class="section return"><dt>Returns</dt><dd>the number formatter which this date/time formatter uses. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003310">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a28504febf0ff6c62a35471eee43437df"></a>
<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_1TimeZone.html">TimeZone</a>&amp; icu::DateFormat::getTimeZone </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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>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. </p>
<dl class="section return"><dt>Returns</dt><dd>the time zone associated with the calendar of <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>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003313">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa76de5a07632b6afd24d76c069a9f8a2"></a>
<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::DateFormat::isCalendarLenient </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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>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. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003305">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

</div>
</div>
<a class="anchor" id="acb4fe7ba25385a2940de3c65d1ebeec6"></a>
<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::DateFormat::isLenient </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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>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. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003303">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab4fbc1fe85b99a9702a659af76d84600"></a>
<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="classicu_1_1DateFormat.html">DateFormat</a>&amp; icu::DateFormat::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default assignment operator. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003322">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a134c773a4c043ad20575fa7059e4e178"></a>
<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::DateFormat::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Format.html">Format</a> &amp;&#160;</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>Equality operator. </p>
<p>Returns true if the two formats have the same behavior. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Format.html#ab2db8f1097b03f3660d329752370bdf7">icu::Format</a>.</p>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#a43717234d8d874f3d125dfb8c4abe95a">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a9333661d4eed01b2aeec20117eaa2797"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::DateFormat::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="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>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_1DateFormat.html#a9333661d4eed01b2aeec20117eaa2797" 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#_stable003291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a82a10d2a3b70277bd983a638477bf154"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::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">pure 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_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#_stable003292">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#ab576174aa7b24446c0042b2fdc152514">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a9fc2286a4d6ab54ba687f5e37f29b70f"></a>
<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>
          <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_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>
</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#_stable003293">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a456b42194cc69e21d47d51219187f2eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::parseObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1Formattable.html">Formattable</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="classicu_1_1ParsePosition.html">ParsePosition</a> &amp;&#160;</td>
          <td class="paramname"><em>parse_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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a string to produce an object. </p>
<p>This methods handles parsing of date/time strings into <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 UDate types. </p>
<p>Before calling, set parse_pos.index to the offset you want to start parsing at in the source. After calling, parse_pos.index is the end of the text you parsed. If error occurs, index is unchanged. </p>
<p>When parsing, leading whitespace is discarded (with a successful parse), while trailing whitespace is left as is. </p>
<p>See <a class="el" href="classicu_1_1Format.html#a292d797eb9d3bc8a42d8d8efba119a83" title="Parse a string to produce an object. ">Format::parseObject()</a> for more.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>The string to be parsed into an object. </td></tr>
    <tr><td class="paramname">result</td><td><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> to be set to the parse result. If parse fails, return contents are undefined. </td></tr>
    <tr><td class="paramname">parse_pos</td><td>The position to start parsing at. Upon return this param is set to the position after the last character successfully parsed. If the source is not parsed successfully, this param will remain unchanged. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Format.html#a292d797eb9d3bc8a42d8d8efba119a83">icu::Format</a>.</p>

</div>
</div>
<a class="anchor" id="a5053113b0512fa35ece9fb3bae2115a8"></a>
<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_1DateFormat.html">DateFormat</a>&amp; icu::DateFormat::setBooleanAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="udat_8h.html#afb77ea9256f65ea466b4c9b73f33bbaa">UDateFormatBooleanAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>newvalue</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>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>. </p>
<p>May return U_UNSUPPORTED_ERROR if this instance does not support the specified attribute. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>the attribute to set </td></tr>
    <tr><td class="paramname">newvalue</td><td>new value </td></tr>
    <tr><td class="paramname">status</td><td>the error type </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>*this - for chaining (example: format.setAttribute(...).setAttribute(...) ) </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003318">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

</div>
</div>
<a class="anchor" id="a7194b6b09c9022ca0fa5505a7139cfc8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::setCalendar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>newCalendar</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 calendar to be used by this date format. </p>
<p>Initially, the default calendar for the specified or default locale is used.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newCalendar</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 set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003309">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4b40d07638285a47689113a920bedf16"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::setCalendarLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>lenient</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>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. </p>
<p>With lenient parsing, the parser may use heuristics to interpret inputs that do not precisely match this object's format. Without lenient parsing, inputs must match this object's format more closely. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lenient</td><td>when true, parsing is lenient </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>com.ibm.icu.util.Calendar::setLenient </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003306">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

</div>
</div>
<a class="anchor" id="ab1c94e06970b2ea74fd1811cdd715576"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::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">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>
<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#_stable003316">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1SimpleDateFormat.html#a5709a0af2774a4b47401c080ced2ee8e">icu::SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a5ed3fc3977aabeae6b0188642cad5d30"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::setLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>lenient</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>Specifies whether date/time parsing is to be lenient. </p>
<p>With lenient parsing, the parser may use heuristics to interpret inputs that do not precisely match this object's format. Without lenient parsing, inputs must match this object's format more closely.</p>
<p>Note: ICU 53 introduced finer grained control of leniency (and added new control points) making the preferred method a combination of <a class="el" href="classicu_1_1DateFormat.html#a4b40d07638285a47689113a920bedf16" title="Specifies whether encapsulated Calendar date/time parsing is to be lenient. ">setCalendarLenient()</a> &amp; <a class="el" href="classicu_1_1DateFormat.html#a5053113b0512fa35ece9fb3bae2115a8" title="Sets an boolean attribute on this DateFormat. ">setBooleanAttribute()</a> calls. This method supports prior functionality but may not support all future leniency control &amp; behavior of <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>. For control of pre 53 leniency, <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> 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 tolerance, this method is safe to use. However, mixing leniency control via this method and modification of the newer attributes via <a class="el" href="classicu_1_1DateFormat.html#a5053113b0512fa35ece9fb3bae2115a8" title="Sets an boolean attribute on this DateFormat. ">setBooleanAttribute()</a> may produce undesirable results.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lenient</td><td>True specifies date/time interpretation to be lenient. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a29c0974167c4d5b3570a87a55935224b" title="Specifies whether or not date/time interpretation is to be lenient. ">Calendar::setLenient</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003304">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaaf7de99af3a3c196c0e1790c97acd0d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::setNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1NumberFormat.html">NumberFormat</a> &amp;&#160;</td>
          <td class="paramname"><em>newNumberFormat</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>Allows you to set the number formatter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newNumberFormat</td><td><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> object to be set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003312">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6ce5ca3c47e69e0d14a632fe8afc9a91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::DateFormat::setTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</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 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. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>the new time zone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003315">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a20321bc31518617e151eda906aaea21c"></a>
<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="classicu_1_1Calendar.html">Calendar</a>* icu::DateFormat::fCalendar</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>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. </p>
<p>Subclasses should generally initialize this to the default calendar for the locale associated with 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>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003323">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="datefmt_8h_source.html#l00857">857</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2aac78cfe705679f0059162145e5e3dc"></a>
<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="classicu_1_1NumberFormat.html">NumberFormat</a>* icu::DateFormat::fNumberFormat</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>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. </p>
<p>Subclasses should generally initialize this to the default number format for the locale associated with 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>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003324">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="datefmt_8h_source.html#l00865">865</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="datefmt_8h_source.html">datefmt.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>