Sophie

Sophie

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

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: datefmt.h Source File</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><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><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="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>datefmt.h</h1><a href="datefmt_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> ********************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment"> *   Copyright (C) 1997-2010, International Business Machines</span>
<a name="l00004"></a>00004 <span class="comment"> *   Corporation and others.  All Rights Reserved.</span>
<a name="l00005"></a>00005 <span class="comment"> ********************************************************************************</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * File DATEFMT.H</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * Modification History:</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> *   Date        Name        Description</span>
<a name="l00012"></a>00012 <span class="comment"> *   02/19/97    aliu        Converted from java.</span>
<a name="l00013"></a>00013 <span class="comment"> *   04/01/97    aliu        Added support for centuries.</span>
<a name="l00014"></a>00014 <span class="comment"> *   07/23/98    stephen     JDK 1.2 sync</span>
<a name="l00015"></a>00015 <span class="comment"> *   11/15/99    weiv        Added support for week of year/day of week formatting</span>
<a name="l00016"></a>00016 <span class="comment"> ********************************************************************************</span>
<a name="l00017"></a>00017 <span class="comment"> */</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef DATEFMT_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define DATEFMT_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="udat_8h.html" title="C API: DateFormat.">unicode/udat.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="calendar_8h.html" title="C++ API: Calendar object.">unicode/calendar.h</a>&quot;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="numfmt_8h.html" title="C++ API: Abstract base class for all number formats.">unicode/numfmt.h</a>&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;<a class="code" href="format_8h.html" title="C++ API: Base class for all formats.">unicode/format.h</a>&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>&quot;</span>
<a name="l00031"></a>00031 
<a name="l00037"></a>00037 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>;
<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classDateTimePatternGenerator.html" title="This class provides flexible generation of date format patterns, like &amp;quot;yy-MM-dd&amp;quot;...">DateTimePatternGenerator</a>;
<a name="l00041"></a>00041 
<a name="l00138"></a><a class="code" href="classDateFormat.html">00138</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from...">U_I18N_API</a> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a> : <span class="keyword">public</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a> {
<a name="l00139"></a>00139 <span class="keyword">public</span>:
<a name="l00140"></a>00140 
<a name="l00148"></a><a class="code" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">00148</a>     <span class="keyword">enum</span> <a class="code" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d" title="Constants for various style patterns.">EStyle</a>
<a name="l00149"></a>00149     {
<a name="l00150"></a>00150         kNone   = -1,
<a name="l00151"></a>00151 
<a name="l00152"></a>00152         kFull   = 0,
<a name="l00153"></a>00153         kLong   = 1,
<a name="l00154"></a>00154         kMedium = 2,
<a name="l00155"></a>00155         kShort  = 3,
<a name="l00156"></a>00156 
<a name="l00157"></a>00157         kDateOffset   = kShort + 1,
<a name="l00158"></a>00158      <span class="comment">// kFull   + kDateOffset = 4</span>
<a name="l00159"></a>00159      <span class="comment">// kLong   + kDateOffset = 5</span>
<a name="l00160"></a>00160      <span class="comment">// kMedium + kDateOffset = 6</span>
<a name="l00161"></a>00161      <span class="comment">// kShort  + kDateOffset = 7</span>
<a name="l00162"></a>00162 
<a name="l00163"></a>00163         kDateTime             = 8,
<a name="l00164"></a>00164      <span class="comment">// Default DateTime</span>
<a name="l00165"></a>00165 
<a name="l00166"></a>00166         kDateTimeOffset = kDateTime + 1,
<a name="l00167"></a>00167      <span class="comment">// kFull   + kDateTimeOffset = 9</span>
<a name="l00168"></a>00168      <span class="comment">// kLong   + kDateTimeOffset = 10</span>
<a name="l00169"></a>00169      <span class="comment">// kMedium + kDateTimeOffset = 11</span>
<a name="l00170"></a>00170      <span class="comment">// kShort  + kDateTimeOffset = 12</span>
<a name="l00171"></a>00171 
<a name="l00172"></a>00172         <span class="comment">// relative dates</span>
<a name="l00173"></a>00173         kRelative = (1 &lt;&lt; 7),
<a name="l00174"></a>00174 
<a name="l00175"></a>00175         kFullRelative = (kFull | kRelative),
<a name="l00176"></a>00176 
<a name="l00177"></a>00177         kLongRelative = kLong | kRelative,
<a name="l00178"></a>00178 
<a name="l00179"></a>00179         kMediumRelative = kMedium | kRelative,
<a name="l00180"></a>00180 
<a name="l00181"></a>00181         kShortRelative = kShort | kRelative,
<a name="l00182"></a>00182 
<a name="l00183"></a>00183 
<a name="l00184"></a>00184         kDefault      = kMedium,
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 
<a name="l00192"></a><a class="code" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04da61bcc8b716ce88570990bc538ab0e770">00192</a>         FULL        = kFull,
<a name="l00193"></a>00193         LONG        = kLong,
<a name="l00194"></a>00194         MEDIUM        = kMedium,
<a name="l00195"></a>00195         SHORT        = kShort,
<a name="l00196"></a>00196         DEFAULT        = kDefault,
<a name="l00197"></a>00197         DATE_OFFSET    = kDateOffset,
<a name="l00198"></a>00198         NONE        = kNone,
<a name="l00199"></a>00199         DATE_TIME    = kDateTime
<a name="l00200"></a>00200     };
<a name="l00201"></a>00201 
<a name="l00206"></a>00206     <span class="keyword">virtual</span> ~<a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>();
<a name="l00207"></a>00207 
<a name="l00212"></a>00212     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classFormat.html#ad9be7e8b7bef97013ff74ef1be3903a5" title="Return true if the given Format objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a>&amp;) <span class="keyword">const</span>;
<a name="l00213"></a>00213 
<a name="l00214"></a>00214 
<a name="l00215"></a>00215     <span class="keyword">using</span> <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">Format::format</a>;
<a name="l00216"></a>00216 
<a name="l00231"></a>00231     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00232"></a>00232                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00233"></a>00233                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos,
<a name="l00234"></a>00234                                   <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>&amp; status) <span class="keyword">const</span>;
<a name="l00235"></a>00235 
<a name="l00251"></a>00251     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00252"></a>00252                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00253"></a>00253                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00254"></a>00254                                   <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>&amp; status) <span class="keyword">const</span>;
<a name="l00288"></a>00288     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(  <a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>&amp; cal,
<a name="l00289"></a>00289                                     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00290"></a>00290                                     <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; fieldPosition) <span class="keyword">const</span> = 0;
<a name="l00291"></a>00291 
<a name="l00310"></a>00310     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>&amp; cal,
<a name="l00311"></a>00311                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00312"></a>00312                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00313"></a>00313                                   <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>&amp; status) <span class="keyword">const</span>;
<a name="l00341"></a>00341     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date,
<a name="l00342"></a>00342                             <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00343"></a>00343                             <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; fieldPosition) <span class="keyword">const</span>;
<a name="l00344"></a>00344 
<a name="l00358"></a>00358     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date,
<a name="l00359"></a>00359                           <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00360"></a>00360                           <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00361"></a>00361                           <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>&amp; status) <span class="keyword">const</span>;
<a name="l00373"></a>00373     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo) <span class="keyword">const</span>;
<a name="l00374"></a>00374 
<a name="l00385"></a>00385     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00386"></a>00386                           <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00387"></a>00387                           <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>&amp; status) <span class="keyword">const</span>;
<a name="l00388"></a>00388 
<a name="l00399"></a>00399     <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> parse( <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00400"></a>00400                         <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>&amp; status) <span class="keyword">const</span>;
<a name="l00401"></a>00401 
<a name="l00428"></a>00428     <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse( <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00429"></a>00429                         <a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>&amp; cal,
<a name="l00430"></a>00430                         <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; pos) <span class="keyword">const</span> = 0;
<a name="l00431"></a>00431 
<a name="l00451"></a>00451     <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> parse( <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00452"></a>00452                  <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; pos) <span class="keyword">const</span>;
<a name="l00453"></a>00453 
<a name="l00480"></a>00480     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFormat.html#aa53bea97b986c2f21e5638aa30aa08b7" title="Parse a string to produce an object.">parseObject</a>(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; source,
<a name="l00481"></a>00481                              <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; result,
<a name="l00482"></a>00482                              <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; parse_pos) <span class="keyword">const</span>;
<a name="l00483"></a>00483 
<a name="l00491"></a>00491     <span class="keyword">static</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<span class="keywordtype">void</span>);
<a name="l00492"></a>00492 
<a name="l00504"></a>00504     <span class="keyword">static</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createTimeInstance(EStyle style = kDefault,
<a name="l00505"></a>00505                                           <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; aLocale = <a class="code" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c" title="Common methods of getting the current default Locale.">Locale::getDefault</a>());
<a name="l00506"></a>00506 
<a name="l00517"></a>00517     <span class="keyword">static</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createDateInstance(EStyle style = kDefault,
<a name="l00518"></a>00518                                           <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; aLocale = <a class="code" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c" title="Common methods of getting the current default Locale.">Locale::getDefault</a>());
<a name="l00519"></a>00519 
<a name="l00533"></a>00533     <span class="keyword">static</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createDateTimeInstance(EStyle dateStyle = kDefault,
<a name="l00534"></a>00534                                               EStyle timeStyle = kDefault,
<a name="l00535"></a>00535                                               <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; aLocale = <a class="code" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c" title="Common methods of getting the current default Locale.">Locale::getDefault</a>());
<a name="l00536"></a>00536 
<a name="l00544"></a>00544     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getAvailableLocales(int32_t&amp; count);
<a name="l00545"></a>00545 
<a name="l00550"></a>00550     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isLenient(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00551"></a>00551 
<a name="l00562"></a>00562     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLenient(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> lenient);
<a name="l00563"></a>00563 
<a name="l00569"></a>00569     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>* getCalendar(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00570"></a>00570 
<a name="l00580"></a>00580     <span class="keyword">virtual</span> <span class="keywordtype">void</span> adoptCalendar(<a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>* calendarToAdopt);
<a name="l00581"></a>00581 
<a name="l00589"></a>00589     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCalendar(<span class="keyword">const</span> <a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>&amp; newCalendar);
<a name="l00590"></a>00590 
<a name="l00591"></a>00591 
<a name="l00598"></a>00598     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* getNumberFormat(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00599"></a>00599 
<a name="l00606"></a>00606     <span class="keyword">virtual</span> <span class="keywordtype">void</span> adoptNumberFormat(<a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* formatToAdopt);
<a name="l00607"></a>00607 
<a name="l00613"></a>00613     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNumberFormat(<span class="keyword">const</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>&amp; newNumberFormat);
<a name="l00614"></a>00614 
<a name="l00620"></a>00620     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>&amp; getTimeZone(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00621"></a>00621 
<a name="l00628"></a>00628     <span class="keyword">virtual</span> <span class="keywordtype">void</span> adoptTimeZone(<a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>* zoneToAdopt);
<a name="l00629"></a>00629 
<a name="l00635"></a>00635     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTimeZone(<span class="keyword">const</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>&amp; zone);
<a name="l00636"></a>00636 
<a name="l00637"></a>00637 <span class="keyword">protected</span>:
<a name="l00644"></a>00644     <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>();
<a name="l00645"></a>00645 
<a name="l00650"></a>00650     <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>(<span class="keyword">const</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>&amp;);
<a name="l00651"></a>00651 
<a name="l00656"></a>00656     <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>&amp; <a class="code" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a>(<span class="keyword">const</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>&amp;);
<a name="l00657"></a>00657 
<a name="l00664"></a><a class="code" href="classDateFormat.html#a1c6089b62ba441c5ece52fd7650b3403">00664</a>     <a class="code" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set...">Calendar</a>* fCalendar;
<a name="l00665"></a>00665 
<a name="l00672"></a><a class="code" href="classDateFormat.html#a418c15b2f4b0717fb40b2a189e230ad4">00672</a>     <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* fNumberFormat;
<a name="l00673"></a>00673 
<a name="l00674"></a>00674 <span class="keyword">private</span>:
<a name="l00683"></a>00683     <span class="keyword">static</span> <a class="code" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times...">DateFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> create(<a class="code" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d" title="Constants for various style patterns.">EStyle</a> timeStyle, <a class="code" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d" title="Constants for various style patterns.">EStyle</a> dateStyle, <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp;);
<a name="l00684"></a>00684 
<a name="l00685"></a>00685 <span class="keyword">public</span>:
<a name="l00691"></a><a class="code" href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">00691</a>     <span class="keyword">enum</span> <a class="code" href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a" title="Field selector for FieldPosition for DateFormat fields.">EField</a>
<a name="l00692"></a>00692     {
<a name="l00693"></a>00693         <span class="comment">// Obsolete; use UDateFormatField instead</span>
<a name="l00694"></a>00694         kEraField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a7b9dc14d6e8dbb3ae0ca14397c843419" title="FieldPosition and UFieldPosition selector for &amp;#39;G&amp;#39; field alignment, corresponding...">UDAT_ERA_FIELD</a>,
<a name="l00695"></a>00695         kYearField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a750478092f23a7c078b3ed1cd24df854" title="FieldPosition and UFieldPosition selector for &amp;#39;y&amp;#39; field alignment, corresponding...">UDAT_YEAR_FIELD</a>,
<a name="l00696"></a>00696         kMonthField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a3ea582085a5a962fadbcfa28becd499d" title="FieldPosition and UFieldPosition selector for &amp;#39;M&amp;#39; field alignment, corresponding...">UDAT_MONTH_FIELD</a>,
<a name="l00697"></a>00697         kDateField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a2d5073e5d56ac063b4987d1c4377eb5f" title="FieldPosition and UFieldPosition selector for &amp;#39;d&amp;#39; field alignment, corresponding...">UDAT_DATE_FIELD</a>,
<a name="l00698"></a>00698         kHourOfDay1Field = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2afd96102e0a2e8a4400c19dc5eaaf2f26" title="FieldPosition and UFieldPosition selector for &amp;#39;k&amp;#39; field alignment, corresponding...">UDAT_HOUR_OF_DAY1_FIELD</a>,
<a name="l00699"></a>00699         kHourOfDay0Field = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ae7769f40d8715667739098650b8f295d" title="FieldPosition and UFieldPosition selector for &amp;#39;H&amp;#39; field alignment, corresponding...">UDAT_HOUR_OF_DAY0_FIELD</a>,
<a name="l00700"></a>00700         kMinuteField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ab3ae4f1a655e29ba328a5655615e84b2" title="FieldPosition and UFieldPosition selector for &amp;#39;m&amp;#39; field alignment, corresponding...">UDAT_MINUTE_FIELD</a>,
<a name="l00701"></a>00701         kSecondField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aacac57ee221ca3fc2d77017174102575" title="FieldPosition and UFieldPosition selector for &amp;#39;s&amp;#39; field alignment, corresponding...">UDAT_SECOND_FIELD</a>,
<a name="l00702"></a>00702         kMillisecondField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a8b3e23d274c00057bb59072b9e79f537" title="FieldPosition and UFieldPosition selector for &amp;#39;S&amp;#39; field alignment, corresponding...">UDAT_FRACTIONAL_SECOND_FIELD</a>,
<a name="l00703"></a>00703         kDayOfWeekField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a6b1e5ebf71b28539c0a3fcf9b8523bed" title="FieldPosition and UFieldPosition selector for &amp;#39;E&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_WEEK_FIELD</a>,
<a name="l00704"></a>00704         kDayOfYearField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a861a2b15e89a15657ba310adf3c0aecc" title="FieldPosition and UFieldPosition selector for &amp;#39;D&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_YEAR_FIELD</a>,
<a name="l00705"></a>00705         kDayOfWeekInMonthField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aa0a19a9f4ffd5e77b9492769bed5a265" title="FieldPosition and UFieldPosition selector for &amp;#39;F&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_WEEK_IN_MONTH_FIELD</a>,
<a name="l00706"></a>00706         kWeekOfYearField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ad0d5bd40929516f78356aa44dadbe831" title="FieldPosition and UFieldPosition selector for &amp;#39;w&amp;#39; field alignment, corresponding...">UDAT_WEEK_OF_YEAR_FIELD</a>,
<a name="l00707"></a>00707         kWeekOfMonthField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a874399459c1b2960852d407e41a126b3" title="FieldPosition and UFieldPosition selector for &amp;#39;W&amp;#39; field alignment, corresponding...">UDAT_WEEK_OF_MONTH_FIELD</a>,
<a name="l00708"></a>00708         kAmPmField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a0d598f4d4a10991bba38caa7202b6b58" title="FieldPosition and UFieldPosition selector for &amp;#39;a&amp;#39; field alignment, corresponding...">UDAT_AM_PM_FIELD</a>,
<a name="l00709"></a>00709         kHour1Field = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aafe6cd2e2e49e22447c7b524484b822d" title="FieldPosition and UFieldPosition selector for &amp;#39;h&amp;#39; field alignment, corresponding...">UDAT_HOUR1_FIELD</a>,
<a name="l00710"></a>00710         kHour0Field = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2abe3f2cf1247aada106b0ab1270e1e9c8" title="FieldPosition and UFieldPosition selector for &amp;#39;K&amp;#39; field alignment, corresponding...">UDAT_HOUR0_FIELD</a>,
<a name="l00711"></a>00711         kTimezoneField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a1e5c8255271b95117bad5bf8515a646c" title="FieldPosition and UFieldPosition selector for &amp;#39;z&amp;#39; field alignment, corresponding...">UDAT_TIMEZONE_FIELD</a>,
<a name="l00712"></a>00712         kYearWOYField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ac09a069a84b14d7559c5d7e34b08df35" title="FieldPosition and UFieldPosition selector for &amp;#39;Y&amp;#39; field alignment, corresponding...">UDAT_YEAR_WOY_FIELD</a>,
<a name="l00713"></a>00713         kDOWLocalField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a1f0d0b3a3282c4be930bed3b76a3e686" title="FieldPosition and UFieldPosition selector for &amp;#39;e&amp;#39; field alignment, corresponding...">UDAT_DOW_LOCAL_FIELD</a>,
<a name="l00714"></a>00714         kExtendedYearField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a54f345c72f8cb6329ded6af16df0625f" title="FieldPosition and UFieldPosition selector for &amp;#39;u&amp;#39; field alignment, corresponding...">UDAT_EXTENDED_YEAR_FIELD</a>,
<a name="l00715"></a>00715         kJulianDayField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a4ffdbeb31bc6e02bd18cd94605eb4a3e" title="FieldPosition and UFieldPosition selector for &amp;#39;g&amp;#39; field alignment, corresponding...">UDAT_JULIAN_DAY_FIELD</a>,
<a name="l00716"></a>00716         kMillisecondsInDayField = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a6bbea5dc13d36a9b024582e35150cc2b" title="FieldPosition and UFieldPosition selector for &amp;#39;A&amp;#39; field alignment, corresponding...">UDAT_MILLISECONDS_IN_DAY_FIELD</a>,
<a name="l00717"></a>00717 
<a name="l00718"></a>00718         <span class="comment">// Obsolete; use UDateFormatField instead</span>
<a name="l00719"></a>00719         ERA_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a7b9dc14d6e8dbb3ae0ca14397c843419" title="FieldPosition and UFieldPosition selector for &amp;#39;G&amp;#39; field alignment, corresponding...">UDAT_ERA_FIELD</a>,
<a name="l00720"></a>00720         YEAR_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a750478092f23a7c078b3ed1cd24df854" title="FieldPosition and UFieldPosition selector for &amp;#39;y&amp;#39; field alignment, corresponding...">UDAT_YEAR_FIELD</a>,
<a name="l00721"></a>00721         MONTH_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a3ea582085a5a962fadbcfa28becd499d" title="FieldPosition and UFieldPosition selector for &amp;#39;M&amp;#39; field alignment, corresponding...">UDAT_MONTH_FIELD</a>,
<a name="l00722"></a>00722         DATE_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a2d5073e5d56ac063b4987d1c4377eb5f" title="FieldPosition and UFieldPosition selector for &amp;#39;d&amp;#39; field alignment, corresponding...">UDAT_DATE_FIELD</a>,
<a name="l00723"></a>00723         HOUR_OF_DAY1_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2afd96102e0a2e8a4400c19dc5eaaf2f26" title="FieldPosition and UFieldPosition selector for &amp;#39;k&amp;#39; field alignment, corresponding...">UDAT_HOUR_OF_DAY1_FIELD</a>,
<a name="l00724"></a>00724         HOUR_OF_DAY0_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ae7769f40d8715667739098650b8f295d" title="FieldPosition and UFieldPosition selector for &amp;#39;H&amp;#39; field alignment, corresponding...">UDAT_HOUR_OF_DAY0_FIELD</a>,
<a name="l00725"></a>00725         MINUTE_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ab3ae4f1a655e29ba328a5655615e84b2" title="FieldPosition and UFieldPosition selector for &amp;#39;m&amp;#39; field alignment, corresponding...">UDAT_MINUTE_FIELD</a>,
<a name="l00726"></a>00726         SECOND_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aacac57ee221ca3fc2d77017174102575" title="FieldPosition and UFieldPosition selector for &amp;#39;s&amp;#39; field alignment, corresponding...">UDAT_SECOND_FIELD</a>,
<a name="l00727"></a>00727         MILLISECOND_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a8b3e23d274c00057bb59072b9e79f537" title="FieldPosition and UFieldPosition selector for &amp;#39;S&amp;#39; field alignment, corresponding...">UDAT_FRACTIONAL_SECOND_FIELD</a>,
<a name="l00728"></a>00728         DAY_OF_WEEK_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a6b1e5ebf71b28539c0a3fcf9b8523bed" title="FieldPosition and UFieldPosition selector for &amp;#39;E&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_WEEK_FIELD</a>,
<a name="l00729"></a>00729         DAY_OF_YEAR_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a861a2b15e89a15657ba310adf3c0aecc" title="FieldPosition and UFieldPosition selector for &amp;#39;D&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_YEAR_FIELD</a>,
<a name="l00730"></a>00730         DAY_OF_WEEK_IN_MONTH_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aa0a19a9f4ffd5e77b9492769bed5a265" title="FieldPosition and UFieldPosition selector for &amp;#39;F&amp;#39; field alignment, corresponding...">UDAT_DAY_OF_WEEK_IN_MONTH_FIELD</a>,
<a name="l00731"></a>00731         WEEK_OF_YEAR_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2ad0d5bd40929516f78356aa44dadbe831" title="FieldPosition and UFieldPosition selector for &amp;#39;w&amp;#39; field alignment, corresponding...">UDAT_WEEK_OF_YEAR_FIELD</a>,
<a name="l00732"></a>00732         WEEK_OF_MONTH_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a874399459c1b2960852d407e41a126b3" title="FieldPosition and UFieldPosition selector for &amp;#39;W&amp;#39; field alignment, corresponding...">UDAT_WEEK_OF_MONTH_FIELD</a>,
<a name="l00733"></a>00733         AM_PM_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a0d598f4d4a10991bba38caa7202b6b58" title="FieldPosition and UFieldPosition selector for &amp;#39;a&amp;#39; field alignment, corresponding...">UDAT_AM_PM_FIELD</a>,
<a name="l00734"></a>00734         HOUR1_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2aafe6cd2e2e49e22447c7b524484b822d" title="FieldPosition and UFieldPosition selector for &amp;#39;h&amp;#39; field alignment, corresponding...">UDAT_HOUR1_FIELD</a>,
<a name="l00735"></a>00735         HOUR0_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2abe3f2cf1247aada106b0ab1270e1e9c8" title="FieldPosition and UFieldPosition selector for &amp;#39;K&amp;#39; field alignment, corresponding...">UDAT_HOUR0_FIELD</a>,
<a name="l00736"></a>00736         TIMEZONE_FIELD = <a class="code" href="udat_8h.html#adb09b47d4576513229f83f2e8f507fc2a1e5c8255271b95117bad5bf8515a646c" title="FieldPosition and UFieldPosition selector for &amp;#39;z&amp;#39; field alignment, corresponding...">UDAT_TIMEZONE_FIELD</a>
<a name="l00737"></a>00737     };
<a name="l00738"></a>00738 };
<a name="l00739"></a>00739 
<a name="l00740"></a>00740 <span class="keyword">inline</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp;
<a name="l00741"></a><a class="code" href="classDateFormat.html#a5f83e587088badccff4ef25b4b8fcd78">00741</a> <a class="code" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">DateFormat::format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00742"></a>00742                    <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00743"></a>00743                    <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>&amp; status)<span class="keyword"> const </span>{
<a name="l00744"></a>00744     <span class="keywordflow">return</span> <a class="code" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d" title="Format an object to produce a string.">Format::format</a>(obj, appendTo, status);
<a name="l00745"></a>00745 }
<a name="l00746"></a>00746 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a>
<a name="l00747"></a>00747 
<a name="l00748"></a>00748 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span>
<a name="l00749"></a>00749 
<a name="l00750"></a>00750 <span class="preprocessor">#endif // _DATEFMT</span>
<a name="l00751"></a>00751 <span class="preprocessor"></span><span class="comment">//eof</span>
</pre></div></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>