Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cy/cy.go
diff options
context:
space:
mode:
Diffstat (limited to 'cy/cy.go')
-rw-r--r--cy/cy.go254
1 files changed, 98 insertions, 156 deletions
diff --git a/cy/cy.go b/cy/cy.go
index b7858e12..51729717 100644
--- a/cy/cy.go
+++ b/cy/cy.go
@@ -14,31 +14,31 @@ type cy struct {
pluralsCardinal []locales.PluralRule
pluralsOrdinal []locales.PluralRule
pluralsRange []locales.PluralRule
- decimal []byte
- group []byte
- minus []byte
- percent []byte
- perMille []byte
- timeSeparator []byte
- inifinity []byte
- currencies [][]byte // idx = enum of currency code
- currencyNegativePrefix []byte
- currencyNegativeSuffix []byte
- monthsAbbreviated [][]byte
- monthsNarrow [][]byte
- monthsWide [][]byte
- daysAbbreviated [][]byte
- daysNarrow [][]byte
- daysShort [][]byte
- daysWide [][]byte
- periodsAbbreviated [][]byte
- periodsNarrow [][]byte
- periodsShort [][]byte
- periodsWide [][]byte
- erasAbbreviated [][]byte
- erasNarrow [][]byte
- erasWide [][]byte
- timezones map[string][]byte
+ decimal string
+ group string
+ minus string
+ percent string
+ perMille string
+ timeSeparator string
+ inifinity string
+ currencies []string // idx = enum of currency code
+ currencyNegativePrefix string
+ currencyNegativeSuffix string
+ monthsAbbreviated []string
+ monthsNarrow []string
+ monthsWide []string
+ daysAbbreviated []string
+ daysNarrow []string
+ daysShort []string
+ daysWide []string
+ periodsAbbreviated []string
+ periodsNarrow []string
+ periodsShort []string
+ periodsWide []string
+ erasAbbreviated []string
+ erasNarrow []string
+ erasWide []string
+ timezones map[string]string
}
// New returns a new instance of translator for the 'cy' locale
@@ -47,30 +47,25 @@ func New() locales.Translator {
locale: "cy",
pluralsCardinal: []locales.PluralRule{1, 2, 3, 4, 5, 6},
pluralsOrdinal: []locales.PluralRule{1, 2, 3, 4, 5, 6},
- pluralsRange: []locales.PluralRule{5, 6, 2, 3, 4},
- decimal: []byte{},
- group: []byte{},
- minus: []byte{},
- percent: []byte{},
- perMille: []byte{},
- timeSeparator: []byte{0x3a},
- currencies: [][]uint8{{0x41, 0x44, 0x50, 0x20}, {0x41, 0x45, 0x44}, {0x41, 0x46, 0x41}, {0x41, 0x46, 0x4e}, {0x41, 0x4c, 0x4b, 0x20}, {0x41, 0x4c, 0x4c}, {0x41, 0x4d, 0x44}, {0x41, 0x4e, 0x47}, {0x41, 0x4f, 0x41}, {0x41, 0x4f, 0x4b}, {0x41, 0x4f, 0x4e}, {0x41, 0x4f, 0x52}, {0x41, 0x52, 0x41}, {0x41, 0x52, 0x4c}, {0x41, 0x52, 0x4d}, {0x41, 0x52, 0x50}, {0x41, 0x52, 0x53}, {0x41, 0x54, 0x53}, {0x41, 0x24}, {0x41, 0x57, 0x47}, {0x41, 0x5a, 0x4d}, {0x41, 0x5a, 0x4e}, {0x42, 0x41, 0x44, 0x20}, {0x42, 0x41, 0x4d}, {0x42, 0x41, 0x4e, 0x20}, {0x42, 0x42, 0x44}, {0x42, 0x44, 0x54}, {0x42, 0x45, 0x43}, {0x42, 0x45, 0x46}, {0x42, 0x45, 0x4c}, {0x42, 0x47, 0x4c, 0x20}, {0x42, 0x47, 0x4d}, {0x42, 0x47, 0x4e}, {0x42, 0x47, 0x4f}, {0x42, 0x48, 0x44}, {0x42, 0x49, 0x46}, {0x42, 0x4d, 0x44}, {0x42, 0x4e, 0x44}, {0x42, 0x4f, 0x42}, {0x42, 0x4f, 0x4c}, {0x42, 0x4f, 0x50}, {0x42, 0x4f, 0x56}, {0x42, 0x52, 0x42}, {0x42, 0x52, 0x43}, {0x42, 0x52, 0x45}, {0x52, 0x24}, {0x42, 0x52, 0x4e}, {0x42, 0x52, 0x52}, {0x42, 0x52, 0x5a}, {0x42, 0x53, 0x44}, {0x42, 0x54, 0x4e}, {0x42, 0x55, 0x4b}, {0x42, 0x57, 0x50}, {0x42, 0x59, 0x42, 0x20}, {0x42, 0x59, 0x52}, {0x42, 0x5a, 0x44}, {0x43, 0x41, 0x24}, {0x43, 0x44, 0x46}, {0x43, 0x48, 0x45}, {0x43, 0x48, 0x46}, {0x43, 0x48, 0x57}, {0x43, 0x4c, 0x45}, {0x43, 0x4c, 0x46}, {0x43, 0x4c, 0x50}, {0x43, 0x4e, 0x58, 0x20}, {0x43, 0x4e, 0xc2, 0xa5}, {0x43, 0x4f, 0x50}, {0x43, 0x4f, 0x55}, {0x43, 0x52, 0x43}, {0x43, 0x53, 0x44}, {0x43, 0x53, 0x4b, 0x20}, {0x43, 0x55, 0x43}, {0x43, 0x55, 0x50}, {0x43, 0x56, 0x45}, {0x43, 0x59, 0x50}, {0x43, 0x5a, 0x4b}, {0x44, 0x44, 0x4d}, {0x44, 0x45, 0x4d}, {0x44, 0x4a, 0x46}, {0x44, 0x4b, 0x4b}, {0x44, 0x4f, 0x50}, {0x44, 0x5a, 0x44}, {0x45, 0x43, 0x53}, {0x45, 0x43, 0x56, 0x20}, {0x45, 0x45, 0x4b, 0x20}, {0x45, 0x47, 0x50}, {0x45, 0x52, 0x4e}, {0x45, 0x53, 0x41, 0x20}, {0x45, 0x53, 0x42, 0x20}, {0x45, 0x53, 0x50}, {0x45, 0x54, 0x42}, {0xe2, 0x82, 0xac}, {0x46, 0x49, 0x4d}, {0x46, 0x4a, 0x44}, {0x46, 0x4b, 0x50}, {0x46, 0x52, 0x46}, {0xc2, 0xa3}, {0x47, 0x45, 0x4b}, {0x47, 0x45, 0x4c}, {0x47, 0x48, 0x43}, {0x47, 0x48, 0x53}, {0x47, 0x49, 0x50}, {0x47, 0x4d, 0x44}, {0x47, 0x4e, 0x46}, {0x47, 0x4e, 0x53}, {0x47, 0x51, 0x45}, {0x47, 0x52, 0x44}, {0x47, 0x54, 0x51}, {0x47, 0x57, 0x45}, {0x47, 0x57, 0x50}, {0x47, 0x59, 0x44}, {0x48, 0x4b, 0x24}, {0x48, 0x4e, 0x4c}, {0x48, 0x52, 0x44}, {0x48, 0x52, 0x4b}, {0x48, 0x54, 0x47}, {0x48, 0x55, 0x46}, {0x49, 0x44, 0x52}, {0x49, 0x45, 0x50}, {0x49, 0x4c, 0x50}, {0x49, 0x4c, 0x52, 0x20}, {0xe2, 0x82, 0xaa}, {0xe2, 0x82, 0xb9}, {0x49, 0x51, 0x44}, {0x49, 0x52, 0x52}, {0x49, 0x53, 0x4a, 0x20}, {0x49, 0x53, 0x4b}, {0x49, 0x54, 0x4c}, {0x4a, 0x4d, 0x44}, {0x4a, 0x4f, 0x44}, {0x4a, 0x50, 0xc2, 0xa5}, {0x4b, 0x45, 0x53}, {0x4b, 0x47, 0x53}, {0x4b, 0x48, 0x52}, {0x4b, 0x4d, 0x46}, {0x4b, 0x50, 0x57}, {0x4b, 0x52, 0x48}, {0x4b, 0x52, 0x4f}, {0x4b, 0x52, 0x57}, {0x4b, 0x57, 0x44}, {0x4b, 0x59, 0x44}, {0x4b, 0x5a, 0x54}, {0x4c, 0x41, 0x4b}, {0x4c, 0x42, 0x50}, {0x4c, 0x4b, 0x52}, {0x4c, 0x52, 0x44}, {0x4c, 0x53, 0x4c}, {0x4c, 0x54, 0x4c}, {0x4c, 0x54, 0x54}, {0x4c, 0x55, 0x43}, {0x4c, 0x55, 0x46}, {0x4c, 0x55, 0x4c}, {0x4c, 0x56, 0x4c}, {0x4c, 0x56, 0x52}, {0x4c, 0x59, 0x44}, {0x4d, 0x41, 0x44}, {0x4d, 0x41, 0x46}, {0x4d, 0x43, 0x46}, {0x4d, 0x44, 0x43, 0x20}, {0x4d, 0x44, 0x4c}, {0x4d, 0x47, 0x41}, {0x4d, 0x47, 0x46}, {0x4d, 0x4b, 0x44}, {0x4d, 0x4b, 0x4e}, {0x4d, 0x4c, 0x46}, {0x4d, 0x4d, 0x4b}, {0x4d, 0x4e, 0x54}, {0x4d, 0x4f, 0x50}, {0x4d, 0x52, 0x4f}, {0x4d, 0x54, 0x4c}, {0x4d, 0x54, 0x50}, {0x4d, 0x55, 0x52}, {0x4d, 0x56, 0x50, 0x20}, {0x4d, 0x56, 0x52}, {0x4d, 0x57, 0x4b}, {0x4d, 0x58, 0x24}, {0x4d, 0x58, 0x50}, {0x4d, 0x58, 0x56}, {0x4d, 0x59, 0x52}, {0x4d, 0x5a, 0x45}, {0x4d, 0x5a, 0x4d}, {0x4d, 0x5a, 0x4e}, {0x4e, 0x41, 0x44}, {0x4e, 0x47, 0x4e}, {0x4e, 0x49, 0x43}, {0x4e, 0x49, 0x4f}, {0x4e, 0x4c, 0x47}, {0x4e, 0x4f, 0x4b}, {0x4e, 0x50, 0x52}, {0x4e, 0x5a, 0x24}, {0x4f, 0x4d, 0x52}, {0x50, 0x41, 0x42}, {0x50, 0x45, 0x49}, {0x50, 0x45, 0x4e}, {0x50, 0x45, 0x53}, {0x50, 0x47, 0x4b}, {0x50, 0x48, 0x50}, {0x50, 0x4b, 0x52}, {0x50, 0x4c, 0x4e}, {0x50, 0x4c, 0x5a, 0x20}, {0x50, 0x54, 0x45}, {0x50, 0x59, 0x47}, {0x51, 0x41, 0x52}, {0x52, 0x48, 0x44}, {0x52, 0x4f, 0x4c, 0x20}, {0x52, 0x4f, 0x4e}, {0x52, 0x53, 0x44}, {0x52, 0x55, 0x42}, {0x52, 0x55, 0x52, 0x20}, {0x52, 0x57, 0x46}, {0x53, 0x41, 0x52}, {0x53, 0x42, 0x44}, {0x53, 0x43, 0x52}, {0x53, 0x44, 0x44}, {0x53, 0x44, 0x47}, {0x53, 0x44, 0x50}, {0x53, 0x45, 0x4b}, {0x53, 0x47, 0x44}, {0x53, 0x48, 0x50}, {0x53, 0x49, 0x54}, {0x53, 0x4b, 0x4b, 0x20}, {0x53, 0x4c, 0x4c}, {0x53, 0x4f, 0x53}, {0x53, 0x52, 0x44}, {0x53, 0x52, 0x47}, {0x53, 0x53, 0x50}, {0x53, 0x54, 0x44}, {0x53, 0x55, 0x52, 0x20}, {0x53, 0x56, 0x43}, {0x53, 0x59, 0x50}, {0x53, 0x5a, 0x4c}, {0xe0, 0xb8, 0xbf}, {0x54, 0x4a, 0x52}, {0x54, 0x4a, 0x53}, {0x54, 0x4d, 0x4d}, {0x54, 0x4d, 0x54}, {0x54, 0x4e, 0x44}, {0x54, 0x4f, 0x50}, {0x54, 0x50, 0x45}, {0x54, 0x52, 0x4c}, {0x54, 0x52, 0x59}, {0x54, 0x54, 0x44}, {0x4e, 0x54, 0x24}, {0x54, 0x5a, 0x53}, {0x55, 0x41, 0x48}, {0x55, 0x41, 0x4b, 0x20}, {0x55, 0x47, 0x53}, {0x55, 0x47, 0x58}, {0x55, 0x53, 0x24}, {0x55, 0x53, 0x4e}, {0x55, 0x53, 0x53}, {0x55, 0x59, 0x49}, {0x55, 0x59, 0x50}, {0x55, 0x59, 0x55}, {0x55, 0x5a, 0x53}, {0x56, 0x45, 0x42}, {0x56, 0x45, 0x46}, {0xe2, 0x82, 0xab}, {0x56, 0x4e, 0x4e}, {0x56, 0x55, 0x56}, {0x57, 0x53, 0x54}, {0x46, 0x43, 0x46, 0x41}, {0x58, 0x41, 0x47, 0x20}, {0x58, 0x41, 0x55, 0x20}, {0x58, 0x42, 0x41, 0x20}, {0x58, 0x42, 0x42, 0x20}, {0x58, 0x42, 0x43, 0x20}, {0x58, 0x42, 0x44, 0x20}, {0x45, 0x43, 0x24}, {0x58, 0x44, 0x52, 0x20}, {0x58, 0x45, 0x55}, {0x58, 0x46, 0x4f, 0x20}, {0x58, 0x46, 0x55, 0x20}, {0x43, 0x46, 0x41}, {0x58, 0x50, 0x44, 0x20}, {0x43, 0x46, 0x50, 0x46}, {0x58, 0x50, 0x54, 0x20}, {0x58, 0x52, 0x45, 0x20}, {0x58, 0x53, 0x55, 0x20}, {0x58, 0x54, 0x53, 0x20}, {0x58, 0x55, 0x41, 0x20}, {0x58, 0x58, 0x58}, {0x59, 0x44, 0x44}, {0x59, 0x45, 0x52}, {0x59, 0x55, 0x44}, {0x59, 0x55, 0x4d}, {0x59, 0x55, 0x4e}, {0x59, 0x55, 0x52}, {0x5a, 0x41, 0x4c}, {0x5a, 0x41, 0x52}, {0x5a, 0x4d, 0x4b}, {0x5a, 0x4d, 0x57}, {0x5a, 0x52, 0x4e}, {0x5a, 0x52, 0x5a}, {0x5a, 0x57, 0x44}, {0x5a, 0x57, 0x4c}, {0x5a, 0x57, 0x52}},
- currencyNegativePrefix: []byte{0x28},
- currencyNegativeSuffix: []byte{0x29},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x49, 0x6f, 0x6e}, {0x43, 0x68, 0x77, 0x65, 0x66}, {0x4d, 0x61, 0x77}, {0x45, 0x62, 0x72, 0x69, 0x6c, 0x6c}, {0x4d, 0x61, 0x69}, {0x4d, 0x65, 0x68}, {0x47, 0x6f, 0x72, 0x66, 0x66}, {0x41, 0x77, 0x73, 0x74}, {0x4d, 0x65, 0x64, 0x69}, {0x48, 0x79, 0x64}, {0x54, 0x61, 0x63, 0x68}, {0x52, 0x68, 0x61, 0x67}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x49}, {0x43, 0x68}, {0x4d}, {0x45}, {0x4d}, {0x4d}, {0x47}, {0x41}, {0x4d}, {0x48}, {0x54}, {0x52, 0x68}},
- monthsWide: [][]uint8{[]uint8(nil), {0x49, 0x6f, 0x6e, 0x61, 0x77, 0x72}, {0x43, 0x68, 0x77, 0x65, 0x66, 0x72, 0x6f, 0x72}, {0x4d, 0x61, 0x77, 0x72, 0x74, 0x68}, {0x45, 0x62, 0x72, 0x69, 0x6c, 0x6c}, {0x4d, 0x61, 0x69}, {0x4d, 0x65, 0x68, 0x65, 0x66, 0x69, 0x6e}, {0x47, 0x6f, 0x72, 0x66, 0x66, 0x65, 0x6e, 0x6e, 0x61, 0x66}, {0x41, 0x77, 0x73, 0x74}, {0x4d, 0x65, 0x64, 0x69}, {0x48, 0x79, 0x64, 0x72, 0x65, 0x66}, {0x54, 0x61, 0x63, 0x68, 0x77, 0x65, 0x64, 0x64}, {0x52, 0x68, 0x61, 0x67, 0x66, 0x79, 0x72}},
- daysAbbreviated: [][]uint8{{0x53, 0x75, 0x6c}, {0x4c, 0x6c, 0x75, 0x6e}, {0x4d, 0x61, 0x77}, {0x4d, 0x65, 0x72}, {0x49, 0x61, 0x75}, {0x47, 0x77, 0x65, 0x6e}, {0x53, 0x61, 0x64}},
- daysNarrow: [][]uint8{{0x53}, {0x4c, 0x6c}, {0x4d}, {0x4d}, {0x49}, {0x47}, {0x53}},
- daysShort: [][]uint8{{0x53, 0x75}, {0x4c, 0x6c}, {0x4d, 0x61}, {0x4d, 0x65}, {0x49, 0x61}, {0x47, 0x77}, {0x53, 0x61}},
- daysWide: [][]uint8{{0x44, 0x79, 0x64, 0x64, 0x20, 0x53, 0x75, 0x6c}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x4c, 0x6c, 0x75, 0x6e}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x4d, 0x61, 0x77, 0x72, 0x74, 0x68}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x65, 0x72}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x49, 0x61, 0x75}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x47, 0x77, 0x65, 0x6e, 0x65, 0x72}, {0x44, 0x79, 0x64, 0x64, 0x20, 0x53, 0x61, 0x64, 0x77, 0x72, 0x6e}},
- periodsAbbreviated: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- periodsNarrow: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- periodsWide: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- erasAbbreviated: [][]uint8{{0x43, 0x43}, {0x4f, 0x43}},
- erasNarrow: [][]uint8{{0x43}, {0x4f}},
- erasWide: [][]uint8{{0x43, 0x79, 0x6e, 0x20, 0x43, 0x72, 0x69, 0x73, 0x74}, {0x4f, 0x65, 0x64, 0x20, 0x43, 0x72, 0x69, 0x73, 0x74}},
- timezones: map[string][]uint8{"OEZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "AKST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "GFT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x65, 0x20, 0x46, 0x66, 0x72, 0x65, 0x6e, 0x67, 0x69, 0x67}, "GMT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "PDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x65, 0x66, 0x6e, 0x66, 0x6f, 0x72, 0x20, 0x54, 0x61, 0x77, 0x65, 0x6c, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "CAT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x41, 0x66, 0x66, 0x72, 0x69, 0x63, 0x61}, "CHADT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "CST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "SGT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x6f, 0x72, 0x65}, "CLST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "WIT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "UYST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79}, "NZDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x53, 0x65, 0x6c, 0x61, 0x6e, 0x64, 0x20, 0x4e, 0x65, 0x77, 0x79, 0x64, 0x64}, "GYT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x61}, "OESZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "BOT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x42, 0x6f, 0x6c, 0x69, 0x76, 0x69, 0x61}, "EST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "IST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x49, 0x6e, 0x64, 0x69, 0x61}, "WIB": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "EAT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x41, 0x66, 0x66, 0x72, 0x69, 0x63, 0x61}, "ART": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x41, 0x72, 0x69, 0x61, 0x6e, 0x6e, 0x69, 0x6e}, "MST": {0x4d, 0x53, 0x54}, "CLT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "ACWDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "NZST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x53, 0x65, 0x6c, 0x61, 0x6e, 0x64, 0x20, 0x4e, 0x65, 0x77, 0x79, 0x64, 0x64}, "HNT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "VET": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x56, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61}, "ACDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "MEZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "HADT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "SRT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x65}, "AWST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "COT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "ACST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "CHAST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "MESZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "HKST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "HAST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "JST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x53, 0x69, 0x61, 0x70, 0x61, 0x6e}, "UYT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79}, "WART": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x72, 0x69, 0x61, 0x6e, 0x6e, 0x69, 0x6e}, "WEZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "HKT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "AWDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "AEST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "COST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "MDT": {0x4d, 0x44, 0x54}, "ADT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x65, 0x66, 0x6e, 0x66, 0x6f, 0x72, 0x20, 0x79, 0x72, 0x20, 0x49, 0x77, 0x65, 0x72, 0x79, 0x64, 0x64}, "AKDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "ChST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f}, "MYT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x61}, "ACWST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "JDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x53, 0x69, 0x61, 0x70, 0x61, 0x6e}, "LHST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x79, 0x72, 0x20, 0x41, 0x72, 0x67, 0x6c, 0x77, 0x79, 0x64, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "WAST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x66, 0x66, 0x72, 0x69, 0x63, 0x61}, "AEDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x41, 0x77, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "BT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x42, 0x68, 0x75, 0x74, 0x61, 0x6e}, "SAST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x44, 0x65, 0x20, 0x41, 0x66, 0x66, 0x72, 0x69, 0x63, 0x61}, "AST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x65, 0x66, 0x6e, 0x66, 0x6f, 0x72, 0x20, 0x79, 0x72, 0x20, 0x49, 0x77, 0x65, 0x72, 0x79, 0x64, 0x64}, "EDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x44, 0x77, 0x79, 0x72, 0x61, 0x69, 0x6e, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "WARST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x72, 0x69, 0x61, 0x6e, 0x6e, 0x69, 0x6e}, "WESZ": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x45, 0x77, 0x72, 0x6f, 0x70}, "WITA": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "PST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x43, 0x65, 0x66, 0x6e, 0x66, 0x6f, 0x72, 0x20, 0x54, 0x61, 0x77, 0x65, 0x6c, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "∅∅∅": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x79, 0x72, 0x20, 0x41, 0x7a, 0x6f, 0x72, 0x65, 0x73}, "LHDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x79, 0x72, 0x20, 0x41, 0x72, 0x67, 0x6c, 0x77, 0x79, 0x64, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "WAT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x47, 0x6f, 0x72, 0x6c, 0x6c, 0x65, 0x77, 0x69, 0x6e, 0x20, 0x41, 0x66, 0x66, 0x72, 0x69, 0x63, 0x61}, "CDT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x43, 0x61, 0x6e, 0x6f, 0x6c, 0x62, 0x61, 0x72, 0x74, 0x68, 0x20, 0x47, 0x6f, 0x67, 0x6c, 0x65, 0x64, 0x64, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x61}, "ARST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x41, 0x72, 0x69, 0x61, 0x6e, 0x6e, 0x69, 0x6e}, "HAT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "ECT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x45, 0x63, 0x75, 0x61, 0x64, 0x6f, 0x72}, "TMT": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x53, 0x61, 0x66, 0x6f, 0x6e, 0x6f, 0x6c, 0x20, 0x54, 0x79, 0x72, 0x63, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}, "TMST": {0x41, 0x6d, 0x73, 0x65, 0x72, 0x20, 0x48, 0x61, 0x66, 0x20, 0x54, 0x79, 0x72, 0x63, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}},
+ pluralsRange: []locales.PluralRule{4, 5, 6, 2, 3},
+ timeSeparator: ":",
+ currencies: []string{"ADP ", "AED", "AFA", "AFN", "ALK ", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "A$", "AWG", "AZM", "AZN", "BAD ", "BAM", "BAN ", "BBD", "BDT", "BEC", "BEF", "BEL", "BGL ", "BGM", "BGN", "BGO", "BHD", "BIF", "BMD", "BND", "BOB", "BOL", "BOP", "BOV", "BRB", "BRC", "BRE", "R$", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB ", "BYR", "BZD", "CA$", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNX ", "CN¥", "COP", "COU", "CRC", "CSD", "CSK ", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV ", "EEK ", "EGP", "ERN", "ESA ", "ESB ", "ESP", "ETB", "€", "FIM", "FJD", "FKP", "FRF", "£", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HK$", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR ", "₪", "₹", "IQD", "IRR", "ISJ ", "ISK", "ITL", "JMD", "JOD", "JP¥", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MAF", "MCF", "MDC ", "MDL", "MGA", "MGF", "MKD", "MKN", "MLF", "MMK", "MNT", "MOP", "MRO", "MTL", "MTP", "MUR", "MVP ", "MVR", "MWK", "MX$", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZ$", "OMR", "PAB", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ ", "PTE", "PYG", "QAR", "RHD", "ROL ", "RON", "RSD", "RUB", "RUR ", "RWF", "SAR", "SBD", "SCR", "SDD", "SDG", "SDP", "SEK", "SGD", "SHP", "SIT", "SKK ", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "SUR ", "SVC", "SYP", "SZL", "฿", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "NT$", "TZS", "UAH", "UAK ", "UGS", "UGX", "US$", "USN", "USS", "UYI", "UYP", "UYU", "UZS", "VEB", "VEF", "₫", "VNN", "VUV", "WST", "FCFA", "XAG ", "XAU ", "XBA ", "XBB ", "XBC ", "XBD ", "EC$", "XDR ", "XEU", "XFO ", "XFU ", "CFA", "XPD ", "CFPF", "XPT ", "XRE ", "XSU ", "XTS ", "XUA ", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR"},
+ currencyNegativePrefix: "(",
+ currencyNegativeSuffix: ")",
+ monthsAbbreviated: []string{"", "Ion", "Chwef", "Maw", "Ebrill", "Mai", "Meh", "Gorff", "Awst", "Medi", "Hyd", "Tach", "Rhag"},
+ monthsNarrow: []string{"", "I", "Ch", "M", "E", "M", "M", "G", "A", "M", "H", "T", "Rh"},
+ monthsWide: []string{"", "Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"},
+ daysAbbreviated: []string{"Sul", "Llun", "Maw", "Mer", "Iau", "Gwen", "Sad"},
+ daysNarrow: []string{"S", "Ll", "M", "M", "I", "G", "S"},
+ daysShort: []string{"Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa"},
+ daysWide: []string{"Dydd Sul", "Dydd Llun", "Dydd Mawrth", "Dydd Mercher", "Dydd Iau", "Dydd Gwener", "Dydd Sadwrn"},
+ periodsAbbreviated: []string{"AM", "PM"},
+ periodsNarrow: []string{"AM", "PM"},
+ periodsWide: []string{"AM", "PM"},
+ erasAbbreviated: []string{"CC", "OC"},
+ erasNarrow: []string{"C", "O"},
+ erasWide: []string{"Cyn Crist", "Oed Crist"},
+ timezones: map[string]string{"OESZ": "Amser Haf Dwyrain Ewrop", "HAT": "Amser Haf Newfoundland", "TMST": "Amser Haf Tyrcmenistan", "GYT": "Amser Guyana", "CST": "Amser Safonol Canolbarth Gogledd America", "AEDT": "Amser Haf Dwyrain Awstralia", "AST": "Amser Safonol Cefnfor yr Iwerydd", "HKST": "Amser Haf Hong Kong", "WITA": "Amser Canolbarth Indonesia", "EAT": "Amser Dwyrain Affrica", "AKDT": "Amser Haf Alaska", "ECT": "Amser Ecuador", "IST": "Amser India", "SRT": "Amser Suriname", "LHDT": "Amser Haf yr Arglwydd Howe", "BOT": "Amser Bolivia", "WARST": "Amser Haf Gorllewin Ariannin", "GMT": "Amser Safonol Greenwich", "MDT": "MDT", "ART": "Amser Safonol Ariannin", "AWDT": "Amser Haf Gorllewin Awstralia", "ACST": "Amser Safonol Canolbarth Awstralia", "TMT": "Amser Safonol Tyrcmenistan", "AKST": "Amser Safonol Alaska", "VET": "Amser Venezuela", "EST": "Amser Safonol Dwyrain Gogledd America", "HAST": "Amser Safonol Hawaii-Aleutian", "MESZ": "Amser Haf Canolbarth Ewrop", "NZST": "Amser Safonol Seland Newydd", "UYST": "Amser Haf Uruguay", "WEZ": "Amser Safonol Gorllewin Ewrop", "WESZ": "Amser Haf Gorllewin Ewrop", "WIT": "Amser Dwyrain Indonesia", "HNT": "Amser Safonol Newfoundland", "CLST": "Amser Haf Chile", "WAST": "Amser Haf Gorllewin Affrica", "OEZ": "Amser Safonol Dwyrain Ewrop", "CDT": "Amser Haf Canolbarth Gogledd America", "ACWDT": "Amser Haf Canolbarth Gorllewin Awstralia", "ChST": "Amser Chamorro", "HADT": "Amser Haf Hawaii-Aleutian", "WAT": "Amser Safonol Gorllewin Affrica", "BT": "Amser Bhutan", "COT": "Amser Safonol Colombia", "MST": "MST", "∅∅∅": "Amser Haf Amazonas", "PDT": "Amser Haf Cefnfor Tawel Gogledd America", "HKT": "Amser Safonol Hong Kong", "ARST": "Amser Haf Ariannin", "ADT": "Amser Haf Cefnfor yr Iwerydd", "JST": "Amser Safonol Siapan", "MEZ": "Amser Safonol Canolbarth Ewrop", "CHAST": "Amser Safonol Chatham", "CHADT": "Amser Haf Chatham", "EDT": "Amser Haf Dwyrain Gogledd America", "SGT": "Amser Singapore", "WART": "Amser Safonol Gorllewin Ariannin", "JDT": "Amser Haf Siapan", "MYT": "Amser Malaysia", "NZDT": "Amser Haf Seland Newydd", "ACWST": "Amser Safonol Canolbarth Gorllewin Awstralia", "COST": "Amser Haf Colombia", "PST": "Amser Safonol Cefnfor Tawel Gogledd America", "LHST": "Amser Safonol yr Arglwydd Howe", "CLT": "Amser Safonol Chile", "SAST": "Amser Safonol De Affrica", "AWST": "Amser Safonol Gorllewin Awstralia", "UYT": "Amser Safonol Uruguay", "AEST": "Amser Safonol Dwyrain Awstralia", "CAT": "Amser Canolbarth Affrica", "WIB": "Amser Gorllewin Indonesia", "GFT": "Amser Guyane Ffrengig", "ACDT": "Amser Haf Canolbarth Awstralia"},
}
}
@@ -185,82 +180,80 @@ func (cy *cy) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64)
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (cy *cy) MonthAbbreviated(month time.Month) []byte {
+func (cy *cy) MonthAbbreviated(month time.Month) string {
return cy.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (cy *cy) MonthsAbbreviated() [][]byte {
+func (cy *cy) MonthsAbbreviated() []string {
return cy.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (cy *cy) MonthNarrow(month time.Month) []byte {
+func (cy *cy) MonthNarrow(month time.Month) string {
return cy.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (cy *cy) MonthsNarrow() [][]byte {
+func (cy *cy) MonthsNarrow() []string {
return cy.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (cy *cy) MonthWide(month time.Month) []byte {
+func (cy *cy) MonthWide(month time.Month) string {
return cy.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (cy *cy) MonthsWide() [][]byte {
+func (cy *cy) MonthsWide() []string {
return cy.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (cy *cy) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (cy *cy) WeekdayAbbreviated(weekday time.Weekday) string {
return cy.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (cy *cy) WeekdaysAbbreviated() [][]byte {
+func (cy *cy) WeekdaysAbbreviated() []string {
return cy.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (cy *cy) WeekdayNarrow(weekday time.Weekday) []byte {
+func (cy *cy) WeekdayNarrow(weekday time.Weekday) string {
return cy.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (cy *cy) WeekdaysNarrow() [][]byte {
+func (cy *cy) WeekdaysNarrow() []string {
return cy.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (cy *cy) WeekdayShort(weekday time.Weekday) []byte {
+func (cy *cy) WeekdayShort(weekday time.Weekday) string {
return cy.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (cy *cy) WeekdaysShort() [][]byte {
+func (cy *cy) WeekdaysShort() []string {
return cy.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (cy *cy) WeekdayWide(weekday time.Weekday) []byte {
+func (cy *cy) WeekdayWide(weekday time.Weekday) string {
return cy.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (cy *cy) WeekdaysWide() [][]byte {
+func (cy *cy) WeekdaysWide() []string {
return cy.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'cy' and handles both Whole and Real numbers based on 'v'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtNumber(num float64, v uint64) []byte {
+func (cy *cy) FmtNumber(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(cy.decimal) + len(cy.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + 0 + 0*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -268,20 +261,14 @@ func (cy *cy) FmtNumber(num float64, v uint64) []byte {
for i := len(s) - 1; i >= 0; i-- {
if s[i] == '.' {
- for j := len(cy.decimal) - 1; j >= 0; j-- {
- b = append(b, cy.decimal[j])
- }
-
+ b = append(b, cy.decimal[0])
inWhole = true
continue
}
if inWhole {
if count == 3 {
- for j := len(cy.group) - 1; j >= 0; j-- {
- b = append(b, cy.group[j])
- }
-
+ b = append(b, cy.group[0])
count = 1
} else {
count++
@@ -292,9 +279,7 @@ func (cy *cy) FmtNumber(num float64, v uint64) []byte {
}
if num < 0 {
- for j := len(cy.minus) - 1; j >= 0; j-- {
- b = append(b, cy.minus[j])
- }
+ b = append(b, cy.minus[0])
}
// reverse
@@ -302,26 +287,20 @@ func (cy *cy) FmtNumber(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- return b
+ return string(b)
}
// FmtPercent returns 'num' with digits/precision of 'v' for 'cy' and handles both Whole and Real numbers based on 'v'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
// NOTE: 'num' passed into FmtPercent is assumed to be in percent already
-func (cy *cy) FmtPercent(num float64, v uint64) []byte {
-
+func (cy *cy) FmtPercent(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(cy.decimal)
+ l := len(s) + 0
b := make([]byte, 0, l)
for i := len(s) - 1; i >= 0; i-- {
if s[i] == '.' {
- for j := len(cy.decimal) - 1; j >= 0; j-- {
- b = append(b, cy.decimal[j])
- }
-
+ b = append(b, cy.decimal[0])
continue
}
@@ -329,9 +308,7 @@ func (cy *cy) FmtPercent(num float64, v uint64) []byte {
}
if num < 0 {
- for j := len(cy.minus) - 1; j >= 0; j-- {
- b = append(b, cy.minus[j])
- }
+ b = append(b, cy.minus[0])
}
// reverse
@@ -341,17 +318,15 @@ func (cy *cy) FmtPercent(num float64, v uint64) []byte {
b = append(b, cy.percent...)
- return b
+ return string(b)
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := cy.currencies[currency]
- l := len(s) + len(cy.decimal) + len(cy.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 0 + 0*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -359,20 +334,14 @@ func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
for i := len(s) - 1; i >= 0; i-- {
if s[i] == '.' {
- for j := len(cy.decimal) - 1; j >= 0; j-- {
- b = append(b, cy.decimal[j])
- }
-
+ b = append(b, cy.decimal[0])
inWhole = true
continue
}
if inWhole {
if count == 3 {
- for j := len(cy.group) - 1; j >= 0; j-- {
- b = append(b, cy.group[j])
- }
-
+ b = append(b, cy.group[0])
count = 1
} else {
count++
@@ -387,9 +356,7 @@ func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
}
if num < 0 {
- for j := len(cy.minus) - 1; j >= 0; j-- {
- b = append(b, cy.minus[j])
- }
+ b = append(b, cy.minus[0])
}
// reverse
@@ -408,17 +375,16 @@ func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
}
}
- return b
+ return string(b)
}
// FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'cy'
-// in accounting notation. returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := cy.currencies[currency]
- l := len(s) + len(cy.decimal) + len(cy.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 2 + 0*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -426,20 +392,14 @@ func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
for i := len(s) - 1; i >= 0; i-- {
if s[i] == '.' {
- for j := len(cy.decimal) - 1; j >= 0; j-- {
- b = append(b, cy.decimal[j])
- }
-
+ b = append(b, cy.decimal[0])
inWhole = true
continue
}
if inWhole {
if count == 3 {
- for j := len(cy.group) - 1; j >= 0; j-- {
- b = append(b, cy.group[j])
- }
-
+ b = append(b, cy.group[0])
count = 1
} else {
count++
@@ -455,9 +415,7 @@ func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
b = append(b, symbol[j])
}
- for j := len(cy.currencyNegativePrefix) - 1; j >= 0; j-- {
- b = append(b, cy.currencyNegativePrefix[j])
- }
+ b = append(b, cy.currencyNegativePrefix[0])
} else {
@@ -487,13 +445,11 @@ func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
b = append(b, cy.currencyNegativeSuffix...)
}
- return b
+ return string(b)
}
// FmtDateShort returns the short date representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtDateShort(t time.Time) []byte {
+func (cy *cy) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -518,13 +474,11 @@ func (cy *cy) FmtDateShort(t time.Time) []byte {
b = append(b, strconv.Itoa(t.Year())[1:]...)
}
- return b
+ return string(b)
}
// FmtDateMedium returns the medium date representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtDateMedium(t time.Time) []byte {
+func (cy *cy) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -534,13 +488,11 @@ func (cy *cy) FmtDateMedium(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateLong returns the long date representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtDateLong(t time.Time) []byte {
+func (cy *cy) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -550,13 +502,11 @@ func (cy *cy) FmtDateLong(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateFull returns the full date representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtDateFull(t time.Time) []byte {
+func (cy *cy) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -568,13 +518,11 @@ func (cy *cy) FmtDateFull(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtTimeShort returns the short time representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtTimeShort(t time.Time) []byte {
+func (cy *cy) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -591,13 +539,11 @@ func (cy *cy) FmtTimeShort(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Minute()), 10)
- return b
+ return string(b)
}
// FmtTimeMedium returns the medium time representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtTimeMedium(t time.Time) []byte {
+func (cy *cy) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -621,13 +567,11 @@ func (cy *cy) FmtTimeMedium(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Second()), 10)
- return b
+ return string(b)
}
// FmtTimeLong returns the long time representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtTimeLong(t time.Time) []byte {
+func (cy *cy) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -655,13 +599,11 @@ func (cy *cy) FmtTimeLong(t time.Time) []byte {
tz, _ := t.Zone()
b = append(b, tz...)
- return b
+ return string(b)
}
// FmtTimeFull returns the full time representation of 't' for 'cy'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (cy *cy) FmtTimeFull(t time.Time) []byte {
+func (cy *cy) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -694,5 +636,5 @@ func (cy *cy) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}