DateTime::Format::Japanese

A Japanese DateTime Formatter
Download

DateTime::Format::Japanese Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Daisuke Maki
  • Publisher web site:
  • http://search.cpan.org/~dmaki/

DateTime::Format::Japanese Tags


DateTime::Format::Japanese Description

A Japanese DateTime Formatter DateTime::Format::Japanese is a Perl module that implements a DateTime::Format module that can read Japanese date notations and create a DateTime object, and vice versa.All formatting methods will return a decoded utf-8 string, unless otherwise specified explicitly via the output_encoding parameter.All parsing methods expect a decoded utf-8 string, unless otherwise specified explicitly via the input_encoding parameter.SYNOPSIS use DateTime::Format::Japanese; my $fmt = DateTime::Format::Japanese->new(); # or if you want to set options, my $fmt = DateTime::Format::Japanese->new( number_format => FORMAT_KANJI, year_format => FORMAT_ERA, with_gregorian_marker => 1, with_bc_marker => 1, with_ampm_marker => 1, with_day_of_week => 1, input_encoding => $enc_name, output_encoding => $enc_name ); my $str = $fmt->format_datetime($dt); my $dt = $fmt->parse_datetime("å¹³æˆ?16年1月27日å?ˆå‰?5時3ï¼?分"); Requirements: · Perl


DateTime::Format::Japanese Related Software