You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2005/07/01 23:35:24 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j TTCCLayout.java
carnold 2005/07/01 14:35:24
Modified: src/java/org/apache/log4j TTCCLayout.java
Added: src/java/org/apache/log4j/helpers
AbsoluteTimeDateFormat.java
Log:
Bug 35452: Restore o.a.l.helpers.AbsoluteTimeDateFormat and TTCCLayout(Timezone)
Revision Changes Path
1.8 +43 -20 logging-log4j/src/java/org/apache/log4j/helpers/AbsoluteTimeDateFormat.java
1.25 +13 -0 logging-log4j/src/java/org/apache/log4j/TTCCLayout.java
Index: TTCCLayout.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/TTCCLayout.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- TTCCLayout.java 6 Jan 2005 17:03:11 -0000 1.24
+++ TTCCLayout.java 1 Jul 2005 21:35:24 -0000 1.25
@@ -89,6 +89,19 @@
this.setDateFormat(Constants.ISO8601_FORMAT);
}
+ /**
+ Instantiate a TTCCLayout object using the local time zone. The
+ DateFormat used will depend on the <code>dateFormatType</code>.
+
+ <p>This constructor just calls the {@link
+ DateLayout#setDateFormat} method.
+
+ */
+ public TTCCLayout(String dateFormatType) {
+ this.setDateFormat(dateFormatType);
+ }
+
+
public void activateOptions() {
}
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org