DateTime::Locale::vi_VN - DateTime::Locale::vi_VN documentation


DateTime-Locale documentation Contained in the DateTime-Locale distribution.

Index


Code Index:

NAME

Top

DateTime::Locale::vi_VN

SYNOPSIS

Top

  use DateTime;

  my $dt = DateTime->now( locale => 'vi_VN' );
  print $dt->month_name();

DESCRIPTION

Top

This is the DateTime locale package for Vietnamese Vietnam.

DATA

Top

This locale inherits from the DateTime::Locale::vi locale.

It contains the following data.

Days

Wide (format)

  Thứ hai
  Thứ ba
  Thứ tư
  Thứ năm
  Thứ sáu
  Thứ bảy
  Chủ nhật

Abbreviated (format)

  Th 2
  Th 3
  Th 4
  Th 5
  Th 6
  Th 7
  CN

Narrow (format)

  Th 2
  Th 3
  Th 4
  Th 5
  Th 6
  Th 7
  CN

Wide (stand-alone)

  Thứ hai
  Thứ ba
  Thứ tư
  Thứ năm
  Thứ sáu
  Thứ bảy
  Chủ nhật

Abbreviated (stand-alone)

  Th 2
  Th 3
  Th 4
  Th 5
  Th 6
  Th 7
  CN

Narrow (stand-alone)

  2
  3
  4
  5
  6
  7
  1

Months

Wide (format)

  tháng một
  tháng hai
  tháng ba
  tháng tư
  tháng năm
  tháng sáu
  tháng bảy
  tháng tám
  tháng chín
  tháng mười
  tháng mười một
  tháng mười hai

Abbreviated (format)

  thg 1
  thg 2
  thg 3
  thg 4
  thg 5
  thg 6
  thg 7
  thg 8
  thg 9
  thg 10
  thg 11
  thg 12

Narrow (format)

  thg 1
  thg 2
  thg 3
  thg 4
  thg 5
  thg 6
  thg 7
  thg 8
  thg 9
  thg 10
  thg 11
  thg 12

Wide (stand-alone)

  tháng một
  tháng hai
  tháng ba
  tháng tư
  tháng năm
  tháng sáu
  tháng bảy
  tháng tám
  tháng chín
  tháng mười
  tháng mười một
  tháng mười hai

Abbreviated (stand-alone)

  thg 1
  thg 2
  thg 3
  thg 4
  thg 5
  thg 6
  thg 7
  thg 8
  thg 9
  thg 10
  thg 11
  thg 12

Narrow (stand-alone)

  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12

Quarters

Wide (format)

  Q1
  Q2
  Q3
  Q4

Abbreviated (format)

  Q1
  Q2
  Q3
  Q4

Narrow (format)

  1
  2
  3
  4

Wide (stand-alone)

  Q1
  Q2
  Q3
  Q4

Abbreviated (stand-alone)

  Q1
  Q2
  Q3
  Q4

Narrow (stand-alone)

  1
  2
  3
  4

Eras

Wide

  BCE
  CE

Abbreviated

  tr. CN
  sau CN

Narrow

  tr. CN
  sau CN

Date Formats

Full

   2008-02-05T18:30:30 = Thứ ba, ngày 05 tháng hai năm 2008
   1995-12-22T09:05:02 = Thứ sáu, ngày 22 tháng mười hai năm 1995
  -0010-09-15T04:44:23 = Thứ bảy, ngày 15 tháng chín năm -10

Long

   2008-02-05T18:30:30 = Ngày 05 tháng 2 năm 2008
   1995-12-22T09:05:02 = Ngày 22 tháng 12 năm 1995
  -0010-09-15T04:44:23 = Ngày 15 tháng 9 năm -10

Medium

   2008-02-05T18:30:30 = 05-02-2008
   1995-12-22T09:05:02 = 22-12-1995
  -0010-09-15T04:44:23 = 15-09--010

Short

   2008-02-05T18:30:30 = 05/02/2008
   1995-12-22T09:05:02 = 22/12/1995
  -0010-09-15T04:44:23 = 15/09/-010

Default

   2008-02-05T18:30:30 = 05-02-2008
   1995-12-22T09:05:02 = 22-12-1995
  -0010-09-15T04:44:23 = 15-09--010

Time Formats

Full

   2008-02-05T18:30:30 = 18:30:30 UTC
   1995-12-22T09:05:02 = 09:05:02 UTC
  -0010-09-15T04:44:23 = 04:44:23 UTC

Long

   2008-02-05T18:30:30 = 18:30:30 UTC
   1995-12-22T09:05:02 = 09:05:02 UTC
  -0010-09-15T04:44:23 = 04:44:23 UTC

Medium

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 09:05:02
  -0010-09-15T04:44:23 = 04:44:23

