Class TwoDigitYearStringParser

Description

This class implements a method for converting from a two-digit year, such as '82' to the four-digit '1982' equivalent. Due to the lack of information contained in a two-digit year, the only valid years are 1970-2069.

This class extends RegexStringParser only as a matter of convenience as its decendents at the time of this refactoring all were decendents of RegexStringParser.

Located in /harmoni/core/Primitives/Chronology/StringParser/TwoDigitYearStringParser.class.php (line 39)

SObject
   |
   --StringParser
      |
      --RegexStringParser
         |
         --TwoDigitYearStringParser
Direct descendents
Class Description
DayMonthNameYearStringParser This StringParser can handle dates that contain an integer day followed by a textual month-name or month-abbreviation followed by an integer year.
MonthNameDayYearStringParser This StringParser can handle dates that contain a textual month-name or month-abbreviation followed by an integer day then an integer year.
MonthNumberDayYearStringParser This StringParser can handle dates that contain an integer month followed by
Method Summary
void setYear (integer $anInteger)
Variables
Methods

Documentation generated on Wed, 19 Sep 2007 10:27:34 -0400 by phpDocumentor 1.3.0RC3