LBMA::Statistics::Date - Common date methods for LBMA::Statistics (Internal only)
LBMA::Statistics::Date handles common date methods for LBMA::Statistics.
This module is for internal use only. There's no need to access it directly.
See http://search.cpan.org/perldoc?LBMA::Statistics
Parameters are all lowercase.
year - four digit year (1968 .. )
month - one or two digit month (1 .. 12)
day - one or two digit day (1 .. 31)
use strict; use warnings; use LBMA::Statistics::Date; my $date = LBMA::Statistics::Date->new( year => $year, month => $month, day => $day, ) or die $!;
If no parameters are passed to this class, today is assumed. Today is determined using UTC. In doubt pass a valid date.
my $date = LBMA::Statistics::Date->new( );
Dies if supplied date isn't valid or year is before 1968.
print $date->year(), "\n";
print $date->day_pattern(), "\n";
formats date strings from supplied year, month, day
DateTime http://search.cpan.org/perldoc?DateTime =item * Log::Log4perl http://search.cpan.org/perldoc?Log::Log4perl
Thomas Fahle, <cpan at thomas-fahle.de>
<cpan at thomas-fahle.de>
Please report any bugs or feature requests to bug-lbma-statistics at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LBMA-Statistics. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-lbma-statistics at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc LBMA::Statistics::Date
Copyright 2009, 2010, 2012, 2014 Thomas Fahle
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install LBMA::Statistics, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LBMA::Statistics
CPAN shell
perl -MCPAN -e shell install LBMA::Statistics
For more information on module installation, please visit the detailed CPAN module installation guide.