Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 78

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICU 4.4: DateFormat Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>DateFormat Class Reference</h1><!-- doxytag: class="DateFormat" --><!-- doxytag: inherits="Format" -->
<p><a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="#_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 DateFormat:</div>
<div class="dynsection">
 <div class="center">
  <img src="classDateFormat.gif" usemap="#DateFormat_map" alt=""/>
  <map id="DateFormat_map" name="DateFormat_map">
<area href="classFormat.html" alt="Format" shape="rect" coords="0,112,114,136"/>
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,114,80"/>
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,114,24"/>
<area href="classSimpleDateFormat.html" alt="SimpleDateFormat" shape="rect" coords="0,224,114,248"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> { <br/>
&nbsp;&nbsp;<b>kNone</b> =  -1, 
<b>kFull</b> =  0, 
<b>kLong</b> =  1, 
<b>kMedium</b> =  2, 
<br/>
&nbsp;&nbsp;<b>kShort</b> =  3, 
<b>kDateOffset</b> =  kShort + 1, 
<b>kDateTime</b> =  8, 
<b>kDateTimeOffset</b> =  kDateTime + 1, 
<br/>
&nbsp;&nbsp;<b>kRelative</b> =  (1 &lt;&lt; 7), 
<b>kFullRelative</b> =  (kFull | kRelative), 
<b>kLongRelative</b> =  kLong | kRelative, 
<b>kMediumRelative</b> =  kMedium | kRelative, 
<br/>
&nbsp;&nbsp;<b>kShortRelative</b> =  kShort | kRelative, 
<b>kDefault</b> =  kMedium, 
<a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04da61bcc8b716ce88570990bc538ab0e770">FULL</a> =  kFull, 
<b>LONG</b> =  kLong, 
<br/>
&nbsp;&nbsp;<b>MEDIUM</b> =  kMedium, 
<b>SHORT</b> =  kShort, 
<b>DEFAULT</b> =  kDefault, 
<b>DATE_OFFSET</b> =  kDateOffset, 
<br/>
&nbsp;&nbsp;<b>NONE</b> =  kNone, 
<b>DATE_TIME</b> =  kDateTime
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>Constants for various style patterns. </p>
 <a href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">EField</a> { <br/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<b>TIMEZONE_FIELD</b> =  UDAT_TIMEZONE_FIELD
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>Field selector for <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a> for <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> fields. </p>
 <a href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a15ec30ed9553462c326b48d9ee2b9542">~DateFormat</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#a15ec30ed9553462c326b48d9ee2b9542"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a4b11dc83bba269b4a5966b91f0dde5b5">operator==</a> (const <a class="el" href="classFormat.html">Format</a> &amp;) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Equality operator.  <a href="#a4b11dc83bba269b4a5966b91f0dde5b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> an object to produce a string.  <a href="#a75b3bbdb1b728fa9c8ddaa344915427d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#ada22d0b844417bdcf425d5613fd9979e">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> an object to produce a string.  <a href="#ada22d0b844417bdcf425d5613fd9979e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a6a43ee1f7a2db50e70675fe365e26bd5">format</a> (<a class="el" href="classCalendar.html">Calendar</a> &amp;cal, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;fieldPosition) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="#a6a43ee1f7a2db50e70675fe365e26bd5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#aefc3666fdfe047d71f8fcda1b5a0786d">format</a> (<a class="el" href="classCalendar.html">Calendar</a> &amp;cal, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats a date into a date/time string.  <a href="#aefc3666fdfe047d71f8fcda1b5a0786d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a8eef30d8294185a29bc755292219daf7">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;fieldPosition) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#a8eef30d8294185a29bc755292219daf7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a0ffa389af7f314f345ab092e2d8d07cb">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *posIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#a0ffa389af7f314f345ab092e2d8d07cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a85657ecb3891e2f94b7aadcf0741528a">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats a UDate into a date/time string.  <a href="#a85657ecb3891e2f94b7aadcf0741528a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5f83e587088badccff4ef25b4b8fcd78">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> method.  <a href="#a5f83e587088badccff4ef25b4b8fcd78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a9b9493fd564b7268f8e42921e4ac6822">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse a date/time string.  <a href="#a9b9493fd564b7268f8e42921e4ac6822"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a7b659b020ec1dc76c6cc1032b878289c">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classCalendar.html">Calendar</a> &amp;cal, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;pos) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="#a7b659b020ec1dc76c6cc1032b878289c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a3b6df3a263da2d8e4ea72e79a1f61071">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;pos) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse a date/time string beginning at the given parse position.  <a href="#a3b6df3a263da2d8e4ea72e79a1f61071"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a37ffcef643dda5667e736ea715ee9a4d">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;parse_pos) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse a string to produce an object.  <a href="#a37ffcef643dda5667e736ea715ee9a4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a8baf20a26e3c8bd68085c95be83d2aa9">isLenient</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the formatter is set for lenient parsing.  <a href="#a8baf20a26e3c8bd68085c95be83d2aa9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a6b0da8c6169b80f5adafc9099ed29b11">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specify whether or not date/time parsing is to be lenient.  <a href="#a6b0da8c6169b80f5adafc9099ed29b11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a2709a585c8ef4397d5c392c5e8962dc9">getCalendar</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the calendar associated with this date/time formatter.  <a href="#a2709a585c8ef4397d5c392c5e8962dc9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a82d9d571d5764024766bb3750759bb4b">adoptCalendar</a> (<a class="el" href="classCalendar.html">Calendar</a> *calendarToAdopt)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="#a82d9d571d5764024766bb3750759bb4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a630055ba1fe47d7ff32616dd2b18fe7d">setCalendar</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;newCalendar)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the calendar to be used by this date format.  <a href="#a630055ba1fe47d7ff32616dd2b18fe7d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classNumberFormat.html">NumberFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#aec908179e2acbfbf3b15a7e056dc5938">getNumberFormat</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#aec908179e2acbfbf3b15a7e056dc5938"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a647d861ff2b5a8099a014c1f5bf422bf">adoptNumberFormat</a> (<a class="el" href="classNumberFormat.html">NumberFormat</a> *formatToAdopt)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows you to set the number formatter.  <a href="#a647d861ff2b5a8099a014c1f5bf422bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#ac8231aff2cf3d7abe75a6ee18756c67f">setNumberFormat</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &amp;newNumberFormat)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows you to set the number formatter.  <a href="#ac8231aff2cf3d7abe75a6ee18756c67f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a08e6d3b2da81e396953220b0a8f26a15">getTimeZone</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a reference to the <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a> used by this DateFormat's calendar.  <a href="#a08e6d3b2da81e396953220b0a8f26a15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a8158b0bad37c50bfe9f66e6ca2b0a604">adoptTimeZone</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the time zone for the calendar of this <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> object.  <a href="#a8158b0bad37c50bfe9f66e6ca2b0a604"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a3671f7110383b5b0062f5cfbbd22b122">setTimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the time zone for the calendar of this <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> object.  <a href="#a3671f7110383b5b0062f5cfbbd22b122"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a1542fb2dd41dcf16f50b797c9d0d57ed">createInstance</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a default date/time formatter that uses the SHORT style for both the date and the time.  <a href="#a1542fb2dd41dcf16f50b797c9d0d57ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#abfd5a63e39e890a2ff07a5b15ec88a42">createTimeInstance</a> (<a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> style=kDefault, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale=Locale::getDefault())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a time formatter with the given formatting style for the given locale.  <a href="#abfd5a63e39e890a2ff07a5b15ec88a42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380">createDateInstance</a> (<a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> style=kDefault, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale=Locale::getDefault())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a date formatter with the given formatting style for the given const locale.  <a href="#a4421ca0c8b71b078f3ab9433f5413380"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a62fa8d2242bc72e5737131925f478453">createDateTimeInstance</a> (<a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> dateStyle=kDefault, <a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> timeStyle=kDefault, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale=Locale::getDefault())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a date/time formatter with the given formatting styles for the given locale.  <a href="#a62fa8d2242bc72e5737131925f478453"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5934ceffff9eafdd3edeb466a2a619e1">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the set of locales for which DateFormats are installed.  <a href="#a5934ceffff9eafdd3edeb466a2a619e1"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5d5c353fee433a94c298643a40886642">DateFormat</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#a5d5c353fee433a94c298643a40886642"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#ab370602cca07d66a02607e2a0a9f12e6">DateFormat</a> (const <a class="el" href="classDateFormat.html">DateFormat</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#ab370602cca07d66a02607e2a0a9f12e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateFormat.html">DateFormat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#acc1631f81d9ce43f827a88a92e9e3b6a">operator=</a> (const <a class="el" href="classDateFormat.html">DateFormat</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default assignment operator.  <a href="#acc1631f81d9ce43f827a88a92e9e3b6a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a1c6089b62ba441c5ece52fd7650b3403">fCalendar</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The calendar that <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> uses to produce the time field values needed to implement date/time formatting.  <a href="#a1c6089b62ba441c5ece52fd7650b3403"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNumberFormat.html">NumberFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a418c15b2f4b0717fb40b2a189e230ad4">fNumberFormat</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number formatter that <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> uses to format numbers in dates and times.  <a href="#a418c15b2f4b0717fb40b2a189e230ad4"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>: <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent...">SimpleDateFormat</a>, which can handle pretty much all normal date formatting and parsing actions. </p>
<p><a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="classLocale.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"><pre class="fragment">      <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* dfmt = <a class="code" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" title="Creates a date formatter with the given formatting style for the given const locale...">DateFormat::createDateInstance</a>();
      <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> myDate = <a class="code" href="classCalendar.html#aab1712ccf7b261332a4d14c71dc6994e" title="Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70...">Calendar::getNow</a>();
      <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> myString;
      myString = dfmt-&gt;<a class="code" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">format</a>( myDate, myString );
</pre></div>
 </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"><pre class="fragment">      <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* df = <a class="code" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" title="Creates a date formatter with the given formatting style for the given const locale...">DateFormat::createDateInstance</a>();
      <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> myString;
      <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> myDateArr[] = { 0.0, 100000000.0, 2000000000.0 }; <span class="comment">// test values</span>
      <span class="keywordflow">for</span> (int32_t i = 0; i &lt; 3; ++i) {
          myString.<a class="code" href="classUnicodeString.html#aee0fec9568ee616e330627bf371eda8d" title="Remove all characters from the UnicodeString object.">remove</a>();
          cout &lt;&lt; df-&gt;<a class="code" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">format</a>( myDateArr[i], myString ) &lt;&lt; endl;
      }
</pre></div>
 </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"><pre class="fragment">      <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* dfmt = <a class="code" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" title="Creates a date formatter with the given formatting style for the given const locale...">DateFormat::createDateInstance</a>();
      <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a> pos(DateFormat::YEAR_FIELD);
      <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> myString;
      myString = dfmt-&gt;<a class="code" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">format</a>( myDate, myString );
      cout &lt;&lt; myString &lt;&lt; endl;
      cout &lt;&lt; pos.getBeginIndex() &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; pos. getEndIndex() &lt;&lt; endl;
</pre></div>
 </pre><p> To format a date for a different <a class="el" href="classLocale.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="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" title="Creates a date formatter with the given formatting style for the given const locale...">createDateInstance()</a>. </p>
<pre>
 <div class="fragment"><pre class="fragment">       <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* df =
           <a class="code" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" title="Creates a date formatter with the given formatting style for the given const locale...">DateFormat::createDateInstance</a>( DateFormat::SHORT, <a class="code" href="classLocale.html#aa19e5f0ac81c6c7fd9c13d7515608ebd" title="Useful constant for this country/region.">Locale::getFrance</a>());
</pre></div>
 </pre><p> You can use a <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> to parse also. </p>
<pre>
 <div class="fragment"><pre class="fragment">       <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> status = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9" title="No error, no warning.">U_ZERO_ERROR</a>;
       <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> myDate = df-&gt;<a class="code" href="classDateFormat.html#a9b9493fd564b7268f8e42921e4ac6822" title="Parse a date/time string.">parse</a>(myString, status);
</pre></div>
 </pre><p> Use <a class="el" href="classDateFormat.html#a4421ca0c8b71b078f3ab9433f5413380" 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="classDateFormat.html#abfd5a63e39e890a2ff07a5b15ec88a42" 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="classDateFormat.html#a62fa8d2242bc72e5737131925f478453" title="Creates a date/time formatter with the given formatting styles for the given locale...">createDateTimeInstance()</a> to produce a <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> you get from the factory methods to a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent...">SimpleDateFormat</a>. This will work for the majority of countries; just remember to chck <a class="el" href="classFormat.html#ac961d410d174518e5a3ebb8bbef45cd7" title="Returns a unique class ID POLYMORPHICALLY.">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="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a> and <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">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#l00138">138</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a2bdbb8f1ac253e350dded1bd4cc1105a"></a><!-- doxytag: member="DateFormat::EField" ref="a2bdbb8f1ac253e350dded1bd4cc1105a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">DateFormat::EField</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Field selector for <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a> for <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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#l00691">691</a> of file <a class="el" href="datefmt_8h_source.html">datefmt.h</a>.</p>

</div>
</div>
<a class="anchor" id="a960020b0c7ec1b66798022681473e04d"></a><!-- doxytag: member="DateFormat::EStyle" ref="a960020b0c7ec1b66798022681473e04d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">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#_stable002375">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a960020b0c7ec1b66798022681473e04da61bcc8b716ce88570990bc538ab0e770"></a><!-- doxytag: member="FULL" ref="a960020b0c7ec1b66798022681473e04da61bcc8b716ce88570990bc538ab0e770" args="" -->FULL</em>&nbsp;</td><td>
<p>These constants are provided for backwards compatibility only. </p>
<p>Please use the C++ style constants defined above. </p>
</td></tr>
</table>
</dd>
</dl>

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

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a15ec30ed9553462c326b48d9ee2b9542"></a><!-- doxytag: member="DateFormat::~DateFormat" ref="a15ec30ed9553462c326b48d9ee2b9542" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual DateFormat::~DateFormat </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a5d5c353fee433a94c298643a40886642"></a><!-- doxytag: member="DateFormat::DateFormat" ref="a5d5c353fee433a94c298643a40886642" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateFormat::DateFormat </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>
<p>Creates a <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> with no <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a> or <a class="el" href="classNumberFormat.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#_stable002403">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab370602cca07d66a02607e2a0a9f12e6"></a><!-- doxytag: member="DateFormat::DateFormat" ref="ab370602cca07d66a02607e2a0a9f12e6" args="(const DateFormat &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateFormat::DateFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateFormat.html">DateFormat</a> &amp;&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a82d9d571d5764024766bb3750759bb4b"></a><!-- doxytag: member="DateFormat::adoptCalendar" ref="a82d9d571d5764024766bb3750759bb4b" args="(Calendar *calendarToAdopt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::adoptCalendar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td>
          <td class="paramname"> <em>calendarToAdopt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></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="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a> object after it is adopted by this call. Adopting a new calendar will change to the default symbols.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>calendarToAdopt</em>&nbsp;</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a> object to be adopted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002395">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a66975f632ef7ce796eeaad1e0e6b33b5">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a647d861ff2b5a8099a014c1f5bf422bf"></a><!-- doxytag: member="DateFormat::adoptNumberFormat" ref="a647d861ff2b5a8099a014c1f5bf422bf" args="(NumberFormat *formatToAdopt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::adoptNumberFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classNumberFormat.html">NumberFormat</a> *&nbsp;</td>
          <td class="paramname"> <em>formatToAdopt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></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="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a> object after it is adopted by this call. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>formatToAdopt</em>&nbsp;</td><td><a class="el" href="classNumberFormat.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#_stable002398">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8158b0bad37c50bfe9f66e6ca2b0a604"></a><!-- doxytag: member="DateFormat::adoptTimeZone" ref="a8158b0bad37c50bfe9f66e6ca2b0a604" args="(TimeZone *zoneToAdopt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::adoptTimeZone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td>
          <td class="paramname"> <em>zoneToAdopt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the time zone for the calendar of this <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> object. </p>
<p>The caller no longer owns the <a class="el" href="classTimeZone.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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneToAdopt</em>&nbsp;</td><td>the <a class="el" href="classTimeZone.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#_stable002401">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4421ca0c8b71b078f3ab9433f5413380"></a><!-- doxytag: member="DateFormat::createDateInstance" ref="a4421ca0c8b71b078f3ab9433f5413380" args="(EStyle style=kDefault, const Locale &amp;aLocale=Locale::getDefault())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classDateFormat.html">DateFormat</a>* DateFormat::createDateInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a>&nbsp;</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="classLocale.html">Locale</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aLocale</em> = <code>Locale::getDefault()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a date formatter with the given formatting style for the given const locale. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>The given formatting style. For example, SHORT for "M/d/yy" in the US locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A date formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002389">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a62fa8d2242bc72e5737131925f478453"></a><!-- doxytag: member="DateFormat::createDateTimeInstance" ref="a62fa8d2242bc72e5737131925f478453" args="(EStyle dateStyle=kDefault, EStyle timeStyle=kDefault, const Locale &amp;aLocale=Locale::getDefault())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classDateFormat.html">DateFormat</a>* DateFormat::createDateTimeInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a>&nbsp;</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="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a>&nbsp;</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="classLocale.html">Locale</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aLocale</em> = <code>Locale::getDefault()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a date/time formatter with the given formatting styles for the given locale. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dateStyle</em>&nbsp;</td><td>The given formatting style for the date portion of the result. For example, SHORT for "M/d/yy" in the US locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>timeStyle</em>&nbsp;</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 valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002390">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1542fb2dd41dcf16f50b797c9d0d57ed"></a><!-- doxytag: member="DateFormat::createInstance" ref="a1542fb2dd41dcf16f50b797c9d0d57ed" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classDateFormat.html">DateFormat</a>* DateFormat::createInstance </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></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="return"><dt><b>Returns:</b></dt><dd>A date/time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002387">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abfd5a63e39e890a2ff07a5b15ec88a42"></a><!-- doxytag: member="DateFormat::createTimeInstance" ref="abfd5a63e39e890a2ff07a5b15ec88a42" args="(EStyle style=kDefault, const Locale &amp;aLocale=Locale::getDefault())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classDateFormat.html">DateFormat</a>* DateFormat::createTimeInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a>&nbsp;</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="classLocale.html">Locale</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aLocale</em> = <code>Locale::getDefault()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a time formatter with the given formatting style for the given locale. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</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 valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A time formatter which the caller owns. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002388">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5f83e587088badccff4ef25b4b8fcd78"></a><!-- doxytag: member="DateFormat::format" ref="a5f83e587088badccff4ef25b4b8fcd78" args="(const Formattable &amp;obj, UnicodeString &amp;appendTo, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Redeclared <a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The object to be formatted into a string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param filled with success/failure status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002382">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600">Format</a>.</p>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#aab9dc1c3bc84ac480ee1bc1c05d6126a">SimpleDateFormat</a>.</p>

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

<p>References <a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">format()</a>.</p>

</div>
</div>
<a class="anchor" id="a85657ecb3891e2f94b7aadcf0741528a"></a><!-- doxytag: member="DateFormat::format" ref="a85657ecb3891e2f94b7aadcf0741528a" args="(UDate date, UnicodeString &amp;appendTo) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">format()</a> method which takes a <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; to detect formatting problems.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The UDate value to be formatted into a string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002381">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a89fc0802cd8e84902313b585726c4549">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a0ffa389af7f314f345ab092e2d8d07cb"></a><!-- doxytag: member="DateFormat::format" ref="a0ffa389af7f314f345ab092e2d8d07cb" args="(UDate date, UnicodeString &amp;appendTo, FieldPositionIterator *posIter, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>UDate to be formatted into a date/time string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posIter</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000136">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a6846d871f096d6f51cdc1b48b4efad8a">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a8eef30d8294185a29bc755292219daf7"></a><!-- doxytag: member="DateFormat::format" ref="a8eef30d8294185a29bc755292219daf7" args="(UDate date, UnicodeString &amp;appendTo, FieldPosition &amp;fieldPosition) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>fieldPosition</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a> parameter may have its "field" member filled with an enum value specifying a field. On output, the <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>UDate to be formatted into a date/time string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fieldPosition</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002380">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a9e433ca3258272be455b61f0a06c33eb">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="aefc3666fdfe047d71f8fcda1b5a0786d"></a><!-- doxytag: member="DateFormat::format" ref="aefc3666fdfe047d71f8fcda1b5a0786d" args="(Calendar &amp;cal, UnicodeString &amp;appendTo, FieldPositionIterator *posIter, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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 valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posIter</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000135">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a2d35fb3be6fb7c1b6e45608dfb4a2e67">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a6a43ee1f7a2db50e70675fe365e26bd5"></a><!-- doxytag: member="DateFormat::format" ref="a6a43ee1f7a2db50e70675fe365e26bd5" args="(Calendar &amp;cal, UnicodeString &amp;appendTo, FieldPosition &amp;fieldPosition) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>fieldPosition</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [pure virtual]</code></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="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a> parameter may have its "field" member filled with an enum value specifying a field. On output, the <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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 valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fieldPosition</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002379">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleDateFormat.html#a618b8ffd208cb29851d12d1db5babc49">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="ada22d0b844417bdcf425d5613fd9979e"></a><!-- doxytag: member="DateFormat::format" ref="ada22d0b844417bdcf425d5613fd9979e" args="(const Formattable &amp;obj, UnicodeString &amp;appendTo, FieldPositionIterator *posIter, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPositionIterator.html">FieldPositionIterator</a> *&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> an object to produce a string. </p>
<p>This method handles <a class="el" href="classFormattable.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="classFormattable.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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The object to format. Must be a Date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posIter</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param filled with success/failure status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000134">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classFormat.html#a820c1ea5bf5fd4f65de463a74ddf113e">Format</a>.</p>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a4d850ae27a73071330e44ed64cfc2be9">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a75b3bbdb1b728fa9c8ddaa344915427d"></a><!-- doxytag: member="DateFormat::format" ref="a75b3bbdb1b728fa9c8ddaa344915427d" args="(const Formattable &amp;obj, UnicodeString &amp;appendTo, FieldPosition &amp;pos, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DateFormat::format </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classFormat.html" title="Base class for all formats.">Format</a> an object to produce a string. </p>
<p>This method handles <a class="el" href="classFormattable.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="classFormattable.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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The object to format. Must be a Date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param filled with success/failure status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002378">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classFormat.html#a12ffb857c5c9a553270dfe9a71fbd8e9">Format</a>.</p>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#af969f9c7fbfc2cc9dd861dd011ef94e0">SimpleDateFormat</a>.</p>

<p>Referenced by <a class="el" href="datefmt_8h_source.html#l00741">format()</a>.</p>

</div>
</div>
<a class="anchor" id="a5934ceffff9eafdd3edeb466a2a619e1"></a><!-- doxytag: member="DateFormat::getAvailableLocales" ref="a5934ceffff9eafdd3edeb466a2a619e1" args="(int32_t &amp;count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classLocale.html">Locale</a>* DateFormat::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&nbsp;</td>
          <td class="paramname"> <em>count</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the set of locales for which DateFormats are installed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>Filled in with the number of locales in the list that is returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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#_stable002391">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2709a585c8ef4397d5c392c5e8962dc9"></a><!-- doxytag: member="DateFormat::getCalendar" ref="a2709a585c8ef4397d5c392c5e8962dc9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classCalendar.html">Calendar</a>* DateFormat::getCalendar </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the calendar associated with this date/time formatter. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the calendar associated with this date/time formatter. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002394">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aec908179e2acbfbf3b15a7e056dc5938"></a><!-- doxytag: member="DateFormat::getNumberFormat" ref="aec908179e2acbfbf3b15a7e056dc5938" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classNumberFormat.html">NumberFormat</a>* DateFormat::getNumberFormat </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></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="return"><dt><b>Returns:</b></dt><dd>the number formatter which this date/time formatter uses. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002397">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a08e6d3b2da81e396953220b0a8f26a15"></a><!-- doxytag: member="DateFormat::getTimeZone" ref="a08e6d3b2da81e396953220b0a8f26a15" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classTimeZone.html">TimeZone</a>&amp; DateFormat::getTimeZone </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a reference to the <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a> used by this DateFormat's calendar. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the time zone associated with the calendar of <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002400">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8baf20a26e3c8bd68085c95be83d2aa9"></a><!-- doxytag: member="DateFormat::isLenient" ref="a8baf20a26e3c8bd68085c95be83d2aa9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DateFormat::isLenient </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the formatter is set for lenient parsing. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002392">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acc1631f81d9ce43f827a88a92e9e3b6a"></a><!-- doxytag: member="DateFormat::operator=" ref="acc1631f81d9ce43f827a88a92e9e3b6a" args="(const DateFormat &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateFormat.html">DateFormat</a>&amp; DateFormat::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateFormat.html">DateFormat</a> &amp;&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">Format</a>.</p>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a9150f0dbd293cf22a470e932d77633fe">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a4b11dc83bba269b4a5966b91f0dde5b5"></a><!-- doxytag: member="DateFormat::operator==" ref="a4b11dc83bba269b4a5966b91f0dde5b5" args="(const Format &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DateFormat::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormat.html">Format</a> &amp;&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></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#_stable002377">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a349ffdf4204e4a6b0fec2c473ceaacb3">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a3b6df3a263da2d8e4ea72e79a1f61071"></a><!-- doxytag: member="DateFormat::parse" ref="a3b6df3a263da2d8e4ea72e79a1f61071" args="(const UnicodeString &amp;text, ParsePosition &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> DateFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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="see"><dt><b>See also:</b></dt><dd>DateFormat::setLenient(boolean)</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The date/time string to be parsed </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>A valid UDate if the input could be parsed. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002385">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#a4cfd7300952296fcf2e35ed67e5127dd">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a7b659b020ec1dc76c6cc1032b878289c"></a><!-- doxytag: member="DateFormat::parse" ref="a7b659b020ec1dc76c6cc1032b878289c" args="(const UnicodeString &amp;text, Calendar &amp;cal, ParsePosition &amp;pos) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [pure virtual]</code></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="see"><dt><b>See also:</b></dt><dd>DateFormat::setLenient(boolean)</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The date/time string to be parsed </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> instance, calendar field values will be parsed based on the internal calendar, then the result (time in milliseconds and time zone) will be set in this calendar. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>A valid UDate if the input could be parsed. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002384">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Implemented in <a class="el" href="classSimpleDateFormat.html#a3d26207eb58fd0afc0c41f58e5caf56f">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a9b9493fd564b7268f8e42921e4ac6822"></a><!-- doxytag: member="DateFormat::parse" ref="a9b9493fd564b7268f8e42921e4ac6822" args="(const UnicodeString &amp;text, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> DateFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse a date/time string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The string to be parsed into a UDate value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>The parsed UDate value, if successful. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002383">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classSimpleDateFormat.html#ad824c9ccee2a56fb54c2384989bb80f7">SimpleDateFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a37ffcef643dda5667e736ea715ee9a4d"></a><!-- doxytag: member="DateFormat::parseObject" ref="a37ffcef643dda5667e736ea715ee9a4d" args="(const UnicodeString &amp;source, Formattable &amp;result, ParsePosition &amp;parse_pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::parseObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>parse_pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></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="classFormattable.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="classFormat.html#aa53bea97b986c2f21e5638aa30aa08b7" title="Parse a string to produce an object.">Format::parseObject()</a> for more.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The string to be parsed into an object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td><a class="el" href="classFormattable.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 valign="top"></td><td valign="top"><em>parse_pos</em>&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>A newly created Formattable* object, or NULL on failure. The caller owns this and should delete it when done. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002386">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classFormat.html#aa53bea97b986c2f21e5638aa30aa08b7">Format</a>.</p>

</div>
</div>
<a class="anchor" id="a630055ba1fe47d7ff32616dd2b18fe7d"></a><!-- doxytag: member="DateFormat::setCalendar" ref="a630055ba1fe47d7ff32616dd2b18fe7d" args="(const Calendar &amp;newCalendar)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::setCalendar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newCalendar</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newCalendar</em>&nbsp;</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a> object to be set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002396">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6b0da8c6169b80f5adafc9099ed29b11"></a><!-- doxytag: member="DateFormat::setLenient" ref="a6b0da8c6169b80f5adafc9099ed29b11" args="(UBool lenient)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::setLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>lenient</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify whether or not 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. With strict parsing, inputs must match this object's format.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lenient</em>&nbsp;</td><td>True specifies date/time interpretation to be lenient. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#a7d4084cd44bc04497309e01c161f45ee" 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#_stable002393">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac8231aff2cf3d7abe75a6ee18756c67f"></a><!-- doxytag: member="DateFormat::setNumberFormat" ref="ac8231aff2cf3d7abe75a6ee18756c67f" args="(const NumberFormat &amp;newNumberFormat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::setNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNumberFormat.html">NumberFormat</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newNumberFormat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Allows you to set the number formatter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newNumberFormat</em>&nbsp;</td><td><a class="el" href="classNumberFormat.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#_stable002399">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3671f7110383b5b0062f5cfbbd22b122"></a><!-- doxytag: member="DateFormat::setTimeZone" ref="a3671f7110383b5b0062f5cfbbd22b122" args="(const TimeZone &amp;zone)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DateFormat::setTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>zone</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the time zone for the calendar of this <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zone</em>&nbsp;</td><td>the new time zone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002402">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a1c6089b62ba441c5ece52fd7650b3403"></a><!-- doxytag: member="DateFormat::fCalendar" ref="a1c6089b62ba441c5ece52fd7650b3403" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCalendar.html">Calendar</a>* <a class="el" href="classDateFormat.html#a1c6089b62ba441c5ece52fd7650b3403">DateFormat::fCalendar</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The calendar that <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002406">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a418c15b2f4b0717fb40b2a189e230ad4"></a><!-- doxytag: member="DateFormat::fNumberFormat" ref="a418c15b2f4b0717fb40b2a189e230ad4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNumberFormat.html">NumberFormat</a>* <a class="el" href="classDateFormat.html#a418c15b2f4b0717fb40b2a189e230ad4">DateFormat::fNumberFormat</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The number formatter that <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">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="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002407">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="datefmt_8h_source.html#l00672">672</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>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>