Restore binary compartibility

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-02-28 07:56:42 +00:00
parent 057249fc70
commit edbd9842cf
1 changed files with 14 additions and 0 deletions

View File

@ -82,6 +82,18 @@ public class FastDateParser implements DateParser, Serializable {
private transient String currentFormatField;
private transient Strategy nextStrategy;
/**
* <p>Constructs a new FastDateParser.</p>
*
* @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);
}
/**
* <p>Constructs a new FastDateParser.</p>
*
@ -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;