Concise/Locale/ja.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Concise/Locale/it.pm ↑ Summary Concise/Locale/ms.pm »
1 package Time::Duration::Concise::Locale::ja;
2  
3 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 our $VERSION = '2.61'; ## VERSION
9  
10 =head1 NAME
11  
12 Time::Duration::Concise::Locale::ja - Japanese locale translation.
13  
14 =head1 DESCRIPTION
15  
16 Time::Duration::Concise uses Time::Duration::Concise::Locale::ja to localize concise time duration string representation.
17  
18 =head1 METHODS
19  
20 =head2 translation
21  
22 Localized translation hash
23  
24 =cut
25  
26 sub translation {
27 2 ▶ my ($self) = @_;
Subroutine translation: called CC=1 SCAR=0.0
Pod documented
28 return {
29 2 'second' => '秒',
30 'seconds' => '秒',
31 'minute' => '分',
32 'minutes' => '分',
33 'hour' => '時間',
34 'hours' => '時間',
35 'day' => '日',
36 'days' => '日',
37 'month' => '月',
38 'months' => 'ヶ月',
39 'year' => '年',
40 };
41 }
42  
43 =head1 AUTHOR
44  
45 Binary.com, C<< <perl at binary.com> >>
46  
47 =cut
48  
49 3 1; # End of Time::Duration::Concise::Locale::ja
« Concise/Locale/it.pm ↑ Summary Concise/Locale/ms.pm »