NAME

DateTime::Format::Roman - Roman day numbering for DateTime objects

SYNOPSIS

use DateTime::Format::Roman;

my $formatter = DateTime::Format::Roman->new(
                    pattern => '%d %f %b %y' );

my $dt = DateTime->new( year => 2003, month => 5, day => 28 );

$formatter->format_datetime($dt);
 # '5 Kal Jun 2003'

DESCRIPTION

TODO

METHODS

  • new( ... )

  • format_datetime($datetime)

PATTERN SPECIFIERS

The following specifiers are allowed in the format strings given to the new() method:

  • %b

    The abbreviated month name.

  • %B

    The full month name.

  • %d

    The day of the month as a decimal number (including '1' for the fixed days).

  • %D

    The day of the month, written as a number plus the corresponding fixed day.

  • %f

    The 'fixed day' part of the date.

  • %m

    The month as a decimal number (range 1 to 12).

  • %y

    The year as a decimal number.

If a specifier is preceded by 'O' or 'o', numbers will be written in uppercase and lowercase Roman numerals, respectively.

SUPPORT

Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details.

Note that this is a beta release. The interface *will* change, especially the format specifiers, and the way the "fixed days" are returned.

AUTHOR

Eugene van der Pijll <pijll@gmx.net>

COPYRIGHT

Copyright (c) 2003 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

DateTime

datetime@perl.org mailing list

1 POD Error

The following errors were encountered while parsing the POD:

Around line 149:

You forgot a '=back' before '=head2'