Author: seade
Date: Fri May 4 07:19:16 2007
New Revision: 535251
URL: http://svn.apache.org/viewvc?view=rev&rev=535251
Log:
Add a further date format variation.
Modified:
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/pull/util/DateFormatter.java
Modified:
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/pull/util/DateFormatter.java
URL:
http://svn.apache.org/viewvc/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/pull/util/DateFormatter.java?view=diff&rev=535251&r1=535250&r2=535251
==============================================================================
---
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/pull/util/DateFormatter.java
(original)
+++
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/pull/util/DateFormatter.java
Fri May 4 07:19:16 2007
@@ -113,4 +113,17 @@
return result;
}
+ /**
+ * Formats the given date as a String.
+ *
+ * @param theDate date to format
+ * @param dateFormatString format string to use. See
+ * java.text.SimpleDateFormat for details.
+ * @return String value of the date
+ */
+ public String format(long theDate, String dateFormatString)
+ {
+ return DateFormatUtils.format(theDate, dateFormatString);
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]