Short

   2008-02-05T18:30:30 = 18:30
   1995-12-22T09:05:02 = 09:05
  -0010-09-15T04:44:23 = 04:44

Default

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 09:05:02
  -0010-09-15T04:44:23 = 04:44:23

Datetime Formats

Full

   2008-02-05T18:30:30 = 18:30:30 UTC Thứ ba, ngày 05 tháng hai năm 2008
   1995-12-22T09:05:02 = 09:05:02 UTC Thứ sáu, ngày 22 tháng mười hai năm 1995
  -0010-09-15T04:44:23 = 04:44:23 UTC Thứ bảy, ngày 15 tháng chín năm -10

Long

   2008-02-05T18:30:30 = 18:30:30 UTC Ngày 05 tháng 2 năm 2008
   1995-12-22T09:05:02 = 09:05:02 UTC Ngày 22 tháng 12 năm 1995
  -0010-09-15T04:44:23 = 04:44:23 UTC Ngày 15 tháng 9 năm -10

Medium

   2008-02-05T18:30:30 = 18:30:30 05-02-2008
   1995-12-22T09:05:02 = 09:05:02 22-12-1995
  -0010-09-15T04:44:23 = 04:44:23 15-09--010

Short

   2008-02-05T18:30:30 = 18:30 05/02/2008
   1995-12-22T09:05:02 = 09:05 22/12/1995
  -0010-09-15T04:44:23 = 04:44 15/09/-010

Default

   2008-02-05T18:30:30 = 18:30:30 05-02-2008
   1995-12-22T09:05:02 = 09:05:02 22-12-1995
  -0010-09-15T04:44:23 = 04:44:23 15-09--010

Available Formats

d (d)

   2008-02-05T18:30:30 = 5
   1995-12-22T09:05:02 = 22
  -0010-09-15T04:44:23 = 15

EEEd (d EEE)

   2008-02-05T18:30:30 = 5 Th 3
   1995-12-22T09:05:02 = 22 Th 6
  -0010-09-15T04:44:23 = 15 Th 7

H (H)

   2008-02-05T18:30:30 = 18
   1995-12-22T09:05:02 = 9
  -0010-09-15T04:44:23 = 4

HHmm (HH:mm)

   2008-02-05T18:30:30 = 18:30
   1995-12-22T09:05:02 = 09:05
  -0010-09-15T04:44:23 = 04:44

HHmmss (HH:mm:ss)

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 09:05:02
  -0010-09-15T04:44:23 = 04:44:23

Hm (H:mm)

   2008-02-05T18:30:30 = 18:30
   1995-12-22T09:05:02 = 9:05
  -0010-09-15T04:44:23 = 4:44

hm (h:mm a)

   2008-02-05T18:30:30 = 6:30 CH
   1995-12-22T09:05:02 = 9:05 SA
  -0010-09-15T04:44:23 = 4:44 SA

Hms (H:mm:ss)

   2008-02-05T18:30:30 = 18:30:30
   1995-12-22T09:05:02 = 9:05:02
  -0010-09-15T04:44:23 = 4:44:23

hms (h:mm:ss a)

   2008-02-05T18:30:30 = 6:30:30 CH
   1995-12-22T09:05:02 = 9:05:02 SA
  -0010-09-15T04:44:23 = 4:44:23 SA

M (L)

   2008-02-05T18:30:30 = 2
   1995-12-22T09:05:02 = 12
  -0010-09-15T04:44:23 = 9

Md (d-M)

   2008-02-05T18:30:30 = 5-2
   1995-12-22T09:05:02 = 22-12
  -0010-09-15T04:44:23 = 15-9

MEd (E, d-M)

   2008-02-05T18:30:30 = Th 3, 5-2
   1995-12-22T09:05:02 = Th 6, 22-12
  -0010-09-15T04:44:23 = Th 7, 15-9

MMdd (dd-MM)

   2008-02-05T18:30:30 = 05-02
   1995-12-22T09:05:02 = 22-12
  -0010-09-15T04:44:23 = 15-09

MMM (LLL)

   2008-02-05T18:30:30 = thg 2
   1995-12-22T09:05:02 = thg 12
  -0010-09-15T04:44:23 = thg 9

MMMd (d MMM)

   2008-02-05T18:30:30 = 5 thg 2
   1995-12-22T09:05:02 = 22 thg 12
  -0010-09-15T04:44:23 = 15 thg 9

MMMEd (E d MMM)

   2008-02-05T18:30:30 = Th 3 5 thg 2
   1995-12-22T09:05:02 = Th 6 22 thg 12
  -0010-09-15T04:44:23 = Th 7 15 thg 9

MMMMd (d MMMM)

   2008-02-05T18:30:30 = 5 tháng hai
   1995-12-22T09:05:02 = 22 tháng mười hai
  -0010-09-15T04:44:23 = 15 tháng chín

