com.Ostermiller.util
Class YearExtensionNone
java.lang.Object
com.Ostermiller.util.YearExtensionNone
- All Implemented Interfaces:
- YearExtensionPolicy
public class YearExtensionNone
- extends Object
- implements YearExtensionPolicy
Null object for year extension policy.
- Since:
- ostermillerutils 1.08.00
- Author:
- Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
Method Summary |
int |
extendYear(int twoDigitYear)
Does NOT extend the year. |
YEAR_EXTEND_NONE
public static final YearExtensionNone YEAR_EXTEND_NONE
extendYear
public int extendYear(int twoDigitYear)
- Does NOT extend the year.
- Specified by:
extendYear
in interface YearExtensionPolicy
- Parameters:
twoDigitYear
- year from 0 to 99
- Returns:
- a two digit year unaltered.
- Since:
- ostermillerutils 1.08.00
Copyright © 2001-2012 by Stephen Ostermiller