Blame | Last modification | View Log | Download | RSS feed
This version of chron has fixed a bug in converting from the internaljulian representation to the abbreviated string output format.It also provides a mechanism for dealing with 2-digit dates.The option 'chron.year.abb', 'TRUE' by default, specifies that 2-digityears are to be interpreted as an abbreviated form. The option'chron.year.expand' is a function that takes this numeric representationand returns full expanded years (or aborts the computations). Weprovide the functions year.strict() and year.expand(), the first onesimply aborts the task, the second one adds either 1900 or 2000 to the2-digit integer depending on its arguments 'cut.off = 30' and 'century =c(1900, 2000)'.