NAME
DateTime::Format::Indonesian - Parse and format Indonesian dates
VERSION
version 0.01
SYNOPSIS
use DateTime::Format::Indonesian;
my $dt = DateTime::Format::Indonesian->parse_datetime("14 agt 2013");
DESCRIPTION
This is an early release. Not all things have been implemented yet. See
"TODO".
METHODS
new()
$fmt->format_datetime()
NOT YET IMPLEMENTED.
$fmt->parse_datetime($str) => OBJ
Parse an Indonesian string. Return undef if $str cannot be parsed.
Currently the recognized forms include:
dd-mmm-yy or dd-mmm-yy (other separators include whitespace or dash)
dd-mmmm-yy or dd-mmmm-yy (long month names)
TODO
* Recognize more forms
Try to guess whether 01/02/99 is d/m/y or m/d/y (check if the other
one is impossible; default to d/m/y but if sees lots of other m/d/y
then m/d/y).
mmm-dd-yy[yy]
* Autocorrect typo [#E]
* Formatter [#B]
* Recognize/parse/ignore day of week names
SEE ALSO
DateTime
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.