com.Ostermiller.util Java Utilities


com.Ostermiller.util
Class YearExtensionNone

java.lang.Object
  extended by 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

Field Summary
static YearExtensionNone YEAR_EXTEND_NONE
           
 
Method Summary
 int extendYear(int twoDigitYear)
          Does NOT extend the year.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

YEAR_EXTEND_NONE

public static final YearExtensionNone YEAR_EXTEND_NONE
Method Detail

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

com.Ostermiller.util Java Utilities


Copyright © 2001-2012 by Stephen Ostermiller