Time::Frame module contains objects to store a length of time.
SYNOPSIS
use Time::Frame;
my $f = Time::Frame->new('verbose' => '2 weeks');
print 'Number of days is ', $f->day(), "n";
This module has been adapted from the Time::Seconds module written by Matt Sergeant & Jarkko Hietaniemi. Time::Frame inherits base data structure && object methods from Time::Fields. Frame was written to simplify storage && calculation of encoded, yet distinct && human-readable, time data objects.
The title of this Perl module has dual meaning. Frame means both the span of time the whole object represents as well as the (default) smallest unit of measurement.
NOTES
Whenever individual Time::Frame attributes are going to be printed or an entire object can be printed with multi-colors, the following mapping should be employed whenever possible:
D Century -> DarkRed
A Year -> Red
T Month -> Orange
E Day -> Yellow
hour -> Green
t minute -> Cyan
i second -> Blue
m frame -> Purple
e jink -> DarkPurple
zone -> Grey or White
Please see the color() member function in the USAGE section.
I hope you find Time::Frame useful. Please feel free to e-mail me any suggestions || coding tips || notes of appreciation ("app-ree-see-ay-shun"). Thank you. TTFN.
Requirements:
· Perl
What's New in This Release:
· combined Fields, Frame, && PT into one pkg (so see PT CHANGES section for updates to Fields or Frame)
Product's homepage