摘要 |
A method, apparatus, and article of manufacture for converting dates in object-oriented software programs utilizing time classes covering limited periods of time is provided. A conversion object identifies a target year in which an application program should execute. If the target year falls outside of the limited period of time, the conversion object converts the target year into a base year which falls within the limited time period and a corresponding offset. The application program is then executed with the target year, and if the target year is needed by the application program, it can be reconstructed by adding the base year and corresponding offset.
|