blob: dbf184829b096cf527ff5ee57b1b4e6440b65868 [file] [log] [blame]
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache log4cxx: log4cxx::helpers::DateTimeDateFormat 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache log4cxx
&#160;<span id="projectnumber">Version 0.12.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classlog4cxx_1_1helpers_1_1DateTimeDateFormat.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classlog4cxx_1_1helpers_1_1DateTimeDateFormat-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">log4cxx::helpers::DateTimeDateFormat Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Formats a date in the format <b>dd MMM yyyy HH:mm:ss,SSS</b> for example, "06 Nov 1994 15:49:37,459".
<a href="classlog4cxx_1_1helpers_1_1DateTimeDateFormat.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="datetimedateformat_8h_source.html">datetimedateformat.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for log4cxx::helpers::DateTimeDateFormat:</div>
<div class="dyncontent">
<div class="center">
<img src="classlog4cxx_1_1helpers_1_1DateTimeDateFormat.png" usemap="#log4cxx::helpers::DateTimeDateFormat_map" alt=""/>
<map id="log4cxx::helpers::DateTimeDateFormat_map" name="log4cxx::helpers::DateTimeDateFormat_map">
<area href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html" title="Concrete class for formatting and parsing dates in a locale-sensitive manner. " alt="log4cxx::helpers::SimpleDateFormat" shape="rect" coords="0,112,226,136"/>
<area href="classlog4cxx_1_1helpers_1_1DateFormat.html" title="DateFormat is an abstract class for date/time formatting patterned after java.text.DateFormat. " alt="log4cxx::helpers::DateFormat" shape="rect" coords="0,56,226,80"/>
<area href="classlog4cxx_1_1helpers_1_1Object.html" title="base class for java-like objects. " alt="log4cxx::helpers::Object" shape="rect" coords="0,0,226,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:a8b6204b34d344710863643d06fdb7a74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1DateTimeDateFormat.html#a8b6204b34d344710863643d06fdb7a74">DateTimeDateFormat</a> ()</td></tr>
<tr class="separator:a8b6204b34d344710863643d06fdb7a74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2432ebaf1b0aaa0850ab42b2e329c0b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1DateTimeDateFormat.html#a2432ebaf1b0aaa0850ab42b2e329c0b1">DateTimeDateFormat</a> (const std::locale *locale)</td></tr>
<tr class="separator:a2432ebaf1b0aaa0850ab42b2e329c0b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html">log4cxx::helpers::SimpleDateFormat</a></td></tr>
<tr class="memitem:ad9390aecf82949a4c8d1698e3fd1694f inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#ad9390aecf82949a4c8d1698e3fd1694f">SimpleDateFormat</a> (const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;pattern)</td></tr>
<tr class="memdesc:ad9390aecf82949a4c8d1698e3fd1694f inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html" title="DateFormat is an abstract class for date/time formatting patterned after java.text.DateFormat. ">DateFormat</a> using the given pattern and the default time zone. <a href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#ad9390aecf82949a4c8d1698e3fd1694f">More...</a><br /></td></tr>
<tr class="separator:ad9390aecf82949a4c8d1698e3fd1694f inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa288211d4c86b15c2ec054719ee5a68 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#aaa288211d4c86b15c2ec054719ee5a68">SimpleDateFormat</a> (const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;pattern, const std::locale *locale)</td></tr>
<tr class="separator:aaa288211d4c86b15c2ec054719ee5a68 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9216db89bdca93ddce4815e956037601 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#a9216db89bdca93ddce4815e956037601">~SimpleDateFormat</a> ()</td></tr>
<tr class="separator:a9216db89bdca93ddce4815e956037601 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73728bb4ccd0d663832d1675ebbdf7b3 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#a73728bb4ccd0d663832d1675ebbdf7b3">format</a> (<a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;s, log4cxx_time_t tm, <a class="el" href="classlog4cxx_1_1helpers_1_1Pool.html">log4cxx::helpers::Pool</a> &amp;p) const</td></tr>
<tr class="memdesc:a73728bb4ccd0d663832d1675ebbdf7b3 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an log4cxx_time_t into a date/time string. <a href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#a73728bb4ccd0d663832d1675ebbdf7b3">More...</a><br /></td></tr>
<tr class="separator:a73728bb4ccd0d663832d1675ebbdf7b3 inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31677f4141f775a441fcf0b9e10e437b inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#a31677f4141f775a441fcf0b9e10e437b">setTimeZone</a> (const TimeZonePtr &amp;zone)</td></tr>
<tr class="memdesc:a31677f4141f775a441fcf0b9e10e437b inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set time zone. <a href="classlog4cxx_1_1helpers_1_1SimpleDateFormat.html#a31677f4141f775a441fcf0b9e10e437b">More...</a><br /></td></tr>
<tr class="separator:a31677f4141f775a441fcf0b9e10e437b inherit pub_methods_classlog4cxx_1_1helpers_1_1SimpleDateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1DateFormat')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html">log4cxx::helpers::DateFormat</a></td></tr>
<tr class="memitem:adcc7b813508ecd35fe488c776c8a65de inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html#adcc7b813508ecd35fe488c776c8a65de">~DateFormat</a> ()</td></tr>
<tr class="memdesc:adcc7b813508ecd35fe488c776c8a65de inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="classlog4cxx_1_1helpers_1_1DateFormat.html#adcc7b813508ecd35fe488c776c8a65de">More...</a><br /></td></tr>
<tr class="separator:adcc7b813508ecd35fe488c776c8a65de inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa99628eca41cd9434c8a2b7475b3be1 inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html#afa99628eca41cd9434c8a2b7475b3be1">numberFormat</a> (<a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;s, int n, <a class="el" href="classlog4cxx_1_1helpers_1_1Pool.html">log4cxx::helpers::Pool</a> &amp;p) const</td></tr>
<tr class="memdesc:afa99628eca41cd9434c8a2b7475b3be1 inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Format an integer consistent with the format method. <a href="classlog4cxx_1_1helpers_1_1DateFormat.html#afa99628eca41cd9434c8a2b7475b3be1">More...</a><br /></td></tr>
<tr class="separator:afa99628eca41cd9434c8a2b7475b3be1 inherit pub_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1Object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1Object.html">log4cxx::helpers::Object</a></td></tr>
<tr class="memitem:a8ba23411233a652fac44a619e6356115 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1Object.html#a8ba23411233a652fac44a619e6356115">~Object</a> ()</td></tr>
<tr class="separator:a8ba23411233a652fac44a619e6356115 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dac08272167c9af4c7d81e9e205a9de inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1Object.html#a9dac08272167c9af4c7d81e9e205a9de">instanceof</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1Class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a9dac08272167c9af4c7d81e9e205a9de inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a24185c7ef795bd6ac70d69c22ca7d9 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1Object.html#a4a24185c7ef795bd6ac70d69c22ca7d9">cast</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1Class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a4a24185c7ef795bd6ac70d69c22ca7d9 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classlog4cxx_1_1helpers_1_1DateFormat')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html">log4cxx::helpers::DateFormat</a></td></tr>
<tr class="memitem:a5caed86bbc026955f0c5510942aca556 inherit pro_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1DateFormat.html#a5caed86bbc026955f0c5510942aca556">DateFormat</a> ()</td></tr>
<tr class="memdesc:a5caed86bbc026955f0c5510942aca556 inherit pro_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="classlog4cxx_1_1helpers_1_1DateFormat.html#a5caed86bbc026955f0c5510942aca556">More...</a><br /></td></tr>
<tr class="separator:a5caed86bbc026955f0c5510942aca556 inherit pro_methods_classlog4cxx_1_1helpers_1_1DateFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Formats a date in the format <b>dd MMM yyyy HH:mm:ss,SSS</b> for example, "06 Nov 1994 15:49:37,459". </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8b6204b34d344710863643d06fdb7a74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b6204b34d344710863643d06fdb7a74">&#9670;&nbsp;</a></span>DateTimeDateFormat() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">log4cxx::helpers::DateTimeDateFormat::DateTimeDateFormat </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2432ebaf1b0aaa0850ab42b2e329c0b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2432ebaf1b0aaa0850ab42b2e329c0b1">&#9670;&nbsp;</a></span>DateTimeDateFormat() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">log4cxx::helpers::DateTimeDateFormat::DateTimeDateFormat </td>
<td>(</td>
<td class="paramtype">const std::locale *&#160;</td>
<td class="paramname"><em>locale</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="datetimedateformat_8h_source.html">datetimedateformat.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacelog4cxx.html">log4cxx</a></li><li class="navelem"><a class="el" href="namespacelog4cxx_1_1helpers.html">helpers</a></li><li class="navelem"><a class="el" href="classlog4cxx_1_1helpers_1_1DateTimeDateFormat.html">DateTimeDateFormat</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
<li class="center">
Copyright &copy; 2003-2021 <a href="https://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved. <br/>
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.
</li>
</ul>
</div>
</body>
</html>