Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

DateTime::Locale::FromData

Name DateTime::Locale::FromData
Version 1.17
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/DateTime/Locale/FromData.pm
Is Core No
Search CPAN for this module DateTime::Locale::FromData
Documentation DateTime::Locale::FromData
Module Details DateTime::Locale::FromData


NAME

DateTime::Locale::FromData - Class for locale objects instantiated from pre-defined data


VERSION

version 1.17


SYNOPSIS

  my $locale = DateTime::Locale::FromData->new(%lots_of_data)


DESCRIPTION

This class is used to represent locales instantiated from the data in the DateTime::Locale::Data module.


METHODS

This class provides the following methods:

The following methods all return an array reference containing the specified data.

The methods with ``format'' in the name should return strings that can be used a part of a string, like ``the month of July''. The stand alone values are for use in things like calendars as opposed to a sentence.

The narrow forms may not be unique (for example, in the day column heading for a calendar it's okay to have ``T'' for both Tuesday and Thursday).

The wide name should always be the full name of thing in question. The narrow name should be just one or two characters.

The following methods return strings appropriate for the DateTime->format_cldr method:

A locale may also offer one or more formats for displaying part of a datetime, such as the year and month, or hour and minute.

There are also some miscellaneous methods:


SUPPORT

Bugs may be submitted at https://github.com/houseabsolute/DateTime-Locale/issues.

There is a mailing list available for users of this distribution, mailto:datetime@perl.org.

I am also usually active on IRC as 'autarch' on irc://irc.perl.org.


SOURCE

The source code repository for DateTime-Locale can be found at https://github.com/houseabsolute/DateTime-Locale.


AUTHOR

Dave Rolsky <autarch@urth.org>


COPYRIGHT AND LICENSE

This software is copyright (c) 2003 - 2017 by Dave Rolsky.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024