Oxford::Calendar - Oxford calendar conversion routines
use Oxford::Calendar; print "Today is ", Oxford::Calendar::ToOx(reverse Date::Calc::Today);
This module converts Oxford dates to and from Real World dates. It loads the data from the University dates-of-term web page, although it is also possible to read data from a hash.
Given a day, month and year in standard human format (that is, month is 1-12, not 0-11, and year is four digits) will return a string of the form
Day, xth week, Term.
or, on error, the text Out of range.
Out of range
Takes a free-form description of an Oxford calendar date, and attempts to divine the expected meaning. If the name of a term is not found, the current term will be assumed. If the description is unparsable, the text "UNPARSABLE" is returned. Otherwise, output is of the form ($year,$term,$week,$day)
"UNPARSABLE"
($year,$term,$week,$day)
This function is experimental.
Converts an Oxford date into a Georgian date, returning a string of the form DD/MM/YYYY or an error message.
DD/MM/YYYY
Simon Cozens, simon@cpan.org
simon@cpan.org
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Oxford::Calendar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Oxford::Calendar
CPAN shell
perl -MCPAN -e shell install Oxford::Calendar
For more information on module installation, please visit the detailed CPAN module installation guide.