MMMMEd (E d MMMM)

   2008-02-05T18:30:30 = Th 3 5 tháng hai
   1995-12-22T09:05:02 = Th 6 22 tháng mười hai
  -0010-09-15T04:44:23 = Th 7 15 tháng chín

mmss (mm:ss)

   2008-02-05T18:30:30 = 30:30
   1995-12-22T09:05:02 = 05:02
  -0010-09-15T04:44:23 = 44:23

ms (mm:ss)

   2008-02-05T18:30:30 = 30:30
   1995-12-22T09:05:02 = 05:02
  -0010-09-15T04:44:23 = 44:23

y (y)

   2008-02-05T18:30:30 = 2008
   1995-12-22T09:05:02 = 1995
  -0010-09-15T04:44:23 = -10

yM (y-M)

   2008-02-05T18:30:30 = 2008-2
   1995-12-22T09:05:02 = 1995-12
  -0010-09-15T04:44:23 = -10-9

yMEd (EEE, d-M-yyyy)

   2008-02-05T18:30:30 = Th 3, 5-2-2008
   1995-12-22T09:05:02 = Th 6, 22-12-1995
  -0010-09-15T04:44:23 = Th 7, 15-9--010

yMMM (MMM y)

   2008-02-05T18:30:30 = thg 2 2008
   1995-12-22T09:05:02 = thg 12 1995
  -0010-09-15T04:44:23 = thg 9 -10

yMMMEd (EEE, d MMM y)

   2008-02-05T18:30:30 = Th 3, 5 thg 2 2008
   1995-12-22T09:05:02 = Th 6, 22 thg 12 1995
  -0010-09-15T04:44:23 = Th 7, 15 thg 9 -10

yMMMM (MMMM y)

   2008-02-05T18:30:30 = tháng hai 2008
   1995-12-22T09:05:02 = tháng mười hai 1995
  -0010-09-15T04:44:23 = tháng chín -10

yQ (Q yyyy)

   2008-02-05T18:30:30 = 1 2008
   1995-12-22T09:05:02 = 4 1995
  -0010-09-15T04:44:23 = 3 -010

yQQQ (QQQ y)

   2008-02-05T18:30:30 = Q1 2008
   1995-12-22T09:05:02 = Q4 1995
  -0010-09-15T04:44:23 = Q3 -10

yyQ (Q yy)

   2008-02-05T18:30:30 = 1 08
   1995-12-22T09:05:02 = 4 95
  -0010-09-15T04:44:23 = 3 -10

yyyy (y)

   2008-02-05T18:30:30 = 2008
   1995-12-22T09:05:02 = 1995
  -0010-09-15T04:44:23 = -10

yyyyMM (MM-yyyy)

   2008-02-05T18:30:30 = 02-2008
   1995-12-22T09:05:02 = 12-1995
  -0010-09-15T04:44:23 = 09--010

Miscellaneous

Prefers 24 hour time?

Yes

Local first day of the week

Thứ hai

SUPPORT

Top

See DateTime::Locale.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT

Top


DateTime-Locale documentation Contained in the DateTime-Locale distribution.

###########################################################################
#
# This file is auto-generated by the Perl DateTime Suite locale
# generator (0.05).  This code generator comes with the
# DateTime::Locale distribution in the tools/ directory, and is called
# generate-from-cldr.
#
# This file as generated from the CLDR XML locale data.  See the
# LICENSE.cldr file included in this distribution for license details.
#
# This file was generated from the source file vi_VN.xml
# The source file version number was 1.41, generated on
# 2009/05/05 23:06:41.
#
# Do not edit this file directly.
#
###########################################################################

package DateTime::Locale::vi_VN;

use strict;
use warnings;
use utf8;

use base 'DateTime::Locale::vi';

sub cldr_version { return "1\.7\.1" }

{
    my $first_day_of_week = "1";
    sub first_day_of_week { return $first_day_of_week }
}

{
    my $glibc_date_format = "\%d\/\%m\/\%Y";
    sub glibc_date_format { return $glibc_date_format }
}

{
    my $glibc_date_1_format = "\%A\,\ \%d\ \%B\ năm\ \%Y\ \%T\ \%Z";
    sub glibc_date_1_format { return $glibc_date_1_format }
}

{
    my $glibc_datetime_format = "\%A\,\ \%d\ \%B\ Năm\ \%Y\ \%T\ \%Z";
    sub glibc_datetime_format { return $glibc_datetime_format }
}

{
    my $glibc_time_format = "\%T";
    sub glibc_time_format { return $glibc_time_format }
}

{
    my $glibc_time_12_format = "\%I\:\%M\ \%p";
    sub glibc_time_12_format { return $glibc_time_12_format }
}

1;

__END__