File: Y2K

package info (click to toggle)
chron 2.3-42-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: ansic: 127; makefile: 1
file content (13 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
This version of chron has fixed a bug in converting from the internal
julian 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-digit
years are to be interpreted as an abbreviated form.  The option
'chron.year.expand' is a function that takes this numeric representation
and returns full expanded years (or aborts the computations).  We
provide the functions year.strict() and year.expand(), the first one
simply aborts the task, the second one adds either 1900 or 2000 to the
2-digit integer depending on its arguments 'cut.off = 30' and 'century =
c(1900, 2000)'.