DateTime::Event::WarwickUniversity - Warwick University academic calendar events
use DateTime::Event::WarwickUniversity; my $dt = DateTime->new(day => 7, month => 5, year => 2005); # 2005-09-26 my $dt_gr = DateTime::Event::Warwick->new_year_for_gregorian_year($dt); # 2004-09-28 my $dt_ac = DateTime::Event::Warwick->new_year_for_academic_year($dt);
DateTime::Event::WarwickUniversity is used to work with the academic calendar of the University of Warwick.
Takes as argument a single DateTime object.
Returns a DateTime object representing the first day of the academic calendar that begins in the same Gregorian year as the input.
Returns a DateTime object representing the first day of the same academic year as the input.
DateTime, DateTime::Calendar::WarwickUniversity
Tim Retout <tim@retout.co.uk>
Copyright (C) 2006, 2007, 2008 by Tim Retout
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install DateTime::Event::WarwickUniversity, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Event::WarwickUniversity
CPAN shell
perl -MCPAN -e shell install DateTime::Event::WarwickUniversity
For more information on module installation, please visit the detailed CPAN module installation guide.