DateTime::Locale::Base - Base class for individual locale objects


NAME

DateTime::Locale::Base - Base class for individual locale objects


SYNOPSIS

  use base 'DateTime::Locale::Base';


DEFAULT FORMATS

Each locale has a set of four default date and time formats. They are distinguished by length, and are called ``full'', ``long'', ``medium'', and ``short''. Each locale may have a different default length which it uses when its default_date_format(), default_time_format(), or default_datetime_format() methods are called.

This can be changed by calling the set_default_date_format() or set_default_time_format() methods. These methods accept a string which must be one of ``full'', ``long'', ``medium'', or ``short''.


SUBCLASSING

If you are writing a subclass of this class, then you must provide the following methods:


SUPPORT

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


AUTHORS

Richard Evans <rich@ridas.com>

Dave Rolsky <autarch@urth.org>


COPYRIGHT

Copyright (c) 2003 Richard Evans. Copyright (c) 2004-2005 David Rolsky. All rights reserved.

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

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

 DateTime::Locale::Base - Base class for individual locale objects