com.Ostermiller.util Java Utilities


com.Ostermiller.util
Interface YearExtensionPolicy

All Known Implementing Classes:
YearExtensionAround, YearExtensionNone

public interface YearExtensionPolicy

Interface for extending two digit years to full years.

Since:
ostermillerutils 1.08.00
Author:
Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities

Method Summary
 int extendYear(int twoDigitYear)
          Extend a two digit year.
 

Method Detail

extendYear

int extendYear(int twoDigitYear)
Extend a two digit year. For example: 99 -> 1999

Parameters:
twoDigitYear - year from 0 to 99
Returns:
Full year representation
Since:
ostermillerutils 1.08.00

com.Ostermiller.util Java Utilities


Copyright © 2001-2012 by Stephen Ostermiller