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 https://ostermiller.org/contact.pl?regarding=Java+Utilities
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    extendYear(int twoDigitYear)
    Extend a two digit year.
  • Method Details

    • 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