| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::En::Latn::Nf - Package for language English | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::En::Latn::Nf; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\en_NF.xml | ||||||||||||||||||||||||||||
| 11 | # on Fri 17 Jan 12:03:31 pm GMT | ||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 14 | 1 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 15 | 1 | ▶ | use version; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | 1 | our $VERSION = version->declare('v0.46.0'); | |||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||
| 19 | 1 | ▶ | use v5.12.0; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 20 | 1 | ▶ | use mro 'c3'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 21 | 1 | ▶ | use utf8; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 22 | 1 | ▶ | use feature 'unicode_strings'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 23 | 1 | ▶ | use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 24 | 1 | ▶ | use Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||
| 26 | 1 | extends('Locale::CLDR::Locales::En::Latn::001'); | |||||||||||||||||||||||||||
| 27 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => HashRef, | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 32 | 0 | 'AUD' => { | |||||||||||||||||||||||||||
| 33 | symbol => '$', | ||||||||||||||||||||||||||||
| 34 | }, | ||||||||||||||||||||||||||||
| 35 | } }, | ||||||||||||||||||||||||||||
| 36 | 1 | ); | |||||||||||||||||||||||||||
| 37 | |||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||
| 39 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 40 | is => 'ro', | ||||||||||||||||||||||||||||
| 41 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 42 | init_arg => undef, | ||||||||||||||||||||||||||||
| 43 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=24 SCAR=64.0
| |||||||||||||||||||||||||||||
| 44 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 45 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 46 | 0 | ▶ | $day_period_type //= 'default'; | ||||||||||||||||||||||||||
|
Condition0%0/2
$day_period_type //= "default"
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
| |||||||||||||||||||||||||||||
| 47 | SWITCH: | ||||||||||||||||||||||||||||
| 48 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 49 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 50 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 51 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 52 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 53 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1800
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
| |||||||||||||||||||||||||||||
| 54 | && $time < 1800; | ||||||||||||||||||||||||||||
| 55 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2100
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800
$time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
| |||||||||||||||||||||||||||||
| 56 | && $time < 2100; | ||||||||||||||||||||||||||||
| 57 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1200
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600
$time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
| |||||||||||||||||||||||||||||
| 58 | && $time < 1200; | ||||||||||||||||||||||||||||
| 59 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 60 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 61 | } | ||||||||||||||||||||||||||||
| 62 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 63 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1800
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
| |||||||||||||||||||||||||||||
| 64 | && $time < 1800; | ||||||||||||||||||||||||||||
| 65 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2100
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800
$time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
| |||||||||||||||||||||||||||||
| 66 | && $time < 2100; | ||||||||||||||||||||||||||||
| 67 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1200
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600
$time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
| |||||||||||||||||||||||||||||
| 68 | && $time < 1200; | ||||||||||||||||||||||||||||
| 69 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 70 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 71 | } | ||||||||||||||||||||||||||||
| 72 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 73 | } | ||||||||||||||||||||||||||||
| 74 | } | ||||||||||||||||||||||||||||
| 75 | 0 | } }, | |||||||||||||||||||||||||||
| 76 | 1 | ); | |||||||||||||||||||||||||||
| 77 | |||||||||||||||||||||||||||||
| 78 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 79 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 80 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 81 | 1 | }; | |||||||||||||||||||||||||||
| 82 | |||||||||||||||||||||||||||||
| 83 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 84 | is => 'ro', | ||||||||||||||||||||||||||||
| 85 | isa => HashRef, | ||||||||||||||||||||||||||||
| 86 | init_arg => undef, | ||||||||||||||||||||||||||||
| 87 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 88 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 89 | }, | ||||||||||||||||||||||||||||
| 90 | } }, | ||||||||||||||||||||||||||||
| 91 | 1 | ); | |||||||||||||||||||||||||||
| 92 | |||||||||||||||||||||||||||||
| 93 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 94 | is => 'ro', | ||||||||||||||||||||||||||||
| 95 | isa => HashRef, | ||||||||||||||||||||||||||||
| 96 | init_arg => undef, | ||||||||||||||||||||||||||||
| 97 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 98 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 99 | }, | ||||||||||||||||||||||||||||
| 100 | } }, | ||||||||||||||||||||||||||||
| 101 | 1 | ); | |||||||||||||||||||||||||||
| 102 | |||||||||||||||||||||||||||||
| 103 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 104 | is => 'ro', | ||||||||||||||||||||||||||||
| 105 | isa => HashRef, | ||||||||||||||||||||||||||||
| 106 | init_arg => undef, | ||||||||||||||||||||||||||||
| 107 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 108 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 109 | 'full' => q{HH:mm:ss zzzz}, | ||||||||||||||||||||||||||||
| 110 | 'long' => q{HH:mm:ss z}, | ||||||||||||||||||||||||||||
| 111 | 'medium' => q{HH:mm:ss}, | ||||||||||||||||||||||||||||
| 112 | 'short' => q{HH:mm}, | ||||||||||||||||||||||||||||
| 113 | }, | ||||||||||||||||||||||||||||
| 114 | } }, | ||||||||||||||||||||||||||||
| 115 | 1 | ); | |||||||||||||||||||||||||||
| 116 | |||||||||||||||||||||||||||||
| 117 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 118 | is => 'ro', | ||||||||||||||||||||||||||||
| 119 | isa => HashRef, | ||||||||||||||||||||||||||||
| 120 | init_arg => undef, | ||||||||||||||||||||||||||||
| 121 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 122 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 123 | }, | ||||||||||||||||||||||||||||
| 124 | } }, | ||||||||||||||||||||||||||||
| 125 | 1 | ); | |||||||||||||||||||||||||||
| 126 | |||||||||||||||||||||||||||||
| 127 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 128 | is => 'ro', | ||||||||||||||||||||||||||||
| 129 | isa => HashRef, | ||||||||||||||||||||||||||||
| 130 | init_arg => undef, | ||||||||||||||||||||||||||||
| 131 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 132 | 0 | } }, | |||||||||||||||||||||||||||
| 133 | 1 | ); | |||||||||||||||||||||||||||
| 134 | |||||||||||||||||||||||||||||
| 135 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 136 | is => 'ro', | ||||||||||||||||||||||||||||
| 137 | isa => HashRef, | ||||||||||||||||||||||||||||
| 138 | init_arg => undef, | ||||||||||||||||||||||||||||
| 139 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 140 | 0 | } }, | |||||||||||||||||||||||||||
| 141 | 1 | ); | |||||||||||||||||||||||||||
| 142 | |||||||||||||||||||||||||||||
| 143 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 144 | is => 'ro', | ||||||||||||||||||||||||||||
| 145 | isa => HashRef, | ||||||||||||||||||||||||||||
| 146 | init_arg => undef, | ||||||||||||||||||||||||||||
| 147 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 148 | 0 | } }, | |||||||||||||||||||||||||||
| 149 | 1 | ); | |||||||||||||||||||||||||||
| 150 | |||||||||||||||||||||||||||||
| 151 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 152 | |||||||||||||||||||||||||||||
| 153 | 1 | 1; | |||||||||||||||||||||||||||
| 154 | |||||||||||||||||||||||||||||
| 155 | # vim: tabstop=4 | ||||||||||||||||||||||||||||