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 0e6cca49a..98295f0bb 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java @@ -473,7 +473,7 @@ public class FastDateParser implements DateParser, Serializable { * @param twoDigitYear The year to adjust * @return A value within -80 and +20 years from instantiation of this instance */ - protected int adjustYear(int twoDigitYear) { + int adjustYear(int twoDigitYear) { int trial= twoDigitYear + thisYear - thisYear%100; if(trial < thisYear+20) { return trial;