-
-
28 Sep 2007 02:25:22 UTC
- Distribution: PlotCalendar
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (0 / 481 / 0)
- Kwalitee
Bus factor: 0- 56.63% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (20.77KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
PlotCalendar::DateTools - This is an all perl replacement for parts of Date::Calc. I'd love to use it, but I ran into trouble installing the compiled C onto my hosting service account, since I can't do a compile over there (it'd cost $$) So I have reproduced those functions I needed in perl. Oh well.
SYNOPSIS
require PlotCalendar::DateTools; my ($day, $month, $year) = (5,3,1999); my $dayname = 'Tuesday'; # ---- initialize tool my $dow = Day_of_Year($yr,$mon,$day); my $numdays = Days_in_Month($yr,$mon); my $dow = Decode_Day_of_Week($dayname); my $dowfirst = Day_of_Week($yr,$mon,$day); my ($nyr, $nmon, $nday) = Add_Delta_Days($yr,$mon,$day, $numdays); my $dayname = Day_of_Week_to_Text($dow) my $month = Month_to_Text($mon); my $doy = Day_of_Year($year,$mon,$day);
DESCRIPTION
A perl-only clone of a subset of Date::Calc
AUTHOR
Alan Jackson April 1999 ajackson@icct.net
REQUIREMENTS
Requires modules : Exporter Carp Time::DaysInMonth Time::JulianDay
SEE ALSO
PlotCalendar::Month PlotCalendar::Day
Module Install Instructions
To install PlotCalendar::Day, copy and paste the appropriate command in to your terminal.
cpanm PlotCalendar::Day
perl -MCPAN -e shell install PlotCalendar::Day
For more information on module installation, please visit the detailed CPAN module installation guide.