in reply to What about Easter?
Perl6 will likely to have a Western object, with Western falling either half a year before Easter, or half a year after. You can get the Western date by calling the date function in it (it takes a mandatory year as argument):
Alternatively, there will be a Unicode character for it (one from the 3 upcoming Unicode planes reserved for Perl characters). But there will be a ASCII equivalent, Huffman encoded to 7 characters. Described on page 13,897 of the compact abridged Perl6 pocket reference guide.print western.date(now.date.year(-digits => 4)).as_string();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What about Easter?
by Anonymous Monk on Jul 25, 2005 at 14:40 UTC |