Chart::Clicker::Axis::DateTime.3pm

Langue: en

Version: 2010-05-04 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Chart::Clicker::Axis::DateTime - An X or Y Axis using DateTime

DESCRIPTION

A temporal Axis. Requires DateTime and DateTime::Set. Inherits from Axis, so check the methods there as well. Expects that times will be in unix format.

SYNOPSIS

   my $axis = Chart::Clicker::Axis::DateTime->new;
 
 

ATTRIBUTES

time_zone

Set/Get the time zone to use when creating DateTime objects! Accepts an object or a string ('America/Chicago').

format

Set/Get the formatting string used to format the DateTime. See DateTime's strftime.

METHODS

new

Creates a new DateTime Axis.

format_value

Formats the value using DateTime's strftime.

AUTHOR

Cory G Watson <gphat@cpan.org>

SEE ALSO

perl(1)

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.