From edbd9842cfca892b10c2e9c8da0384fe005cd67a Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Fri, 28 Feb 2014 07:56:42 +0000 Subject: [PATCH] Restore binary compartibility git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572865 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang3/time/FastDateParser.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 83e1bcbec..4c3807ae1 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java @@ -82,6 +82,18 @@ public class FastDateParser implements DateParser, Serializable { private transient String currentFormatField; private transient Strategy nextStrategy; + /** + *

Constructs a new FastDateParser.

+ * + * @param pattern non-null {@link java.text.SimpleDateFormat} compatible + * pattern + * @param timeZone non-null time zone to use + * @param locale non-null locale + */ + protected FastDateParser(final String pattern, final TimeZone timeZone, final Locale locale) { + this(pattern, timeZone, locale, null); + } + /** *

Constructs a new FastDateParser.

* @@ -90,6 +102,8 @@ public class FastDateParser implements DateParser, Serializable { * @param timeZone non-null time zone to use * @param locale non-null locale * @param centuryStart The start of the century for 2 digit year parsing + * + * @since 3.3 */ protected FastDateParser(final String pattern, final TimeZone timeZone, final Locale locale, final Date centuryStart) { this.pattern = pattern;