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
diff options
context:
space:
mode:
authorDean Karn <Dean.Karn@metricaid.com>2016-09-11 06:35:17 +0300
committerDean Karn <Dean.Karn@metricaid.com>2016-09-11 06:35:17 +0300
commitaaae900248cc5de78e3c73c1ec3b3cc6dac92f9b (patch)
tree389c87c9e8c2607c1c7683fe2f5a3b419c488136 /cy
parentaba249d95ca17c471f1beec3df4b0b9d438c9af8 (diff)
covered stored data from []byte to string
appending to a []byte is faster using a string rather than another []byte...who knew
Diffstat (limited to 'cy')
-rw-r--r--cy/cy.go204
1 files changed, 88 insertions, 116 deletions
diff --git a/cy/cy.go b/cy/cy.go
index b7858e12..ca3f09cd 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{"PST": "Amser Safonol Cefnfor Tawel Gogledd America", "MEZ": "Amser Safonol Canolbarth Ewrop", "SAST": "Amser Safonol De Affrica", "SGT": "Amser Singapore", "OEZ": "Amser Safonol Dwyrain Ewrop", "CHADT": "Amser Haf Chatham", "ARST": "Amser Haf Ariannin", "ACWDT": "Amser Haf Canolbarth Gorllewin Awstralia", "LHDT": "Amser Haf yr Arglwydd Howe", "WESZ": "Amser Haf Gorllewin Ewrop", "OESZ": "Amser Haf Dwyrain Ewrop", "ADT": "Amser Haf Cefnfor yr Iwerydd", "VET": "Amser Venezuela", "∅∅∅": "Amser Haf Brasília", "CHAST": "Amser Safonol Chatham", "WART": "Amser Safonol Gorllewin Ariannin", "GFT": "Amser Guyane Ffrengig", "ChST": "Amser Chamorro", "WIT": "Amser Dwyrain Indonesia", "JST": "Amser Safonol Siapan", "EDT": "Amser Haf Dwyrain Gogledd America", "AST": "Amser Safonol Cefnfor yr Iwerydd", "ECT": "Amser Ecuador", "TMT": "Amser Safonol Tyrcmenistan", "EAT": "Amser Dwyrain Affrica", "EST": "Amser Safonol Dwyrain Gogledd America", "COT": "Amser Safonol Colombia", "COST": "Amser Haf Colombia", "BT": "Amser Bhutan", "ART": "Amser Safonol Ariannin", "WITA": "Amser Canolbarth Indonesia", "WEZ": "Amser Safonol Gorllewin Ewrop", "HNT": "Amser Safonol Newfoundland", "MESZ": "Amser Haf Canolbarth Ewrop", "CST": "Amser Safonol Canolbarth Gogledd America", "AWDT": "Amser Haf Gorllewin Awstralia", "NZDT": "Amser Haf Seland Newydd", "AKDT": "Amser Haf Alaska", "CDT": "Amser Haf Canolbarth Gogledd America", "AWST": "Amser Safonol Gorllewin Awstralia", "AEDT": "Amser Haf Dwyrain Awstralia", "PDT": "Amser Haf Cefnfor Tawel Gogledd America", "WAST": "Amser Haf Gorllewin Affrica", "TMST": "Amser Haf Tyrcmenistan", "WIB": "Amser Gorllewin Indonesia", "WAT": "Amser Safonol Gorllewin Affrica", "LHST": "Amser Safonol yr Arglwydd Howe", "MST": "MST", "HAT": "Amser Haf Newfoundland", "UYST": "Amser Haf Uruguay", "JDT": "Amser Haf Siapan", "UYT": "Amser Safonol Uruguay", "CAT": "Amser Canolbarth Affrica", "ACST": "Amser Safonol Canolbarth Awstralia", "ACWST": "Amser Safonol Canolbarth Gorllewin Awstralia", "MDT": "MDT", "GMT": "Amser Safonol Greenwich", "SRT": "Amser Suriname", "HAST": "Amser Safonol Hawaii-Aleutian", "HADT": "Amser Haf Hawaii-Aleutian", "IST": "Amser India", "HKST": "Amser Haf Hong Kong", "CLT": "Amser Safonol Chile", "CLST": "Amser Haf Chile", "ACDT": "Amser Haf Canolbarth Awstralia", "GYT": "Amser Guyana", "MYT": "Amser Malaysia", "AKST": "Amser Safonol Alaska", "HKT": "Amser Safonol Hong Kong", "NZST": "Amser Safonol Seland Newydd", "BOT": "Amser Bolivia", "WARST": "Amser Haf Gorllewin Ariannin", "AEST": "Amser Safonol Dwyrain Awstralia"},
}
}
@@ -185,80 +180,77 @@ 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) (results 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
count := 0
@@ -302,15 +294,13 @@ func (cy *cy) FmtNumber(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- return b
+ results = string(b)
+ return
}
// 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) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(cy.decimal)
b := make([]byte, 0, l)
@@ -341,13 +331,12 @@ func (cy *cy) FmtPercent(num float64, v uint64) []byte {
b = append(b, cy.percent...)
- return b
+ results = string(b)
+ return
}
// 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) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := cy.currencies[currency]
@@ -408,13 +397,13 @@ func (cy *cy) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
}
}
- return b
+ results = string(b)
+ return
}
// 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) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := cy.currencies[currency]
@@ -455,9 +444,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 +474,12 @@ func (cy *cy) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
b = append(b, cy.currencyNegativeSuffix...)
}
- return b
+ results = string(b)
+ return
}
// 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 +504,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 +518,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 +532,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 +548,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 +569,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 +597,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 +629,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 +666,5 @@ func (cy *cy) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}