|
DateTime::Event::WarwickUniversity - Warwick University academic calendar events |
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 the DateTime manpage object.
Returns a the DateTime manpage object representing the first day of the academic calendar that begins in the same Gregorian year as the input.
Takes as argument a single the DateTime manpage object.
Returns a the DateTime manpage object representing the first day of the same academic year as the input.
the DateTime manpage, the DateTime::Calendar::WarwickUniversity manpage
Tim Retout <tim@retout.co.uk>
Copyright (C) 2006, 2007 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.
|
DateTime::Event::WarwickUniversity - Warwick University academic calendar events |