Package protection is sufficient here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e568101617
commit
de3d06ff01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue