Server IP : 103.119.228.120 / Your IP : 3.135.200.121 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>ICU 4.0.1: SimpleDateFormat Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 4.0.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.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)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">SimpleDateFormat Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> is a concrete class for formatting and parsing dates in a language-independent manner. <a href="classSimpleDateFormat.html#details">More...</a></p> <p><code>#include <<a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>></code></p> <div class="dynheader"> Inheritance diagram for SimpleDateFormat:</div> <div class="dyncontent"> <div class="center"> <img src="classSimpleDateFormat.png" usemap="#SimpleDateFormat_map" alt=""/> <map id="SimpleDateFormat_map" name="SimpleDateFormat_map"> <area href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter..." alt="DateFormat" shape="rect" coords="0,168,114,192"/> <area href="classFormat.html" title="Base class for all formats. " alt="Format" shape="rect" coords="0,112,114,136"/> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,114,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,114,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aac959d0d6f03e31837e1b7221436f65a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#aac959d0d6f03e31837e1b7221436f65a">SimpleDateFormat</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aac959d0d6f03e31837e1b7221436f65a"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the default pattern for the default locale. <a href="#aac959d0d6f03e31837e1b7221436f65a">More...</a><br/></td></tr> <tr class="separator:aac959d0d6f03e31837e1b7221436f65a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af26818e4c01a1a344f95d2742851e6b6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#af26818e4c01a1a344f95d2742851e6b6">SimpleDateFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:af26818e4c01a1a344f95d2742851e6b6"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and the default locale. <a href="#af26818e4c01a1a344f95d2742851e6b6">More...</a><br/></td></tr> <tr class="separator:af26818e4c01a1a344f95d2742851e6b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac327ded362ebd360f3a3c855ddbbfdba"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ac327ded362ebd360f3a3c855ddbbfdba">SimpleDateFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classLocale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ac327ded362ebd360f3a3c855ddbbfdba"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale. <a href="#ac327ded362ebd360f3a3c855ddbbfdba">More...</a><br/></td></tr> <tr class="separator:ac327ded362ebd360f3a3c855ddbbfdba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6d93e872ff95ab9b13797c3c8df36ed4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a6d93e872ff95ab9b13797c3c8df36ed4">SimpleDateFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> *formatDataToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a6d93e872ff95ab9b13797c3c8df36ed4"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. <a href="#a6d93e872ff95ab9b13797c3c8df36ed4">More...</a><br/></td></tr> <tr class="separator:a6d93e872ff95ab9b13797c3c8df36ed4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a698e2c463f36eb98c100d7e6b14df019"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a698e2c463f36eb98c100d7e6b14df019">SimpleDateFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> &formatData, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a698e2c463f36eb98c100d7e6b14df019"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. <a href="#a698e2c463f36eb98c100d7e6b14df019">More...</a><br/></td></tr> <tr class="separator:a698e2c463f36eb98c100d7e6b14df019"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aebfb20e1e8ae1dbc51d4e5ac80f7fa75"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#aebfb20e1e8ae1dbc51d4e5ac80f7fa75">SimpleDateFormat</a> (const <a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a> &)</td></tr> <tr class="memdesc:aebfb20e1e8ae1dbc51d4e5ac80f7fa75"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#aebfb20e1e8ae1dbc51d4e5ac80f7fa75">More...</a><br/></td></tr> <tr class="separator:aebfb20e1e8ae1dbc51d4e5ac80f7fa75"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9150f0dbd293cf22a470e932d77633fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a9150f0dbd293cf22a470e932d77633fe">operator=</a> (const <a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a> &)</td></tr> <tr class="memdesc:a9150f0dbd293cf22a470e932d77633fe"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a9150f0dbd293cf22a470e932d77633fe">More...</a><br/></td></tr> <tr class="separator:a9150f0dbd293cf22a470e932d77633fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4f200518c4e94db50ea6cf44b54a3b5"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ae4f200518c4e94db50ea6cf44b54a3b5">~SimpleDateFormat</a> ()</td></tr> <tr class="memdesc:ae4f200518c4e94db50ea6cf44b54a3b5"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ae4f200518c4e94db50ea6cf44b54a3b5">More...</a><br/></td></tr> <tr class="separator:ae4f200518c4e94db50ea6cf44b54a3b5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7e779c3f80b4bb518e2e4d4907c3db3f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classFormat.html">Format</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a7e779c3f80b4bb518e2e4d4907c3db3f">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a7e779c3f80b4bb518e2e4d4907c3db3f"><td class="mdescLeft"> </td><td class="mdescRight">Clone this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object polymorphically. <a href="#a7e779c3f80b4bb518e2e4d4907c3db3f">More...</a><br/></td></tr> <tr class="separator:a7e779c3f80b4bb518e2e4d4907c3db3f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a349ffdf4204e4a6b0fec2c473ceaacb3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a349ffdf4204e4a6b0fec2c473ceaacb3">operator==</a> (const <a class="el" href="classFormat.html">Format</a> &other) const </td></tr> <tr class="memdesc:a349ffdf4204e4a6b0fec2c473ceaacb3"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. <a href="#a349ffdf4204e4a6b0fec2c473ceaacb3">More...</a><br/></td></tr> <tr class="separator:a349ffdf4204e4a6b0fec2c473ceaacb3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a618b8ffd208cb29851d12d1db5babc49"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a618b8ffd208cb29851d12d1db5babc49">format</a> (<a class="el" href="classCalendar.html">Calendar</a> &cal, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos) const </td></tr> <tr class="memdesc:a618b8ffd208cb29851d12d1db5babc49"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. <a href="#a618b8ffd208cb29851d12d1db5babc49">More...</a><br/></td></tr> <tr class="separator:a618b8ffd208cb29851d12d1db5babc49"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acacf4307ca25a05fdb4672ea50f69bce"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#acacf4307ca25a05fdb4672ea50f69bce">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:acacf4307ca25a05fdb4672ea50f69bce"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. <a href="#acacf4307ca25a05fdb4672ea50f69bce">More...</a><br/></td></tr> <tr class="separator:acacf4307ca25a05fdb4672ea50f69bce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9e433ca3258272be455b61f0a06c33eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a9e433ca3258272be455b61f0a06c33eb">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &fieldPosition) const </td></tr> <tr class="memdesc:a9e433ca3258272be455b61f0a06c33eb"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. <a href="#a9e433ca3258272be455b61f0a06c33eb">More...</a><br/></td></tr> <tr class="separator:a9e433ca3258272be455b61f0a06c33eb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aab9dc1c3bc84ac480ee1bc1c05d6126a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#aab9dc1c3bc84ac480ee1bc1c05d6126a">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:aab9dc1c3bc84ac480ee1bc1c05d6126a"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. <a href="#aab9dc1c3bc84ac480ee1bc1c05d6126a">More...</a><br/></td></tr> <tr class="separator:aab9dc1c3bc84ac480ee1bc1c05d6126a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a89fc0802cd8e84902313b585726c4549"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a89fc0802cd8e84902313b585726c4549">format</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:a89fc0802cd8e84902313b585726c4549"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. <a href="#a89fc0802cd8e84902313b585726c4549">More...</a><br/></td></tr> <tr class="separator:a89fc0802cd8e84902313b585726c4549"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d26207eb58fd0afc0c41f58e5caf56f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a3d26207eb58fd0afc0c41f58e5caf56f">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classCalendar.html">Calendar</a> &cal, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos) const </td></tr> <tr class="memdesc:a3d26207eb58fd0afc0c41f58e5caf56f"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="#a3d26207eb58fd0afc0c41f58e5caf56f">More...</a><br/></td></tr> <tr class="separator:a3d26207eb58fd0afc0c41f58e5caf56f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4cfd7300952296fcf2e35ed67e5127dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a4cfd7300952296fcf2e35ed67e5127dd">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos) const </td></tr> <tr class="memdesc:a4cfd7300952296fcf2e35ed67e5127dd"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string starting at the given parse position. <a href="#a4cfd7300952296fcf2e35ed67e5127dd">More...</a><br/></td></tr> <tr class="separator:a4cfd7300952296fcf2e35ed67e5127dd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad824c9ccee2a56fb54c2384989bb80f7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ad824c9ccee2a56fb54c2384989bb80f7">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ad824c9ccee2a56fb54c2384989bb80f7"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string. <a href="#ad824c9ccee2a56fb54c2384989bb80f7">More...</a><br/></td></tr> <tr class="separator:ad824c9ccee2a56fb54c2384989bb80f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc869d3e1b35b4c8a81e005e3f23c28f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#abc869d3e1b35b4c8a81e005e3f23c28f">set2DigitYearStart</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:abc869d3e1b35b4c8a81e005e3f23c28f"><td class="mdescLeft"> </td><td class="mdescRight">Set the start UDate used to interpret two-digit year strings. <a href="#abc869d3e1b35b4c8a81e005e3f23c28f">More...</a><br/></td></tr> <tr class="separator:abc869d3e1b35b4c8a81e005e3f23c28f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af397530a09c5d705210384b7edd237ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#af397530a09c5d705210384b7edd237ed">get2DigitYearStart</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:af397530a09c5d705210384b7edd237ed"><td class="mdescLeft"> </td><td class="mdescRight">Get the start UDate used to interpret two-digit year strings. <a href="#af397530a09c5d705210384b7edd237ed">More...</a><br/></td></tr> <tr class="separator:af397530a09c5d705210384b7edd237ed"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36952c70a195a18dc2d71e8d8e600d3b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a36952c70a195a18dc2d71e8d8e600d3b">toPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a36952c70a195a18dc2d71e8d8e600d3b"><td class="mdescLeft"> </td><td class="mdescRight">Return a pattern string describing this date format. <a href="#a36952c70a195a18dc2d71e8d8e600d3b">More...</a><br/></td></tr> <tr class="separator:a36952c70a195a18dc2d71e8d8e600d3b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae8afbe51b43dd76856d26b761276b921"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ae8afbe51b43dd76856d26b761276b921">toLocalizedPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ae8afbe51b43dd76856d26b761276b921"><td class="mdescLeft"> </td><td class="mdescRight">Return a localized pattern string describing this date format. <a href="#ae8afbe51b43dd76856d26b761276b921">More...</a><br/></td></tr> <tr class="separator:ae8afbe51b43dd76856d26b761276b921"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad6dcbf05065e6b18ef7985cb2ebc01f2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ad6dcbf05065e6b18ef7985cb2ebc01f2">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern)</td></tr> <tr class="memdesc:ad6dcbf05065e6b18ef7985cb2ebc01f2"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given unlocalized pattern string to this date format. <a href="#ad6dcbf05065e6b18ef7985cb2ebc01f2">More...</a><br/></td></tr> <tr class="separator:ad6dcbf05065e6b18ef7985cb2ebc01f2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab177ad8b128f13bd84c29e419233d3fe"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ab177ad8b128f13bd84c29e419233d3fe">applyLocalizedPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ab177ad8b128f13bd84c29e419233d3fe"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given localized pattern string to this date format. <a href="#ab177ad8b128f13bd84c29e419233d3fe">More...</a><br/></td></tr> <tr class="separator:ab177ad8b128f13bd84c29e419233d3fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb3ffb2587d5070769b73f303b592715"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#afb3ffb2587d5070769b73f303b592715">getDateFormatSymbols</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:afb3ffb2587d5070769b73f303b592715"><td class="mdescLeft"> </td><td class="mdescRight">Gets the date/time formatting symbols (this is an object carrying the various strings and other symbols used in formatting: e.g., month names and abbreviations, time zone names, AM/PM strings, etc.) <a href="#afb3ffb2587d5070769b73f303b592715">More...</a><br/></td></tr> <tr class="separator:afb3ffb2587d5070769b73f303b592715"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad93f7d1db5193ed784cd83ccfb647503"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ad93f7d1db5193ed784cd83ccfb647503">adoptDateFormatSymbols</a> (<a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> *newFormatSymbols)</td></tr> <tr class="memdesc:ad93f7d1db5193ed784cd83ccfb647503"><td class="mdescLeft"> </td><td class="mdescRight">Set the date/time formatting symbols. <a href="#ad93f7d1db5193ed784cd83ccfb647503">More...</a><br/></td></tr> <tr class="separator:ad93f7d1db5193ed784cd83ccfb647503"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a972ac03adeab58abcafd7c6da2bdf913"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a972ac03adeab58abcafd7c6da2bdf913">setDateFormatSymbols</a> (const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> &newFormatSymbols)</td></tr> <tr class="memdesc:a972ac03adeab58abcafd7c6da2bdf913"><td class="mdescLeft"> </td><td class="mdescRight">Set the date/time formatting data. <a href="#a972ac03adeab58abcafd7c6da2bdf913">More...</a><br/></td></tr> <tr class="separator:a972ac03adeab58abcafd7c6da2bdf913"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b106f7a1c7ea5757aaca9cc3a16a348"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a8b106f7a1c7ea5757aaca9cc3a16a348">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a8b106f7a1c7ea5757aaca9cc3a16a348"><td class="mdescLeft"> </td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY. <a href="#a8b106f7a1c7ea5757aaca9cc3a16a348">More...</a><br/></td></tr> <tr class="separator:a8b106f7a1c7ea5757aaca9cc3a16a348"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a66975f632ef7ce796eeaad1e0e6b33b5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a66975f632ef7ce796eeaad1e0e6b33b5">adoptCalendar</a> (<a class="el" href="classCalendar.html">Calendar</a> *calendarToAdopt)</td></tr> <tr class="memdesc:a66975f632ef7ce796eeaad1e0e6b33b5"><td class="mdescLeft"> </td><td class="mdescRight">Set the calendar to be used by this date format. <a href="#a66975f632ef7ce796eeaad1e0e6b33b5">More...</a><br/></td></tr> <tr class="separator:a66975f632ef7ce796eeaad1e0e6b33b5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ace86b45a8051b15dca1b62587aae533c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#ace86b45a8051b15dca1b62587aae533c">isFieldUnitIgnored</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr> <tr class="memdesc:ace86b45a8051b15dca1b62587aae533c"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#ace86b45a8051b15dca1b62587aae533c">More...</a><br/></td></tr> <tr class="separator:ace86b45a8051b15dca1b62587aae533c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a27c253dd7595df456ae736047215109b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a27c253dd7595df456ae736047215109b">getSmpFmtLocale</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a27c253dd7595df456ae736047215109b"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a27c253dd7595df456ae736047215109b">More...</a><br/></td></tr> <tr class="separator:a27c253dd7595df456ae736047215109b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classDateFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classDateFormat.html">DateFormat</a></td></tr> <tr class="memitem:a15ec30ed9553462c326b48d9ee2b9542 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a15ec30ed9553462c326b48d9ee2b9542">~DateFormat</a> ()</td></tr> <tr class="memdesc:a15ec30ed9553462c326b48d9ee2b9542 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a15ec30ed9553462c326b48d9ee2b9542">More...</a><br/></td></tr> <tr class="separator:a15ec30ed9553462c326b48d9ee2b9542 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8eef30d8294185a29bc755292219daf7 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &fieldPosition) const </td></tr> <tr class="memdesc:a8eef30d8294185a29bc755292219daf7 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="#a8eef30d8294185a29bc755292219daf7">More...</a><br/></td></tr> <tr class="separator:a8eef30d8294185a29bc755292219daf7 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85657ecb3891e2f94b7aadcf0741528a inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> &appendTo) const </td></tr> <tr class="memdesc:a85657ecb3891e2f94b7aadcf0741528a inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats a UDate into a date/time string. <a href="#a85657ecb3891e2f94b7aadcf0741528a">More...</a><br/></td></tr> <tr class="separator:a85657ecb3891e2f94b7aadcf0741528a inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f83e587088badccff4ef25b4b8fcd78 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5f83e587088badccff4ef25b4b8fcd78">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a5f83e587088badccff4ef25b4b8fcd78 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method. <a href="#a5f83e587088badccff4ef25b4b8fcd78">More...</a><br/></td></tr> <tr class="separator:a5f83e587088badccff4ef25b4b8fcd78 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3b6df3a263da2d8e4ea72e79a1f61071 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a3b6df3a263da2d8e4ea72e79a1f61071">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos) const </td></tr> <tr class="memdesc:a3b6df3a263da2d8e4ea72e79a1f61071 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a date/time string beginning at the given parse position. <a href="#a3b6df3a263da2d8e4ea72e79a1f61071">More...</a><br/></td></tr> <tr class="separator:a3b6df3a263da2d8e4ea72e79a1f61071 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37ffcef643dda5667e736ea715ee9a4d inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a37ffcef643dda5667e736ea715ee9a4d">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &source, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="classParsePosition.html">ParsePosition</a> &parse_pos) const </td></tr> <tr class="memdesc:a37ffcef643dda5667e736ea715ee9a4d inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a string to produce an object. <a href="#a37ffcef643dda5667e736ea715ee9a4d">More...</a><br/></td></tr> <tr class="separator:a37ffcef643dda5667e736ea715ee9a4d inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8baf20a26e3c8bd68085c95be83d2aa9 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a8baf20a26e3c8bd68085c95be83d2aa9">isLenient</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a8baf20a26e3c8bd68085c95be83d2aa9 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the formatter is set for lenient parsing. <a href="#a8baf20a26e3c8bd68085c95be83d2aa9">More...</a><br/></td></tr> <tr class="separator:a8baf20a26e3c8bd68085c95be83d2aa9 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b0da8c6169b80f5adafc9099ed29b11 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 class="memdesc:a6b0da8c6169b80f5adafc9099ed29b11 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Specify whether or not date/time parsing is to be lenient. <a href="#a6b0da8c6169b80f5adafc9099ed29b11">More...</a><br/></td></tr> <tr class="separator:a6b0da8c6169b80f5adafc9099ed29b11 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2709a585c8ef4397d5c392c5e8962dc9 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a2709a585c8ef4397d5c392c5e8962dc9">getCalendar</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a2709a585c8ef4397d5c392c5e8962dc9 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the calendar associated with this date/time formatter. <a href="#a2709a585c8ef4397d5c392c5e8962dc9">More...</a><br/></td></tr> <tr class="separator:a2709a585c8ef4397d5c392c5e8962dc9 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a630055ba1fe47d7ff32616dd2b18fe7d inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a630055ba1fe47d7ff32616dd2b18fe7d">setCalendar</a> (const <a class="el" href="classCalendar.html">Calendar</a> &newCalendar)</td></tr> <tr class="memdesc:a630055ba1fe47d7ff32616dd2b18fe7d inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Set the calendar to be used by this date format. <a href="#a630055ba1fe47d7ff32616dd2b18fe7d">More...</a><br/></td></tr> <tr class="separator:a630055ba1fe47d7ff32616dd2b18fe7d inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec908179e2acbfbf3b15a7e056dc5938 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#aec908179e2acbfbf3b15a7e056dc5938">getNumberFormat</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aec908179e2acbfbf3b15a7e056dc5938 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the number formatter which this date/time formatter uses to format and parse the numeric portions of the pattern. <a href="#aec908179e2acbfbf3b15a7e056dc5938">More...</a><br/></td></tr> <tr class="separator:aec908179e2acbfbf3b15a7e056dc5938 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a647d861ff2b5a8099a014c1f5bf422bf inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 class="memdesc:a647d861ff2b5a8099a014c1f5bf422bf inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Allows you to set the number formatter. <a href="#a647d861ff2b5a8099a014c1f5bf422bf">More...</a><br/></td></tr> <tr class="separator:a647d861ff2b5a8099a014c1f5bf422bf inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac8231aff2cf3d7abe75a6ee18756c67f inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#ac8231aff2cf3d7abe75a6ee18756c67f">setNumberFormat</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &newNumberFormat)</td></tr> <tr class="memdesc:ac8231aff2cf3d7abe75a6ee18756c67f inherit pub_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Allows you to set the number formatter. <a href="#ac8231aff2cf3d7abe75a6ee18756c67f">More...</a><br/></td></tr> <tr class="separator:ac8231aff2cf3d7abe75a6ee18756c67f inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a08e6d3b2da81e396953220b0a8f26a15 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classTimeZone.html">TimeZone</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a08e6d3b2da81e396953220b0a8f26a15">getTimeZone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a08e6d3b2da81e396953220b0a8f26a15 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </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 <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a>'s calendar. <a href="#a08e6d3b2da81e396953220b0a8f26a15">More...</a><br/></td></tr> <tr class="separator:a08e6d3b2da81e396953220b0a8f26a15 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8158b0bad37c50bfe9f66e6ca2b0a604 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 class="memdesc:a8158b0bad37c50bfe9f66e6ca2b0a604 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </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 from their inter...">DateFormat</a> object. <a href="#a8158b0bad37c50bfe9f66e6ca2b0a604">More...</a><br/></td></tr> <tr class="separator:a8158b0bad37c50bfe9f66e6ca2b0a604 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3671f7110383b5b0062f5cfbbd22b122 inherit pub_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a3671f7110383b5b0062f5cfbbd22b122">setTimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone)</td></tr> <tr class="memdesc:a3671f7110383b5b0062f5cfbbd22b122 inherit pub_methods_classDateFormat"><td class="mdescLeft"> </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 from their inter...">DateFormat</a> object. <a href="#a3671f7110383b5b0062f5cfbbd22b122">More...</a><br/></td></tr> <tr class="separator:a3671f7110383b5b0062f5cfbbd22b122 inherit pub_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#aafee703f14d0f5ddb264b708a75174a8">~Format</a> ()</td></tr> <tr class="memdesc:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aafee703f14d0f5ddb264b708a75174a8">More...</a><br/></td></tr> <tr class="separator:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4f65d87226814931dde8b035f47b69f3">operator!=</a> (const <a class="el" href="classFormat.html">Format</a> &other) const </td></tr> <tr class="memdesc:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are not semantically equal. <a href="#a4f65d87226814931dde8b035f47b69f3">More...</a><br/></td></tr> <tr class="separator:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats an object to produce a string. <a href="#af3f0b157f07d6e9f908da69c99239600">More...</a><br/></td></tr> <tr class="separator:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a90da11177ef906f464d63ca14300e1c9">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &source, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string to produce an object. <a href="#a90da11177ef906f464d63ca14300e1c9">More...</a><br/></td></tr> <tr class="separator:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLocale.html">Locale</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4502b04fe77be54f9f0343a87156fbd5">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="#a4502b04fe77be54f9f0343a87156fbd5">More...</a><br/></td></tr> <tr class="separator:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ad8ca4e4cbd2a11b4de3c748c48c7c536">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="#ad8ca4e4cbd2a11b4de3c748c48c7c536">More...</a><br/></td></tr> <tr class="separator:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr> <tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a2188b47b32836a2de7d827778b34de87"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a2188b47b32836a2de7d827778b34de87">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a2188b47b32836a2de7d827778b34de87"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a2188b47b32836a2de7d827778b34de87">More...</a><br/></td></tr> <tr class="separator:a2188b47b32836a2de7d827778b34de87"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2ab33be44a6cbe7203dd8efc69d69f37"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDateFormat.html#a2ab33be44a6cbe7203dd8efc69d69f37">isFieldUnitIgnored</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr> <tr class="memdesc:a2ab33be44a6cbe7203dd8efc69d69f37"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a2ab33be44a6cbe7203dd8efc69d69f37">More...</a><br/></td></tr> <tr class="separator:a2ab33be44a6cbe7203dd8efc69d69f37"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classDateFormat')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classDateFormat.html">DateFormat</a></td></tr> <tr class="memitem:a1542fb2dd41dcf16f50b797c9d0d57ed inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a1542fb2dd41dcf16f50b797c9d0d57ed">createInstance</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a1542fb2dd41dcf16f50b797c9d0d57ed inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Create a default date/time formatter that uses the SHORT style for both the date and the time. <a href="#a1542fb2dd41dcf16f50b797c9d0d57ed">More...</a><br/></td></tr> <tr class="separator:a1542fb2dd41dcf16f50b797c9d0d57ed inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a06bc4b1f19af713f49a8003ce7be15e1 inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a06bc4b1f19af713f49a8003ce7be15e1">createPatternInstance</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &skeleton, const <a class="el" href="classLocale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a06bc4b1f19af713f49a8003ce7be15e1 inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">This is for ICU internal use only. <a href="#a06bc4b1f19af713f49a8003ce7be15e1">More...</a><br/></td></tr> <tr class="separator:a06bc4b1f19af713f49a8003ce7be15e1 inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abfd5a63e39e890a2ff07a5b15ec88a42 inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> * </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> &aLocale=<a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>())</td></tr> <tr class="memdesc:abfd5a63e39e890a2ff07a5b15ec88a42 inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a time formatter with the given formatting style for the given locale. <a href="#abfd5a63e39e890a2ff07a5b15ec88a42">More...</a><br/></td></tr> <tr class="separator:abfd5a63e39e890a2ff07a5b15ec88a42 inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4421ca0c8b71b078f3ab9433f5413380 inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> * </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> &aLocale=<a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>())</td></tr> <tr class="memdesc:a4421ca0c8b71b078f3ab9433f5413380 inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date formatter with the given formatting style for the given const locale. <a href="#a4421ca0c8b71b078f3ab9433f5413380">More...</a><br/></td></tr> <tr class="separator:a4421ca0c8b71b078f3ab9433f5413380 inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62fa8d2242bc72e5737131925f478453 inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDateFormat.html">DateFormat</a> * </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> &aLocale=<a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>())</td></tr> <tr class="memdesc:a62fa8d2242bc72e5737131925f478453 inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Creates a date/time formatter with the given formatting styles for the given locale. <a href="#a62fa8d2242bc72e5737131925f478453">More...</a><br/></td></tr> <tr class="separator:a62fa8d2242bc72e5737131925f478453 inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5934ceffff9eafdd3edeb466a2a619e1 inherit pub_static_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5934ceffff9eafdd3edeb466a2a619e1">getAvailableLocales</a> (int32_t &count)</td></tr> <tr class="memdesc:a5934ceffff9eafdd3edeb466a2a619e1 inherit pub_static_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the set of locales for which DateFormats are installed. <a href="#a5934ceffff9eafdd3edeb466a2a619e1">More...</a><br/></td></tr> <tr class="separator:a5934ceffff9eafdd3edeb466a2a619e1 inherit pub_static_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr> <tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr> <tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr> <tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr> <tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr> <tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr> <tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr> <tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr> <tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr> <tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr> <tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a369bfc31e5e941bae4ec355f203ea9e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a369bfc31e5e941bae4ec355f203ea9e8"></a> class </td><td class="memItemRight" valign="bottom"><b>DateFormat</b></td></tr> <tr class="separator:a369bfc31e5e941bae4ec355f203ea9e8"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classDateFormat')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classDateFormat.html">DateFormat</a></td></tr> <tr class="memitem:a960020b0c7ec1b66798022681473e04d inherit pub_types_classDateFormat"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">EStyle</a> { <br/>   <b>kNone</b> = -1, <b>kFull</b> = 0, <b>kLong</b> = 1, <b>kMedium</b> = 2, <br/>   <b>kShort</b> = 3, <b>kDateOffset</b> = kShort + 1, <b>kDateTime</b> = 8, <b>kRelative</b> = (1 << 7), <br/>   <b>kFullRelative</b> = (kFull | kRelative), <b>kLongRelative</b> = kLong | kRelative, <b>kMediumRelative</b> = kMedium | kRelative, <b>kShortRelative</b> = kShort | kRelative, <br/>   <b>kDefault</b> = kMedium, <a class="el" href="classDateFormat.html#a960020b0c7ec1b66798022681473e04da61bcc8b716ce88570990bc538ab0e770">FULL</a> = kFull, <b>LONG</b> = kLong, <b>MEDIUM</b> = kMedium, <br/>   <b>SHORT</b> = kShort, <b>DEFAULT</b> = kDefault, <b>DATE_OFFSET</b> = kDateOffset, <b>NONE</b> = kNone, <br/>   <b>DATE_TIME</b> = kDateTime <br/> }</td></tr> <tr class="memdesc:a960020b0c7ec1b66798022681473e04d"><td class="mdescLeft"> </td><td class="mdescRight">Constants for various style patterns. <a href="classDateFormat.html#a960020b0c7ec1b66798022681473e04d">More...</a><br/></td></tr> <tr class="separator:a960020b0c7ec1b66798022681473e04d inherit pub_types_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2bdbb8f1ac253e350dded1bd4cc1105a inherit pub_types_classDateFormat"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">EField</a> { <br/>   <b>kEraField</b> = UDAT_ERA_FIELD, <b>kYearField</b> = UDAT_YEAR_FIELD, <b>kMonthField</b> = UDAT_MONTH_FIELD, <b>kDateField</b> = UDAT_DATE_FIELD, <br/>   <b>kHourOfDay1Field</b> = UDAT_HOUR_OF_DAY1_FIELD, <b>kHourOfDay0Field</b> = UDAT_HOUR_OF_DAY0_FIELD, <b>kMinuteField</b> = UDAT_MINUTE_FIELD, <b>kSecondField</b> = UDAT_SECOND_FIELD, <br/>   <b>kMillisecondField</b> = UDAT_FRACTIONAL_SECOND_FIELD, <b>kDayOfWeekField</b> = UDAT_DAY_OF_WEEK_FIELD, <b>kDayOfYearField</b> = UDAT_DAY_OF_YEAR_FIELD, <b>kDayOfWeekInMonthField</b> = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD, <br/>   <b>kWeekOfYearField</b> = UDAT_WEEK_OF_YEAR_FIELD, <b>kWeekOfMonthField</b> = UDAT_WEEK_OF_MONTH_FIELD, <b>kAmPmField</b> = UDAT_AM_PM_FIELD, <b>kHour1Field</b> = UDAT_HOUR1_FIELD, <br/>   <b>kHour0Field</b> = UDAT_HOUR0_FIELD, <b>kTimezoneField</b> = UDAT_TIMEZONE_FIELD, <b>kYearWOYField</b> = UDAT_YEAR_WOY_FIELD, <b>kDOWLocalField</b> = UDAT_DOW_LOCAL_FIELD, <br/>   <b>kExtendedYearField</b> = UDAT_EXTENDED_YEAR_FIELD, <b>kJulianDayField</b> = UDAT_JULIAN_DAY_FIELD, <b>kMillisecondsInDayField</b> = UDAT_MILLISECONDS_IN_DAY_FIELD, <b>ERA_FIELD</b> = UDAT_ERA_FIELD, <br/>   <b>YEAR_FIELD</b> = UDAT_YEAR_FIELD, <b>MONTH_FIELD</b> = UDAT_MONTH_FIELD, <b>DATE_FIELD</b> = UDAT_DATE_FIELD, <b>HOUR_OF_DAY1_FIELD</b> = UDAT_HOUR_OF_DAY1_FIELD, <br/>   <b>HOUR_OF_DAY0_FIELD</b> = UDAT_HOUR_OF_DAY0_FIELD, <b>MINUTE_FIELD</b> = UDAT_MINUTE_FIELD, <b>SECOND_FIELD</b> = UDAT_SECOND_FIELD, <b>MILLISECOND_FIELD</b> = UDAT_FRACTIONAL_SECOND_FIELD, <br/>   <b>DAY_OF_WEEK_FIELD</b> = UDAT_DAY_OF_WEEK_FIELD, <b>DAY_OF_YEAR_FIELD</b> = UDAT_DAY_OF_YEAR_FIELD, <b>DAY_OF_WEEK_IN_MONTH_FIELD</b> = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD, <b>WEEK_OF_YEAR_FIELD</b> = UDAT_WEEK_OF_YEAR_FIELD, <br/>   <b>WEEK_OF_MONTH_FIELD</b> = UDAT_WEEK_OF_MONTH_FIELD, <b>AM_PM_FIELD</b> = UDAT_AM_PM_FIELD, <b>HOUR1_FIELD</b> = UDAT_HOUR1_FIELD, <b>HOUR0_FIELD</b> = UDAT_HOUR0_FIELD, <br/>   <b>TIMEZONE_FIELD</b> = UDAT_TIMEZONE_FIELD <br/> }</td></tr> <tr class="memdesc:a2bdbb8f1ac253e350dded1bd4cc1105a"><td class="mdescLeft"> </td><td class="mdescRight">Field selector for <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> for <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> fields. <a href="classDateFormat.html#a2bdbb8f1ac253e350dded1bd4cc1105a">More...</a><br/></td></tr> <tr class="separator:a2bdbb8f1ac253e350dded1bd4cc1105a inherit pub_types_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classDateFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classDateFormat.html">DateFormat</a></td></tr> <tr class="memitem:a5d5c353fee433a94c298643a40886642 inherit pro_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a5d5c353fee433a94c298643a40886642">DateFormat</a> ()</td></tr> <tr class="memdesc:a5d5c353fee433a94c298643a40886642 inherit pro_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a5d5c353fee433a94c298643a40886642">More...</a><br/></td></tr> <tr class="separator:a5d5c353fee433a94c298643a40886642 inherit pro_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab370602cca07d66a02607e2a0a9f12e6 inherit pro_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#ab370602cca07d66a02607e2a0a9f12e6">DateFormat</a> (const <a class="el" href="classDateFormat.html">DateFormat</a> &)</td></tr> <tr class="memdesc:ab370602cca07d66a02607e2a0a9f12e6 inherit pro_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ab370602cca07d66a02607e2a0a9f12e6">More...</a><br/></td></tr> <tr class="separator:ab370602cca07d66a02607e2a0a9f12e6 inherit pro_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc1631f81d9ce43f827a88a92e9e3b6a inherit pro_methods_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateFormat.html">DateFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#acc1631f81d9ce43f827a88a92e9e3b6a">operator=</a> (const <a class="el" href="classDateFormat.html">DateFormat</a> &)</td></tr> <tr class="memdesc:acc1631f81d9ce43f827a88a92e9e3b6a inherit pro_methods_classDateFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#acc1631f81d9ce43f827a88a92e9e3b6a">More...</a><br/></td></tr> <tr class="separator:acc1631f81d9ce43f827a88a92e9e3b6a inherit pro_methods_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ae15f405ad3805e8d6691354047b500ca">setLocaleIDs</a> (const char *valid, const char *actual)</td></tr> <tr class="separator:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a9326a787208f39b9544fc6fcbcbfcad3">Format</a> ()</td></tr> <tr class="memdesc:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor for subclass use only. <a href="#a9326a787208f39b9544fc6fcbcbfcad3">More...</a><br/></td></tr> <tr class="separator:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ab69111c370cfe44f9508e78e5431cc65">Format</a> (const <a class="el" href="classFormat.html">Format</a> &)</td></tr> <tr class="separator:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormat.html">Format</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a> (const <a class="el" href="classFormat.html">Format</a> &)</td></tr> <tr class="separator:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classFormat')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a98213ada53770537d242f4bf0ba43b73">syntaxError</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, int32_t pos, <a class="el" href="structUParseError.html">UParseError</a> &parseError)</td></tr> <tr class="memdesc:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Simple function for initializing a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors. ">UParseError</a> from a <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. <a href="#a98213ada53770537d242f4bf0ba43b73">More...</a><br/></td></tr> <tr class="separator:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classDateFormat')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classDateFormat.html">DateFormat</a></td></tr> <tr class="memitem:a1c6089b62ba441c5ece52fd7650b3403 inherit pro_attribs_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a1c6089b62ba441c5ece52fd7650b3403">fCalendar</a></td></tr> <tr class="memdesc:a1c6089b62ba441c5ece52fd7650b3403 inherit pro_attribs_classDateFormat"><td class="mdescLeft"> </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 from their inter...">DateFormat</a> uses to produce the time field values needed to implement date/time formatting. <a href="#a1c6089b62ba441c5ece52fd7650b3403">More...</a><br/></td></tr> <tr class="separator:a1c6089b62ba441c5ece52fd7650b3403 inherit pro_attribs_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a418c15b2f4b0717fb40b2a189e230ad4 inherit pro_attribs_classDateFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateFormat.html#a418c15b2f4b0717fb40b2a189e230ad4">fNumberFormat</a></td></tr> <tr class="memdesc:a418c15b2f4b0717fb40b2a189e230ad4 inherit pro_attribs_classDateFormat"><td class="mdescLeft"> </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 from their inter...">DateFormat</a> uses to format numbers in dates and times. <a href="#a418c15b2f4b0717fb40b2a189e230ad4">More...</a><br/></td></tr> <tr class="separator:a418c15b2f4b0717fb40b2a189e230ad4 inherit pro_attribs_classDateFormat"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> is a concrete class for formatting and parsing dates in a language-independent manner. </p> <p>It allows for formatting (millis -> text), parsing (text -> millis), and normalization. Formats/Parses a date or time, which is the standard milliseconds since 24:00 GMT, Jan 1, 1970. </p> <p>Clients are encouraged to create a date-time formatter using DateFormat::getInstance(), getDateInstance(), getDateInstance(), or getDateTimeInstance() rather than explicitly constructing an instance of <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>. This way, the client is guaranteed to get an appropriate formatting pattern for whatever locale the program is running in. However, if the client needs something more unusual than the default patterns in the locales, he can construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> directly and give it an appropriate pattern (or use one of the factory methods on <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> and modify the pattern after the fact with <a class="el" href="classSimpleDateFormat.html#a36952c70a195a18dc2d71e8d8e600d3b" title="Return a pattern string describing this date format. ">toPattern()</a> and <a class="el" href="classSimpleDateFormat.html#ad6dcbf05065e6b18ef7985cb2ebc01f2" title="Apply the given unlocalized pattern string to this date format. ">applyPattern()</a>. </p> <p>Date/Time format syntax: </p> <p>The date/time format is specified by means of a string time pattern. In this pattern, all ASCII letters are reserved as pattern letters, which are defined as the following: </p> <pre> <div class="fragment"><div class="line">* Symbol Meaning Presentation Example</div> <div class="line">* ------ ------- ------------ -------</div> <div class="line">* G era designator (Text) AD</div> <div class="line">* y year (Number) 1996</div> <div class="line">* Y year (week of year) (Number) 1997</div> <div class="line">* u extended year (Number) 4601</div> <div class="line">* Q Quarter (Text & Number) Q2 & 02</div> <div class="line">* M month in year (Text & Number) July & 07</div> <div class="line">* d day in month (Number) 10</div> <div class="line">* h hour in am/pm (1~12) (Number) 12</div> <div class="line">* H hour in day (0~23) (Number) 0</div> <div class="line">* m minute in hour (Number) 30</div> <div class="line">* s second in minute (Number) 55</div> <div class="line">* S fractional second (Number) 978</div> <div class="line">* E day of week (Text) Tuesday</div> <div class="line">* e day of week (local 1~7) (Text & Number) Tues & 2</div> <div class="line">* D day in year (Number) 189</div> <div class="line">* F day of week in month (Number) 2 (2nd Wed in July)</div> <div class="line">* w week in year (Number) 27</div> <div class="line">* W week in month (Number) 2</div> <div class="line">* a am/pm marker (Text) PM</div> <div class="line">* k hour in day (1~24) (Number) 24</div> <div class="line">* K hour in am/pm (0~11) (Number) 0</div> <div class="line">* z time zone (Time) Pacific Standard Time</div> <div class="line">* Z time zone (RFC 822) (Number) -0800</div> <div class="line">* v time zone (generic) (Text) Pacific Time</div> <div class="line">* V time zone (abreviation) (Text) PT</div> <div class="line">* VVVV time zone (location) (Text) United States (Los Angeles)</div> <div class="line">* g Julian day (Number) 2451334</div> <div class="line">* A milliseconds in day (Number) 69540000</div> <div class="line">* q stand alone quarter (Text & Number) Q2 & 02</div> <div class="line">* L stand alone month (Text & Number) July & 07</div> <div class="line">* c stand alone day of week (Text & Number) Tuesday & 2</div> <div class="line">* ' escape for text (Delimiter) 'Date='</div> <div class="line">* '' single quote (Literal) 'o''clock'</div> <div class="line">* </div> </div><!-- fragment --> </pre><p> The count of pattern letters determine the format. </p> <p>(Text): 4 or more, use full form, <4, use short or abbreviated form if it exists. (e.g., "EEEE" produces "Monday", "EEE" produces "Mon") </p> <p>(Number): the minimum number of digits. Shorter numbers are zero-padded to this amount (e.g. if "m" produces "6", "mm" produces "06"). Year is handled specially; that is, if the count of 'y' is 2, the Year will be truncated to 2 digits. (e.g., if "yyyy" produces "1997", "yy" produces "97".) Unlike other fields, fractional seconds are padded on the right with zero. </p> <p>(Text & Number): 3 or over, use text, otherwise use number. (e.g., "M" produces "1", "MM" produces "01", "MMM" produces "Jan", and "MMMM" produces "January".) </p> <p>Any characters in the pattern that are not in the ranges of ['a'..'z'] and ['A'..'Z'] will be treated as quoted text. For instance, characters like ':', '.', ' ', '#' and '@' will appear in the resulting time text even they are not embraced within single quotes. </p> <p>A pattern containing any invalid pattern letter will result in a failing UErrorCode result during formatting or parsing. </p> <p>Examples using the US locale: </p> <pre> <div class="fragment"><div class="line">* <a class="code" href="classFormat.html">Format</a> Pattern Result</div> <div class="line">* -------------- -------</div> <div class="line">* <span class="stringliteral">"yyyy.MM.dd G 'at' HH:mm:ss vvvv"</span> ->> 1996.07.10 AD at 15:08:56 Pacific Time</div> <div class="line">* <span class="stringliteral">"EEE, MMM d, ''yy"</span> ->> Wed, July 10, <span class="stringliteral">'96</span></div> <div class="line"><span class="stringliteral">* "h:mm a" ->> 12:08 PM</span></div> <div class="line"><span class="stringliteral">* "hh '</span>o<span class="stringliteral">''</span>clock<span class="stringliteral">' a, zzzz" ->> 12 o'</span>clock PM, Pacific Daylight Time</div> <div class="line">* <span class="stringliteral">"K:mm a, vvv"</span> ->> 0:00 PM, PT</div> <div class="line">* <span class="stringliteral">"yyyyy.MMMMM.dd GGG hh:mm aaa"</span> ->> 1996.July.10 AD 12:08 PM</div> <div class="line">* </div> </div><!-- fragment --> </pre><p> Code Sample: </p> <pre> <div class="fragment"><div class="line">* <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> success = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div> <div class="line">* <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>* pdt = <span class="keyword">new</span> <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(-8 * 60 * 60 * 1000, <span class="stringliteral">"PST"</span>);</div> <div class="line">* pdt-><a class="code" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196">setStartRule</a>( Calendar::APRIL, 1, Calendar::SUNDAY, 2*60*60*1000);</div> <div class="line">* pdt-><a class="code" href="classSimpleTimeZone.html#ae2eee23700f7405a563cf01e3cedd797">setEndRule</a>( Calendar::OCTOBER, -1, Calendar::SUNDAY, 2*60*60*1000);</div> <div class="line">*</div> <div class="line">* <span class="comment">// Format the current time.</span></div> <div class="line">* <a class="code" href="classSimpleDateFormat.html">SimpleDateFormat</a>* formatter</div> <div class="line">* = <span class="keyword">new</span> <a class="code" href="classSimpleDateFormat.html">SimpleDateFormat</a> (<span class="stringliteral">"yyyy.MM.dd G 'at' hh:mm:ss a zzz"</span>, success );</div> <div class="line">* <a class="code" href="classGregorianCalendar.html">GregorianCalendar</a> cal(success);</div> <div class="line">* <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> currentTime_1 = cal.getTime(success);</div> <div class="line">* <a class="code" href="classFieldPosition.html">FieldPosition</a> fp(0);</div> <div class="line">* <a class="code" href="classUnicodeString.html">UnicodeString</a> dateString;</div> <div class="line">* formatter-><a class="code" href="classSimpleDateFormat.html#a618b8ffd208cb29851d12d1db5babc49">format</a>( currentTime_1, dateString, fp );</div> <div class="line">* cout << <span class="stringliteral">"result: "</span> << dateString << endl;</div> <div class="line">*</div> <div class="line">* <span class="comment">// Parse the previous string back into a Date.</span></div> <div class="line">* <a class="code" href="classParsePosition.html">ParsePosition</a> pp(0);</div> <div class="line">* <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> currentTime_2 = formatter-><a class="code" href="classSimpleDateFormat.html#a3d26207eb58fd0afc0c41f58e5caf56f">parse</a>(dateString, pp );</div> <div class="line">* </div> </div><!-- fragment --> </pre><p> In the above example, the time value "currentTime_2" obtained from parsing will be equal to currentTime_1. However, they may not be equal if the am/pm marker 'a' is left out from the format pattern while the "hour in am/pm" pattern symbol is used. This information loss can happen when formatting the time in PM.</p> <p>When parsing a date string using the abbreviated year pattern ("y" or "yy"), <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> must interpret the abbreviated year relative to some century. It does this by adjusting dates to be within 80 years before and 20 years after the time the <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> instance is created. For example, using a pattern of "MM/dd/yy" and a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> instance created on Jan 1, 1997, the string "01/11/12" would be interpreted as Jan 11, 2012 while the string "05/04/64" would be interpreted as May 4, 1964. During parsing, only strings consisting of exactly two digits, as defined by <code>Unicode::isDigit()</code>, will be parsed into the default century. Any other numeric string, such as a one digit string, a three or more digit string, or a two digit string that isn't all digits (for example, "-1"), is interpreted literally. So "01/02/3" or "01/02/003" are parsed, using the same pattern, as Jan 2, 3 AD. Likewise, "01/02/-3" is parsed as Jan 2, 4 BC.</p> <p>If the year pattern has more than two 'y' characters, the year is interpreted literally, regardless of the number of digits. So using the pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.</p> <p>When numeric fields abut one another directly, with no intervening delimiter characters, they constitute a run of abutting numeric fields. Such runs are parsed specially. For example, the format "HHmmss" parses the input text "123456" to 12:34:56, parses the input text "12345" to 1:23:45, and fails to parse "1234". In other words, the leftmost field of the run is flexible, while the others keep a fixed width. If the parse fails anywhere in the run, then the leftmost field is shortened by one character, and the entire run is parsed again. This is repeated until either the parse succeeds or the leftmost field is one character in length. If the parse still fails at that point, the parse of the run fails.</p> <p>For time zones that have no names, <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> uses strings GMT+hours:minutes or GMT-hours:minutes. </p> <p>The calendar defines what is the first day of the week, the first week of the year, whether hours are zero based or not (0 vs 12 or 24), and the timezone. There is one common number format to handle all the numbers; the digit count is handled programmatically according to the pattern.</p> <p><em>User subclasses are not supported.</em> While clients may write subclasses, such code will not necessarily work and will not be guaranteed to work stably from release to release. </p> <p>Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00213">213</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="aac959d0d6f03e31837e1b7221436f65a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the default pattern for the default locale. </p> <p>[Note:] Not all locales support <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002855">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af26818e4c01a1a344f95d2742851e6b6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and the default locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>[Note:] Not all locales support <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002856">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ac327ded362ebd360f3a3c855ddbbfdba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> & </td> <td class="paramname"><em>locale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale. </p> <p>The locale is used to obtain the symbols used in formatting (e.g., the names of the months), but not to provide the pattern. </p> <p>[Note:] Not all locales support <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a>; for full generality, use the factory methods in the <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> class. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern for the format. </td></tr> <tr><td class="paramname">locale</td><td>the given locale. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002857">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6d93e872ff95ab9b13797c3c8df36ed4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> * </td> <td class="paramname"><em>formatDataToAdopt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. </p> <p>The formatter takes ownership of the <a class="el" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includi...">DateFormatSymbols</a> object; the caller is no longer responsible for deleting it. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the given pattern for the format. </td></tr> <tr><td class="paramname">formatDataToAdopt</td><td>the symbols to be adopted. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/faulure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002858">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a698e2c463f36eb98c100d7e6b14df019"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> & </td> <td class="paramname"><em>formatData</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> using the given pattern and locale-specific symbol data. </p> <p>The <a class="el" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includi...">DateFormatSymbols</a> object is NOT adopted; the caller remains responsible for deleting it. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the given pattern for the format. </td></tr> <tr><td class="paramname">formatData</td><td>the formatting symbols to be use. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/faulure code. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002859">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aebfb20e1e8ae1dbc51d4e5ac80f7fa75"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SimpleDateFormat::SimpleDateFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002860">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae4f200518c4e94db50ea6cf44b54a3b5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual SimpleDateFormat::~SimpleDateFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002862">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a66975f632ef7ce796eeaad1e0e6b33b5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::adoptCalendar </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> * </td> <td class="paramname"><em>calendarToAdopt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the calendar to be used by this date format. </p> <p>Initially, the default calendar for the specified or default locale is used. The caller should not delete the <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object after it is adopted by this call. Adopting a new calendar will change to the default symbols.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendarToAdopt</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be adopted. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002884">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classDateFormat.html#a82d9d571d5764024766bb3750759bb4b">DateFormat</a>.</p> </div> </div> <a class="anchor" id="ad93f7d1db5193ed784cd83ccfb647503"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::adoptDateFormatSymbols </td> <td>(</td> <td class="paramtype"><a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> * </td> <td class="paramname"><em>newFormatSymbols</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the date/time formatting symbols. </p> <p>The caller no longer owns the <a class="el" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includi...">DateFormatSymbols</a> object and should not delete it after making this call. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFormatSymbols</td><td>the given date-time formatting symbols to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002880">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ab177ad8b128f13bd84c29e419233d3fe"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::applyLocalizedPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given localized pattern string to this date format. </p> <p>(see <a class="el" href="classSimpleDateFormat.html#ae8afbe51b43dd76856d26b761276b921" title="Return a localized pattern string describing this date format. ">toLocalizedPattern()</a> for more information on localized patterns.)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The localized pattern to be applied. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002878">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ad6dcbf05065e6b18ef7985cb2ebc01f2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given unlocalized pattern string to this date format. </p> <p>(i.e., after this call, this formatter will format dates according to the new pattern)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The pattern to be applied. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002877">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a7e779c3f80b4bb518e2e4d4907c3db3f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classFormat.html">Format</a>* SimpleDateFormat::clone </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Clone this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object polymorphically. </p> <p>The caller owns the result and should delete it when done. </p> <dl class="section return"><dt>Returns</dt><dd>A copy of the object. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002863">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classFormat.html#a4e7ebd5cfd390c35e2bda88257f8b51a">Format</a>.</p> </div> </div> <a class="anchor" id="a618b8ffd208cb29851d12d1db5babc49"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& SimpleDateFormat::format </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> & </td> <td class="paramname"><em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>appendTo</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. </p> <p>Overrides <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> pure virtual method. </p> <p>Example: using the US locale: "yyyy.MM.dd e 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">cal</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>The formatting position. On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002865">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Implements <a class="el" href="classDateFormat.html#a6a43ee1f7a2db50e70675fe365e26bd5">DateFormat</a>.</p> </div> </div> <a class="anchor" id="acacf4307ca25a05fdb4672ea50f69bce"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& SimpleDateFormat::format </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> & </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> & </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> & </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970. </p> <p>Overrides <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> pure virtual method. </p> <p>Example: using the US locale: "yyyy.MM.dd e 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>A <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> containing the date-time value to be formatted into a date-time string. If the type of the <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> is a numeric type, it is treated as if it were an instance of Date. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>The formatting position. On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/faulure code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002866">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">DateFormat</a>.</p> </div> </div> <a class="anchor" id="a9e433ca3258272be455b61f0a06c33eb"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & SimpleDateFormat::format </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> & </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> & </td> <td class="paramname"><em>fieldPosition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>the Date value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">fieldPosition</td><td>The formatting position. On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002867">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00941">941</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> <p>References <a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">DateFormat::format()</a>.</p> </div> </div> <a class="anchor" id="aab9dc1c3bc84ac480ee1bc1c05d6126a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & SimpleDateFormat::format </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> & </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> & </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>Object to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">status</td><td>Input/output success/failure code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002868">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00932">932</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> <p>References <a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">DateFormat::format()</a>.</p> </div> </div> <a class="anchor" id="a89fc0802cd8e84902313b585726c4549"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & SimpleDateFormat::format </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> & </td> <td class="paramname"><em>appendTo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classDateFormat.html" title="DateFormat is an abstract class for a family of classes that convert dates and times from their inter...">DateFormat</a> method. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>Date value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002869">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00950">950</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> <p>References <a class="el" href="classDateFormat.html#a75b3bbdb1b728fa9c8ddaa344915427d">DateFormat::format()</a>.</p> </div> </div> <a class="anchor" id="af397530a09c5d705210384b7edd237ed"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> SimpleDateFormat::get2DigitYearStart </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the start UDate used to interpret two-digit year strings. </p> <p>When dates are parsed having 2-digit year strings, they are placed within a assumed range of 100 years starting on the two digit start date. For example, the string "24-Jan-17" may be in the year 1817, 1917, 2017, or some other year. <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> chooses a year so that the resultant date is on or after the two digit start date and within 100 years of the two digit start date. </p> <p>By default, the two digit start date is set to 80 years before the current time at which a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> object is created. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Filled in with U_ZERO_ERROR if the parse was successful, and with an error value if there was a parse error. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002874">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="smpdtfmt_8h_source.html#l00926">926</a> of file <a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a>.</p> </div> </div> <a class="anchor" id="afb3ffb2587d5070769b73f303b592715"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a>* SimpleDateFormat::getDateFormatSymbols </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the date/time formatting symbols (this is an object carrying the various strings and other symbols used in formatting: e.g., month names and abbreviations, time zone names, AM/PM strings, etc.) </p> <dl class="section return"><dt>Returns</dt><dd>a copy of the date-time formatting data associated with this date-time formatter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002879">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8b106f7a1c7ea5757aaca9cc3a16a348"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> SimpleDateFormat::getDynamicClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a unique class ID POLYMORPHICALLY. </p> <p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classSimpleDateFormat.html#a349ffdf4204e4a6b0fec2c473ceaacb3" title="Return true if the given Format objects are semantically equal. ">operator==()</a> and <a class="el" href="classSimpleDateFormat.html#a7e779c3f80b4bb518e2e4d4907c3db3f" title="Clone this Format object polymorphically. ">clone()</a> methods call this method.</p> <dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002883">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classFormat.html#ac961d410d174518e5a3ebb8bbef45cd7">Format</a>.</p> </div> </div> <a class="anchor" id="a27c253dd7595df456ae736047215109b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classLocale.html">Locale</a>& SimpleDateFormat::getSmpFmtLocale </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Get the locale of this simple date formatter. It is used in <a class="el" href="classDateIntervalFormat.html" title="DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent man...">DateIntervalFormat</a>.</p> <dl class="section return"><dt>Returns</dt><dd>locale in this simple date formatter </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000257">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a2188b47b32836a2de7d827778b34de87"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> SimpleDateFormat::getStaticClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classSimpleDateFormat.html#a8b106f7a1c7ea5757aaca9cc3a16a348" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p> <pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classSimpleDateFormat.html#a8b106f7a1c7ea5757aaca9cc3a16a348" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> == . erived::getStaticClassID()) ... </pre> <dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002882">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ace86b45a8051b15dca1b62587aae533c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> SimpleDateFormat::isFieldUnitIgnored </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </td> <td class="paramname"><em>field</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Check whether the 'field' is smaller than all the fields covered in pattern, return TRUE if it is. The sequence of calendar field, from large to small is: ERA, YEAR, MONTH, DATE, AM_PM, HOUR, MINUTE,... </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">field</td><td>the calendar field need to check against </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the 'field' is smaller than all the fields covered in pattern. FALSE otherwise. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000255">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a2ab33be44a6cbe7203dd8efc69d69f37"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> SimpleDateFormat::isFieldUnitIgnored </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>pattern</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </td> <td class="paramname"><em>field</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is for ICU internal use only. </p> <p>Please do not use. Check whether the 'field' is smaller than all the fields covered in pattern, return TRUE if it is. The sequence of calendar field, from large to small is: ERA, YEAR, MONTH, DATE, AM_PM, HOUR, MINUTE,... </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>the pattern to check against </td></tr> <tr><td class="paramname">field</td><td>the calendar field need to check against </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the 'field' is smaller than all the fields covered in pattern. FALSE otherwise. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000256">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a9150f0dbd293cf22a470e932d77633fe"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a>& SimpleDateFormat::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classSimpleDateFormat.html">SimpleDateFormat</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002861">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a349ffdf4204e4a6b0fec2c473ceaacb3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> SimpleDateFormat::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormat.html">Format</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </p> <p>Objects of different subclasses are considered unequal. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">other</td><td>the object to be compared with. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002864">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classDateFormat.html#a4b11dc83bba269b4a5966b91f0dde5b5">DateFormat</a>.</p> </div> </div> <a class="anchor" id="a3d26207eb58fd0afc0c41f58e5caf56f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classCalendar.html">Calendar</a> & </td> <td class="paramname"><em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string beginning at the given parse position. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date that is equivalent to Date(837039928046). </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false).</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed </td></tr> <tr><td class="paramname">cal</td><td>a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> set to the date and time to be formatted into a date/time string. </td></tr> <tr><td class="paramname">pos</td><td>On input, the position at which to start parsing; on output, the position at which parsing terminated, or the start position if the parse failed. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A valid UDate if the input could be parsed. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002870">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Implements <a class="el" href="classDateFormat.html#a7b659b020ec1dc76c6cc1032b878289c">DateFormat</a>.</p> </div> </div> <a class="anchor" id="a4cfd7300952296fcf2e35ed67e5127dd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> SimpleDateFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string starting at the given parse position. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date that is equivalent to Date(837039928046). </p> <p>By default, parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds. Clients may insist on strict adherence to the format by calling setLenient(false).</p> <dl class="section see"><dt>See Also</dt><dd>DateFormat::setLenient(boolean)</dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed </td></tr> <tr><td class="paramname">pos</td><td>On input, the position at which to start parsing; on output, the position at which parsing terminated, or the start position if the parse failed. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A valid UDate if the input could be parsed. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002871">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ad824c9ccee2a56fb54c2384989bb80f7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> SimpleDateFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a date/time string. </p> <p>For example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a UDate that is equivalent to Date(837039928046). Parsing begins at the beginning of the string and proceeds as far as possible. Assuming no parse errors were encountered, this function doesn't return any information about how much of the string was consumed by the parsing. If you need that information, use the version of <a class="el" href="classSimpleDateFormat.html#a3d26207eb58fd0afc0c41f58e5caf56f" title="Parse a date/time string beginning at the given parse position. ">parse()</a> that takes a <a class="el" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The date/time string to be parsed </td></tr> <tr><td class="paramname">status</td><td>Filled in with U_ZERO_ERROR if the parse was successful, and with an error value if there was a parse error. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A valid UDate if the input could be parsed. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002872">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classDateFormat.html#a9b9493fd564b7268f8e42921e4ac6822">DateFormat</a>.</p> </div> </div> <a class="anchor" id="abc869d3e1b35b4c8a81e005e3f23c28f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::set2DigitYearStart </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>d</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the start UDate used to interpret two-digit year strings. </p> <p>When dates are parsed having 2-digit year strings, they are placed within a assumed range of 100 years starting on the two digit start date. For example, the string "24-Jan-17" may be in the year 1817, 1917, 2017, or some other year. <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> chooses a year so that the resultant date is on or after the two digit start date and within 100 years of the two digit start date. </p> <p>By default, the two digit start date is set to 80 years before the current time at which a <a class="el" href="classSimpleDateFormat.html" title="SimpleDateFormat is a concrete class for formatting and parsing dates in a language-independent manne...">SimpleDateFormat</a> object is created. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">d</td><td>start UDate used to interpret two-digit year strings. </td></tr> <tr><td class="paramname">status</td><td>Filled in with U_ZERO_ERROR if the parse was successful, and with an error value if there was a parse error. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002873">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a972ac03adeab58abcafd7c6da2bdf913"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SimpleDateFormat::setDateFormatSymbols </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDateFormatSymbols.html">DateFormatSymbols</a> & </td> <td class="paramname"><em>newFormatSymbols</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the date/time formatting data. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFormatSymbols</td><td>the given date-time formatting symbols to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002881">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae8afbe51b43dd76856d26b761276b921"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& SimpleDateFormat::toLocalizedPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return a localized pattern string describing this date format. </p> <p>In most cases, this will return the same thing as <a class="el" href="classSimpleDateFormat.html#a36952c70a195a18dc2d71e8d8e600d3b" title="Return a pattern string describing this date format. ">toPattern()</a>, but a locale can specify characters to use in pattern descriptions in place of the ones described in this class's class documentation. (Presumably, letters that would be more mnemonic in that locale's language.) This function would produce a pattern using those letters.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Receives the localized pattern. </td></tr> <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002876">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a36952c70a195a18dc2d71e8d8e600d3b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& SimpleDateFormat::toPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return a pattern string describing this date format. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param to receive the pattern. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002875">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="smpdtfmt_8h_source.html">smpdtfmt.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>