diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java index 8e3979254..a5f22a27d 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java @@ -57,14 +57,17 @@ * bug/RFE. *
* - *Only parsing is supported, but all patterns are compatible with + *
Only parsing is supported by this class, but all patterns are compatible with * SimpleDateFormat.
* + *The class operates in lenient mode, so for example a time of 90 minutes is treated as 1 hour 30 minutes.
+ * *Timing tests indicate this class is as about as fast as SimpleDateFormat * in single thread applications and about 25% faster in multi-thread applications.
* * @version $Id$ * @since 3.2 + * @see FastDatePrinter */ public class FastDateParser implements DateParser, Serializable { /** diff --git a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java index 3701b39c8..31c14bfe6 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java @@ -53,7 +53,7 @@ * nor will it be as Sun have closed the bug/RFE. * * - *Only formatting is supported, but all patterns are compatible with + *
Only formatting is supported by this class, but all patterns are compatible with * SimpleDateFormat (except time zones and some year patterns - see below).
* *Java 1.4 introduced a new pattern letter, {@code 'Z'}, to represent @@ -73,6 +73,7 @@ * * @version $Id$ * @since 3.2 + * @see FastDateParser */ public class FastDatePrinter implements DatePrinter, Serializable { // A lot of the speed in this class comes from caching, but some comes