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/lv_LV
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 /lv_LV
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 'lv_LV')
-rw-r--r--lv_LV/lv_LV.go205
1 files changed, 92 insertions, 113 deletions
diff --git a/lv_LV/lv_LV.go b/lv_LV/lv_LV.go
index 7312930d..276f0fa4 100644
--- a/lv_LV/lv_LV.go
+++ b/lv_LV/lv_LV.go
@@ -14,31 +14,31 @@ type lv_LV 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
- currencyPositiveSuffix []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
+ currencyPositiveSuffix 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 'lv_LV' locale
@@ -48,30 +48,30 @@ func New() locales.Translator {
pluralsCardinal: []locales.PluralRule{1, 2, 6},
pluralsOrdinal: []locales.PluralRule{6},
pluralsRange: []locales.PluralRule{6, 2},
- decimal: []byte{0x2c},
- group: []byte{0xc2, 0xa0},
- minus: []byte{0x2d},
- percent: []byte{0x25},
- perMille: []byte{0xe2, 0x80, 0xb0},
- timeSeparator: []byte{0x3a},
- inifinity: []byte{0xe2, 0x88, 0x9e},
- currencies: [][]uint8{{0x41, 0x44, 0x50, 0x20}, {0x41, 0x45, 0x44, 0x20}, {0x41, 0x46, 0x41, 0x20}, {0x41, 0x46, 0x4e, 0x20}, {0x41, 0x4c, 0x4b, 0x20}, {0x41, 0x4c, 0x4c, 0x20}, {0x41, 0x4d, 0x44, 0x20}, {0x41, 0x4e, 0x47, 0x20}, {0x41, 0x4f, 0x41, 0x20}, {0x41, 0x4f, 0x4b, 0x20}, {0x41, 0x4f, 0x4e, 0x20}, {0x41, 0x4f, 0x52, 0x20}, {0x41, 0x52, 0x41, 0x20}, {0x41, 0x52, 0x4c, 0x20}, {0x41, 0x52, 0x4d, 0x20}, {0x41, 0x52, 0x50, 0x20}, {0x41, 0x52, 0x53, 0x20}, {0x41, 0x54, 0x53, 0x20}, {0x41, 0x55, 0x44, 0x20}, {0x41, 0x57, 0x47, 0x20}, {0x41, 0x5a, 0x4d, 0x20}, {0x41, 0x5a, 0x4e, 0x20}, {0x42, 0x41, 0x44, 0x20}, {0x42, 0x41, 0x4d, 0x20}, {0x42, 0x41, 0x4e, 0x20}, {0x42, 0x42, 0x44, 0x20}, {0x42, 0x44, 0x54, 0x20}, {0x42, 0x45, 0x43, 0x20}, {0x42, 0x45, 0x46, 0x20}, {0x42, 0x45, 0x4c, 0x20}, {0x42, 0x47, 0x4c, 0x20}, {0x42, 0x47, 0x4d, 0x20}, {0x42, 0x47, 0x4e, 0x20}, {0x42, 0x47, 0x4f, 0x20}, {0x42, 0x48, 0x44, 0x20}, {0x42, 0x49, 0x46, 0x20}, {0x42, 0x4d, 0x44, 0x20}, {0x42, 0x4e, 0x44, 0x20}, {0x42, 0x4f, 0x42, 0x20}, {0x42, 0x4f, 0x4c, 0x20}, {0x42, 0x4f, 0x50, 0x20}, {0x42, 0x4f, 0x56, 0x20}, {0x42, 0x52, 0x42, 0x20}, {0x42, 0x52, 0x43, 0x20}, {0x42, 0x52, 0x45, 0x20}, {0x42, 0x52, 0x4c, 0x20}, {0x42, 0x52, 0x4e, 0x20}, {0x42, 0x52, 0x52, 0x20}, {0x42, 0x52, 0x5a, 0x20}, {0x42, 0x53, 0x44, 0x20}, {0x42, 0x54, 0x4e, 0x20}, {0x42, 0x55, 0x4b, 0x20}, {0x42, 0x57, 0x50, 0x20}, {0x42, 0x59, 0x42, 0x20}, {0x42, 0x59, 0x52, 0x20}, {0x42, 0x5a, 0x44, 0x20}, {0x43, 0x41, 0x44, 0x20}, {0x43, 0x44, 0x46, 0x20}, {0x43, 0x48, 0x45, 0x20}, {0x43, 0x48, 0x46, 0x20}, {0x43, 0x48, 0x57, 0x20}, {0x43, 0x4c, 0x45, 0x20}, {0x43, 0x4c, 0x46, 0x20}, {0x43, 0x4c, 0x50, 0x20}, {0x43, 0x4e, 0x58, 0x20}, {0x43, 0x4e, 0x59, 0x20}, {0x43, 0x4f, 0x50, 0x20}, {0x43, 0x4f, 0x55, 0x20}, {0x43, 0x52, 0x43, 0x20}, {0x43, 0x53, 0x44, 0x20}, {0x43, 0x53, 0x4b, 0x20}, {0x43, 0x55, 0x43, 0x20}, {0x43, 0x55, 0x50, 0x20}, {0x43, 0x56, 0x45, 0x20}, {0x43, 0x59, 0x50, 0x20}, {0x43, 0x5a, 0x4b, 0x20}, {0x44, 0x44, 0x4d, 0x20}, {0x44, 0x45, 0x4d, 0x20}, {0x44, 0x4a, 0x46, 0x20}, {0x44, 0x4b, 0x4b, 0x20}, {0x44, 0x4f, 0x50, 0x20}, {0x44, 0x5a, 0x44, 0x20}, {0x45, 0x43, 0x53, 0x20}, {0x45, 0x43, 0x56, 0x20}, {0x45, 0x45, 0x4b, 0x20}, {0x45, 0x47, 0x50, 0x20}, {0x45, 0x52, 0x4e, 0x20}, {0x45, 0x53, 0x41, 0x20}, {0x45, 0x53, 0x42, 0x20}, {0x45, 0x53, 0x50, 0x20}, {0x45, 0x54, 0x42, 0x20}, {0x45, 0x55, 0x52, 0x20}, {0x46, 0x49, 0x4d, 0x20}, {0x46, 0x4a, 0x44, 0x20}, {0x46, 0x4b, 0x50, 0x20}, {0x46, 0x52, 0x46, 0x20}, {0x47, 0x42, 0x50, 0x20}, {0x47, 0x45, 0x4b, 0x20}, {0x47, 0x45, 0x4c, 0x20}, {0x47, 0x48, 0x43, 0x20}, {0x47, 0x48, 0x53, 0x20}, {0x47, 0x49, 0x50, 0x20}, {0x47, 0x4d, 0x44, 0x20}, {0x47, 0x4e, 0x46, 0x20}, {0x47, 0x4e, 0x53, 0x20}, {0x47, 0x51, 0x45, 0x20}, {0x47, 0x52, 0x44, 0x20}, {0x47, 0x54, 0x51, 0x20}, {0x47, 0x57, 0x45, 0x20}, {0x47, 0x57, 0x50, 0x20}, {0x47, 0x59, 0x44, 0x20}, {0x48, 0x4b, 0x44, 0x20}, {0x48, 0x4e, 0x4c, 0x20}, {0x48, 0x52, 0x44, 0x20}, {0x48, 0x52, 0x4b, 0x20}, {0x48, 0x54, 0x47, 0x20}, {0x48, 0x55, 0x46, 0x20}, {0x49, 0x44, 0x52, 0x20}, {0x49, 0x45, 0x50, 0x20}, {0x49, 0x4c, 0x50, 0x20}, {0x49, 0x4c, 0x52, 0x20}, {0x49, 0x4c, 0x53, 0x20}, {0x49, 0x4e, 0x52, 0x20}, {0x49, 0x51, 0x44, 0x20}, {0x49, 0x52, 0x52, 0x20}, {0x49, 0x53, 0x4a, 0x20}, {0x49, 0x53, 0x4b, 0x20}, {0x49, 0x54, 0x4c, 0x20}, {0x4a, 0x4d, 0x44, 0x20}, {0x4a, 0x4f, 0x44, 0x20}, {0x4a, 0x50, 0x59, 0x20}, {0x4b, 0x45, 0x53, 0x20}, {0x4b, 0x47, 0x53, 0x20}, {0x4b, 0x48, 0x52, 0x20}, {0x4b, 0x4d, 0x46, 0x20}, {0x4b, 0x50, 0x57, 0x20}, {0x4b, 0x52, 0x48, 0x20}, {0x4b, 0x52, 0x4f, 0x20}, {0x4b, 0x52, 0x57, 0x20}, {0x4b, 0x57, 0x44, 0x20}, {0x4b, 0x59, 0x44, 0x20}, {0x4b, 0x5a, 0x54, 0x20}, {0x4c, 0x41, 0x4b, 0x20}, {0x4c, 0x42, 0x50, 0x20}, {0x4c, 0x4b, 0x52, 0x20}, {0x4c, 0x52, 0x44, 0x20}, {0x4c, 0x53, 0x4c, 0x20}, {0x4c, 0x54, 0x4c, 0x20}, {0x4c, 0x54, 0x54, 0x20}, {0x4c, 0x55, 0x43, 0x20}, {0x4c, 0x55, 0x46, 0x20}, {0x4c, 0x55, 0x4c, 0x20}, {0x4c, 0x56, 0x4c, 0x20}, {0x4c, 0x56, 0x52, 0x20}, {0x4c, 0x59, 0x44, 0x20}, {0x4d, 0x41, 0x44, 0x20}, {0x4d, 0x41, 0x46, 0x20}, {0x4d, 0x43, 0x46, 0x20}, {0x4d, 0x44, 0x43, 0x20}, {0x4d, 0x44, 0x4c, 0x20}, {0x4d, 0x47, 0x41, 0x20}, {0x4d, 0x47, 0x46, 0x20}, {0x4d, 0x4b, 0x44, 0x20}, {0x4d, 0x4b, 0x4e, 0x20}, {0x4d, 0x4c, 0x46, 0x20}, {0x4d, 0x4d, 0x4b, 0x20}, {0x4d, 0x4e, 0x54, 0x20}, {0x4d, 0x4f, 0x50, 0x20}, {0x4d, 0x52, 0x4f, 0x20}, {0x4d, 0x54, 0x4c, 0x20}, {0x4d, 0x54, 0x50, 0x20}, {0x4d, 0x55, 0x52, 0x20}, {0x4d, 0x56, 0x50, 0x20}, {0x4d, 0x56, 0x52, 0x20}, {0x4d, 0x57, 0x4b, 0x20}, {0x4d, 0x58, 0x4e, 0x20}, {0x4d, 0x58, 0x50, 0x20}, {0x4d, 0x58, 0x56, 0x20}, {0x4d, 0x59, 0x52, 0x20}, {0x4d, 0x5a, 0x45, 0x20}, {0x4d, 0x5a, 0x4d, 0x20}, {0x4d, 0x5a, 0x4e, 0x20}, {0x4e, 0x41, 0x44, 0x20}, {0x4e, 0x47, 0x4e, 0x20}, {0x4e, 0x49, 0x43, 0x20}, {0x4e, 0x49, 0x4f, 0x20}, {0x4e, 0x4c, 0x47, 0x20}, {0x4e, 0x4f, 0x4b, 0x20}, {0x4e, 0x50, 0x52, 0x20}, {0x4e, 0x5a, 0x44, 0x20}, {0x4f, 0x4d, 0x52, 0x20}, {0x50, 0x41, 0x42, 0x20}, {0x50, 0x45, 0x49, 0x20}, {0x50, 0x45, 0x4e, 0x20}, {0x50, 0x45, 0x53, 0x20}, {0x50, 0x47, 0x4b, 0x20}, {0x50, 0x48, 0x50, 0x20}, {0x50, 0x4b, 0x52, 0x20}, {0x50, 0x4c, 0x4e, 0x20}, {0x50, 0x4c, 0x5a, 0x20}, {0x50, 0x54, 0x45, 0x20}, {0x50, 0x59, 0x47, 0x20}, {0x51, 0x41, 0x52, 0x20}, {0x52, 0x48, 0x44, 0x20}, {0x52, 0x4f, 0x4c, 0x20}, {0x52, 0x4f, 0x4e, 0x20}, {0x52, 0x53, 0x44, 0x20}, {0x52, 0x55, 0x42, 0x20}, {0x52, 0x55, 0x52, 0x20}, {0x52, 0x57, 0x46, 0x20}, {0x53, 0x41, 0x52, 0x20}, {0x53, 0x42, 0x44, 0x20}, {0x53, 0x43, 0x52, 0x20}, {0x53, 0x44, 0x44, 0x20}, {0x53, 0x44, 0x47, 0x20}, {0x53, 0x44, 0x50, 0x20}, {0x53, 0x45, 0x4b, 0x20}, {0x53, 0x47, 0x44, 0x20}, {0x53, 0x48, 0x50, 0x20}, {0x53, 0x49, 0x54, 0x20}, {0x53, 0x4b, 0x4b, 0x20}, {0x53, 0x4c, 0x4c, 0x20}, {0x53, 0x4f, 0x53, 0x20}, {0x53, 0x52, 0x44, 0x20}, {0x53, 0x52, 0x47, 0x20}, {0x53, 0x53, 0x50, 0x20}, {0x53, 0x54, 0x44, 0x20}, {0x53, 0x55, 0x52, 0x20}, {0x53, 0x56, 0x43, 0x20}, {0x53, 0x59, 0x50, 0x20}, {0x53, 0x5a, 0x4c, 0x20}, {0x54, 0x48, 0x42, 0x20}, {0x54, 0x4a, 0x52, 0x20}, {0x54, 0x4a, 0x53, 0x20}, {0x54, 0x4d, 0x4d, 0x20}, {0x54, 0x4d, 0x54, 0x20}, {0x54, 0x4e, 0x44, 0x20}, {0x54, 0x4f, 0x50, 0x20}, {0x54, 0x50, 0x45, 0x20}, {0x54, 0x52, 0x4c, 0x20}, {0x54, 0x52, 0x59, 0x20}, {0x54, 0x54, 0x44, 0x20}, {0x54, 0x57, 0x44, 0x20}, {0x54, 0x5a, 0x53, 0x20}, {0x55, 0x41, 0x48, 0x20}, {0x55, 0x41, 0x4b, 0x20}, {0x55, 0x47, 0x53, 0x20}, {0x55, 0x47, 0x58, 0x20}, {0x55, 0x53, 0x44, 0x20}, {0x55, 0x53, 0x4e, 0x20}, {0x55, 0x53, 0x53, 0x20}, {0x55, 0x59, 0x49, 0x20}, {0x55, 0x59, 0x50, 0x20}, {0x55, 0x59, 0x55, 0x20}, {0x55, 0x5a, 0x53, 0x20}, {0x56, 0x45, 0x42, 0x20}, {0x56, 0x45, 0x46, 0x20}, {0x56, 0x4e, 0x44, 0x20}, {0x56, 0x4e, 0x4e, 0x20}, {0x56, 0x55, 0x56, 0x20}, {0x57, 0x53, 0x54, 0x20}, {0x58, 0x41, 0x46, 0x20}, {0x58, 0x41, 0x47, 0x20}, {0x58, 0x41, 0x55, 0x20}, {0x58, 0x42, 0x41, 0x20}, {0x58, 0x42, 0x42, 0x20}, {0x58, 0x42, 0x43, 0x20}, {0x58, 0x42, 0x44, 0x20}, {0x58, 0x43, 0x44, 0x20}, {0x58, 0x44, 0x52, 0x20}, {0x58, 0x45, 0x55, 0x20}, {0x58, 0x46, 0x4f, 0x20}, {0x58, 0x46, 0x55, 0x20}, {0x58, 0x4f, 0x46, 0x20}, {0x58, 0x50, 0x44, 0x20}, {0x58, 0x50, 0x46, 0x20}, {0x58, 0x50, 0x54, 0x20}, {0x58, 0x52, 0x45, 0x20}, {0x58, 0x53, 0x55, 0x20}, {0x58, 0x54, 0x53, 0x20}, {0x58, 0x55, 0x41, 0x20}, {0x58, 0x58, 0x58, 0x20}, {0x59, 0x44, 0x44, 0x20}, {0x59, 0x45, 0x52, 0x20}, {0x59, 0x55, 0x44, 0x20}, {0x59, 0x55, 0x4d, 0x20}, {0x59, 0x55, 0x4e, 0x20}, {0x59, 0x55, 0x52, 0x20}, {0x5a, 0x41, 0x4c, 0x20}, {0x5a, 0x41, 0x52, 0x20}, {0x5a, 0x4d, 0x4b, 0x20}, {0x5a, 0x4d, 0x57, 0x20}, {0x5a, 0x52, 0x4e, 0x20}, {0x5a, 0x52, 0x5a, 0x20}, {0x5a, 0x57, 0x44, 0x20}, {0x5a, 0x57, 0x4c, 0x20}, {0x5a, 0x57, 0x52, 0x20}},
- currencyPositiveSuffix: []byte{0xc2, 0xa0},
- currencyNegativeSuffix: []byte{0xc2, 0xa0},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x6a, 0x61, 0x6e, 0x76, 0x2e}, {0x66, 0x65, 0x62, 0x72, 0x2e}, {0x6d, 0x61, 0x72, 0x74, 0x73}, {0x61, 0x70, 0x72, 0x2e}, {0x6d, 0x61, 0x69, 0x6a, 0x73}, {0x6a, 0xc5, 0xab, 0x6e, 0x2e}, {0x6a, 0xc5, 0xab, 0x6c, 0x2e}, {0x61, 0x75, 0x67, 0x2e}, {0x73, 0x65, 0x70, 0x74, 0x2e}, {0x6f, 0x6b, 0x74, 0x2e}, {0x6e, 0x6f, 0x76, 0x2e}, {0x64, 0x65, 0x63, 0x2e}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x4a}, {0x46}, {0x4d}, {0x41}, {0x4d}, {0x4a}, {0x4a}, {0x41}, {0x53}, {0x4f}, {0x4e}, {0x44}},
- monthsWide: [][]uint8{[]uint8(nil), {0x6a, 0x61, 0x6e, 0x76, 0xc4, 0x81, 0x72, 0x69, 0x73}, {0x66, 0x65, 0x62, 0x72, 0x75, 0xc4, 0x81, 0x72, 0x69, 0x73}, {0x6d, 0x61, 0x72, 0x74, 0x73}, {0x61, 0x70, 0x72, 0xc4, 0xab, 0x6c, 0x69, 0x73}, {0x6d, 0x61, 0x69, 0x6a, 0x73}, {0x6a, 0xc5, 0xab, 0x6e, 0x69, 0x6a, 0x73}, {0x6a, 0xc5, 0xab, 0x6c, 0x69, 0x6a, 0x73}, {0x61, 0x75, 0x67, 0x75, 0x73, 0x74, 0x73}, {0x73, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x72, 0x69, 0x73}, {0x6f, 0x6b, 0x74, 0x6f, 0x62, 0x72, 0x69, 0x73}, {0x6e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x72, 0x69, 0x73}, {0x64, 0x65, 0x63, 0x65, 0x6d, 0x62, 0x72, 0x69, 0x73}},
- daysAbbreviated: [][]uint8{{0x53, 0x76}, {0x50, 0x72}, {0x4f, 0x74}, {0x54, 0x72}, {0x43, 0x65}, {0x50, 0x6b}, {0x53, 0x65}},
- daysNarrow: [][]uint8{{0x53}, {0x50}, {0x4f}, {0x54}, {0x43}, {0x50}, {0x53}},
- daysShort: [][]uint8{{0x53, 0x76}, {0x50, 0x72}, {0x4f, 0x74}, {0x54, 0x72}, {0x43, 0x65}, {0x50, 0x6b}, {0x53, 0x65}},
- daysWide: [][]uint8{{0x73, 0x76, 0xc4, 0x93, 0x74, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x70, 0x69, 0x72, 0x6d, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x6f, 0x74, 0x72, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x74, 0x72, 0x65, 0xc5, 0xa1, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x63, 0x65, 0x74, 0x75, 0x72, 0x74, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x70, 0x69, 0x65, 0x6b, 0x74, 0x64, 0x69, 0x65, 0x6e, 0x61}, {0x73, 0x65, 0x73, 0x74, 0x64, 0x69, 0x65, 0x6e, 0x61}},
- periodsAbbreviated: [][]uint8{{0x70, 0x72, 0x69, 0x65, 0x6b, 0xc5, 0xa1, 0x70, 0x2e}, {0x70, 0xc4, 0x93, 0x63, 0x70, 0x2e}},
- periodsNarrow: [][]uint8{{0x70, 0x72, 0x69, 0x65, 0x6b, 0xc5, 0xa1, 0x70, 0x2e}, {0x70, 0xc4, 0x93, 0x63, 0x70, 0x2e}},
- periodsWide: [][]uint8{{0x70, 0x72, 0x69, 0x65, 0x6b, 0xc5, 0xa1, 0x70, 0x75, 0x73, 0x64, 0x69, 0x65, 0x6e, 0xc4, 0x81}, {0x70, 0xc4, 0x93, 0x63, 0x70, 0x75, 0x73, 0x64, 0x69, 0x65, 0x6e, 0xc4, 0x81}},
- erasAbbreviated: [][]uint8{{0x70, 0x2e, 0x6d, 0x2e, 0xc4, 0x93, 0x2e}, {0x6d, 0x2e, 0xc4, 0x93, 0x2e}},
- erasNarrow: [][]uint8{{0x70, 0x2e, 0x6d, 0x2e, 0xc4, 0x93, 0x2e}, {0x6d, 0x2e, 0xc4, 0x93, 0x2e}},
- erasWide: [][]uint8{{0x70, 0x69, 0x72, 0x6d, 0x73, 0x20, 0x6d, 0xc5, 0xab, 0x73, 0x75, 0x20, 0xc4, 0x93, 0x72, 0x61, 0x73}, {0x6d, 0xc5, 0xab, 0x73, 0x75, 0x20, 0xc4, 0x93, 0x72, 0xc4, 0x81}},
- timezones: map[string][]uint8{"ARST": {0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0xc4, 0xab, 0x6e, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "MYT": {0x4d, 0x61, 0x6c, 0x61, 0x69, 0x7a, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "VET": {0x56, 0x65, 0x6e, 0x65, 0x63, 0x75, 0xc4, 0x93, 0x6c, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AWDT": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x72, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "SAST": {0x44, 0x69, 0x65, 0x6e, 0x76, 0x69, 0x64, 0xc4, 0x81, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ART": {0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0xc4, 0xab, 0x6e, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CLST": {0xc4, 0x8c, 0xc4, 0xab, 0x6c, 0x65, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HNT": {0xc5, 0x85, 0xc5, 0xab, 0x66, 0x61, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WAST": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0xc4, 0x81, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AWST": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x72, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x75, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "MESZ": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CLT": {0xc4, 0x8c, 0xc4, 0xab, 0x6c, 0x65, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "JST": {0x4a, 0x61, 0x70, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AKST": {0x41, 0xc4, 0xbc, 0x61, 0x73, 0x6b, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "TMST": {0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CDT": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "UYST": {0x55, 0x72, 0x75, 0x67, 0x76, 0x61, 0x6a, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "NZDT": {0x4a, 0x61, 0x75, 0x6e, 0x7a, 0xc4, 0x93, 0x6c, 0x61, 0x6e, 0x64, 0x65, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ACWDT": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x72, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "SRT": {0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CST": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "BOT": {0x42, 0x6f, 0x6c, 0xc4, 0xab, 0x76, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "GMT": {0x47, 0x72, 0x69, 0x6e, 0x69, 0xc4, 0x8d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "JDT": {0x4a, 0x61, 0x70, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WARST": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0xc4, 0xab, 0x6e, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "GYT": {0x47, 0x61, 0x6a, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HKT": {0x48, 0x6f, 0x6e, 0x6b, 0x6f, 0x6e, 0x67, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "COT": {0x4b, 0x6f, 0x6c, 0x75, 0x6d, 0x62, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CHAST": {0xc4, 0x8c, 0x65, 0x74, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "PST": {0x4b, 0x6c, 0x75, 0x73, 0xc4, 0x81, 0x20, 0x6f, 0x6b, 0x65, 0xc4, 0x81, 0x6e, 0x61, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "UYT": {0x55, 0x72, 0x75, 0x67, 0x76, 0x61, 0x6a, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WIT": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0xc4, 0x93, 0x7a, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HKST": {0x48, 0x6f, 0x6e, 0x6b, 0x6f, 0x6e, 0x67, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "TMT": {0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "EAT": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0xc4, 0x81, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "PDT": {0x4b, 0x6c, 0x75, 0x73, 0xc4, 0x81, 0x20, 0x6f, 0x6b, 0x65, 0xc4, 0x81, 0x6e, 0x61, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "SGT": {0x53, 0x69, 0x6e, 0x67, 0x61, 0x70, 0xc5, 0xab, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ACST": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HAST": {0x48, 0x61, 0x76, 0x61, 0x6a, 0x75, 0xe2, 0x80, 0x93, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x75, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AKDT": {0x41, 0xc4, 0xbc, 0x61, 0x73, 0x6b, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ACWST": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x72, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x75, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "MDT": {0x4d, 0x44, 0x54}, "OEZ": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HAT": {0xc5, 0x85, 0xc5, 0xab, 0x66, 0x61, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AEDT": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x61, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "GFT": {0x46, 0x72, 0x61, 0x6e, 0xc4, 0x8d, 0x75, 0x20, 0x47, 0x76, 0x69, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "∅∅∅": {0x41, 0x7a, 0x6f, 0x72, 0x75, 0x20, 0x73, 0x61, 0x6c, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "IST": {0x49, 0x6e, 0x64, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "COST": {0x4b, 0x6f, 0x6c, 0x75, 0x6d, 0x62, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AST": {0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ADT": {0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "EDT": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ChST": {0xc4, 0x8c, 0x61, 0x6d, 0x6f, 0x72, 0x6f, 0x20, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x61, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WAT": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0xc4, 0x81, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WIB": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0xc4, 0x93, 0x7a, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CAT": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0xc4, 0x81, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "MST": {0x4d, 0x53, 0x54}, "OESZ": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "NZST": {0x4a, 0x61, 0x75, 0x6e, 0x7a, 0xc4, 0x93, 0x6c, 0x61, 0x6e, 0x64, 0x65, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WART": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0xc4, 0xab, 0x6e, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "AEST": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x61, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x75, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WESZ": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "LHDT": {0x4c, 0x6f, 0x72, 0x64, 0x61, 0x20, 0x48, 0x61, 0x76, 0x61, 0x20, 0x73, 0x61, 0x6c, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "LHST": {0x4c, 0x6f, 0x72, 0x64, 0x61, 0x20, 0x48, 0x61, 0x76, 0x61, 0x20, 0x73, 0x61, 0x6c, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "BT": {0x42, 0x75, 0x74, 0xc4, 0x81, 0x6e, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "CHADT": {0xc4, 0x8c, 0x65, 0x74, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WITA": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0xc4, 0x93, 0x7a, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "HADT": {0x48, 0x61, 0x76, 0x61, 0x6a, 0x75, 0xe2, 0x80, 0x93, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x75, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "EST": {0x41, 0x75, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x75, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "WEZ": {0x52, 0x69, 0x65, 0x74, 0x75, 0x6d, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ECT": {0x45, 0x6b, 0x76, 0x61, 0x64, 0x6f, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "ACDT": {0x41, 0x75, 0x73, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x69, 0x6a, 0x61, 0x73, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x61, 0x69, 0x73, 0x20, 0x76, 0x61, 0x73, 0x61, 0x72, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}, "MEZ": {0x43, 0x65, 0x6e, 0x74, 0x72, 0xc4, 0x81, 0x6c, 0x65, 0x69, 0x72, 0x6f, 0x70, 0x61, 0x73, 0x20, 0x7a, 0x69, 0x65, 0x6d, 0x61, 0x73, 0x20, 0x6c, 0x61, 0x69, 0x6b, 0x73}},
+ decimal: ",",
+ group: " ",
+ minus: "-",
+ percent: "%",
+ perMille: "‰",
+ timeSeparator: ":",
+ inifinity: "∞",
+ currencies: []string{"ADP ", "AED ", "AFA ", "AFN ", "ALK ", "ALL ", "AMD ", "ANG ", "AOA ", "AOK ", "AON ", "AOR ", "ARA ", "ARL ", "ARM ", "ARP ", "ARS ", "ATS ", "AUD ", "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 ", "BRL ", "BRN ", "BRR ", "BRZ ", "BSD ", "BTN ", "BUK ", "BWP ", "BYB ", "BYR ", "BZD ", "CAD ", "CDF ", "CHE ", "CHF ", "CHW ", "CLE ", "CLF ", "CLP ", "CNX ", "CNY ", "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 ", "EUR ", "FIM ", "FJD ", "FKP ", "FRF ", "GBP ", "GEK ", "GEL ", "GHC ", "GHS ", "GIP ", "GMD ", "GNF ", "GNS ", "GQE ", "GRD ", "GTQ ", "GWE ", "GWP ", "GYD ", "HKD ", "HNL ", "HRD ", "HRK ", "HTG ", "HUF ", "IDR ", "IEP ", "ILP ", "ILR ", "ILS ", "INR ", "IQD ", "IRR ", "ISJ ", "ISK ", "ITL ", "JMD ", "JOD ", "JPY ", "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 ", "MXN ", "MXP ", "MXV ", "MYR ", "MZE ", "MZM ", "MZN ", "NAD ", "NGN ", "NIC ", "NIO ", "NLG ", "NOK ", "NPR ", "NZD ", "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 ", "THB ", "TJR ", "TJS ", "TMM ", "TMT ", "TND ", "TOP ", "TPE ", "TRL ", "TRY ", "TTD ", "TWD ", "TZS ", "UAH ", "UAK ", "UGS ", "UGX ", "USD ", "USN ", "USS ", "UYI ", "UYP ", "UYU ", "UZS ", "VEB ", "VEF ", "VND ", "VNN ", "VUV ", "WST ", "XAF ", "XAG ", "XAU ", "XBA ", "XBB ", "XBC ", "XBD ", "XCD ", "XDR ", "XEU ", "XFO ", "XFU ", "XOF ", "XPD ", "XPF ", "XPT ", "XRE ", "XSU ", "XTS ", "XUA ", "XXX ", "YDD ", "YER ", "YUD ", "YUM ", "YUN ", "YUR ", "ZAL ", "ZAR ", "ZMK ", "ZMW ", "ZRN ", "ZRZ ", "ZWD ", "ZWL ", "ZWR "},
+ currencyPositiveSuffix: " ",
+ currencyNegativeSuffix: " ",
+ monthsAbbreviated: []string{"", "janv.", "febr.", "marts", "apr.", "maijs", "jūn.", "jūl.", "aug.", "sept.", "okt.", "nov.", "dec."},
+ monthsNarrow: []string{"", "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
+ monthsWide: []string{"", "janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"},
+ daysAbbreviated: []string{"Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"},
+ daysNarrow: []string{"S", "P", "O", "T", "C", "P", "S"},
+ daysShort: []string{"Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"},
+ daysWide: []string{"svētdiena", "pirmdiena", "otrdiena", "trešdiena", "ceturtdiena", "piektdiena", "sestdiena"},
+ periodsAbbreviated: []string{"priekšp.", "pēcp."},
+ periodsNarrow: []string{"priekšp.", "pēcp."},
+ periodsWide: []string{"priekšpusdienā", "pēcpusdienā"},
+ erasAbbreviated: []string{"p.m.ē.", "m.ē."},
+ erasNarrow: []string{"p.m.ē.", "m.ē."},
+ erasWide: []string{"pirms mūsu ēras", "mūsu ērā"},
+ timezones: map[string]string{"JST": "Japānas ziemas laiks", "CLT": "Čīles ziemas laiks", "AEDT": "Austrālijas austrumu vasaras laiks", "WIB": "Rietumindonēzijas laiks", "ACDT": "Austrālijas centrālais vasaras laiks", "MDT": "Kalnu vasaras laiks", "HKT": "Honkongas ziemas laiks", "EDT": "Austrumu vasaras laiks", "CHAST": "Četemas ziemas laiks", "COT": "Kolumbijas ziemas laiks", "JDT": "Japānas vasaras laiks", "WIT": "Austrumindonēzijas laiks", "AEST": "Austrālijas austrumu ziemas laiks", "GYT": "Gajānas laiks", "GFT": "Franču Gviānas laiks", "HAST": "Havaju–Aleutu ziemas laiks", "WART": "Rietumargentīnas ziemas laiks", "ART": "Argentīnas ziemas laiks", "ARST": "Argentīnas vasaras laiks", "MST": "Kalnu ziemas laiks", "EAT": "Austrumāfrikas laiks", "WARST": "Rietumargentīnas vasaras laiks", "AKDT": "Aļaskas vasaras laiks", "AWST": "Austrālijas rietumu ziemas laiks", "PST": "Klusā okeāna ziemas laiks", "WITA": "Centrālindonēzijas laiks", "TMT": "Turkmenistānas ziemas laiks", "HADT": "Havaju–Aleutu vasaras laiks", "AWDT": "Austrālijas rietumu vasaras laiks", "AST": "Atlantijas ziemas laiks", "ACWDT": "Austrālijas centrālais rietumu vasaras laiks", "∅∅∅": "Azoru salu vasaras laiks", "CST": "Centrālais ziemas laiks", "CAT": "Centrālāfrikas laiks", "GMT": "Griničas laiks", "TMST": "Turkmenistānas vasaras laiks", "HKST": "Honkongas vasaras laiks", "EST": "Austrumu ziemas laiks", "ACST": "Austrālijas centrālais ziemas laiks", "ACWST": "Austrālijas centrālais rietumu ziemas laiks", "UYST": "Urugvajas vasaras laiks", "OESZ": "Austrumeiropas vasaras laiks", "MEZ": "Centrāleiropas ziemas laiks", "HNT": "Ņūfaundlendas ziemas laiks", "ChST": "Čamoro standarta laiks", "MYT": "Malaizijas laiks", "ECT": "Ekvadoras laiks", "HAT": "Ņūfaundlendas vasaras laiks", "NZST": "Jaunzēlandes ziemas laiks", "VET": "Venecuēlas laiks", "CDT": "Centrālais vasaras laiks", "WEZ": "Rietumeiropas ziemas laiks", "UYT": "Urugvajas ziemas laiks", "SGT": "Singapūras laiks", "WESZ": "Rietumeiropas vasaras laiks", "CLST": "Čīles vasaras laiks", "OEZ": "Austrumeiropas ziemas laiks", "NZDT": "Jaunzēlandes vasaras laiks", "MESZ": "Centrāleiropas vasaras laiks", "AKST": "Aļaskas ziemas laiks", "COST": "Kolumbijas vasaras laiks", "IST": "Indijas ziemas laiks", "LHDT": "Lorda Hava salas vasaras laiks", "CHADT": "Četemas vasaras laiks", "WAST": "Rietumāfrikas vasaras laiks", "BT": "Butānas laiks", "SRT": "Surinamas laiks", "SAST": "Dienvidāfrikas ziemas laiks", "PDT": "Klusā okeāna vasaras laiks", "BOT": "Bolīvijas laiks", "WAT": "Rietumāfrikas ziemas laiks", "ADT": "Atlantijas vasaras laiks", "LHST": "Lorda Hava salas ziemas laiks"},
}
}
@@ -148,80 +148,77 @@ func (lv *lv_LV) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint6
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (lv *lv_LV) MonthAbbreviated(month time.Month) []byte {
+func (lv *lv_LV) MonthAbbreviated(month time.Month) string {
return lv.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (lv *lv_LV) MonthsAbbreviated() [][]byte {
+func (lv *lv_LV) MonthsAbbreviated() []string {
return lv.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (lv *lv_LV) MonthNarrow(month time.Month) []byte {
+func (lv *lv_LV) MonthNarrow(month time.Month) string {
return lv.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (lv *lv_LV) MonthsNarrow() [][]byte {
+func (lv *lv_LV) MonthsNarrow() []string {
return lv.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (lv *lv_LV) MonthWide(month time.Month) []byte {
+func (lv *lv_LV) MonthWide(month time.Month) string {
return lv.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (lv *lv_LV) MonthsWide() [][]byte {
+func (lv *lv_LV) MonthsWide() []string {
return lv.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (lv *lv_LV) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (lv *lv_LV) WeekdayAbbreviated(weekday time.Weekday) string {
return lv.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (lv *lv_LV) WeekdaysAbbreviated() [][]byte {
+func (lv *lv_LV) WeekdaysAbbreviated() []string {
return lv.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (lv *lv_LV) WeekdayNarrow(weekday time.Weekday) []byte {
+func (lv *lv_LV) WeekdayNarrow(weekday time.Weekday) string {
return lv.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (lv *lv_LV) WeekdaysNarrow() [][]byte {
+func (lv *lv_LV) WeekdaysNarrow() []string {
return lv.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (lv *lv_LV) WeekdayShort(weekday time.Weekday) []byte {
+func (lv *lv_LV) WeekdayShort(weekday time.Weekday) string {
return lv.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (lv *lv_LV) WeekdaysShort() [][]byte {
+func (lv *lv_LV) WeekdaysShort() []string {
return lv.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (lv *lv_LV) WeekdayWide(weekday time.Weekday) []byte {
+func (lv *lv_LV) WeekdayWide(weekday time.Weekday) string {
return lv.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (lv *lv_LV) WeekdaysWide() [][]byte {
+func (lv *lv_LV) WeekdaysWide() []string {
return lv.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'lv_LV' 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 (lv *lv_LV) FmtNumber(num float64, v uint64) []byte {
-
+func (lv *lv_LV) FmtNumber(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(lv.decimal) + len(lv.group)*len(s[:len(s)-int(v)-1])/3
count := 0
@@ -260,15 +257,13 @@ func (lv *lv_LV) 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 'lv_LV' 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 (lv *lv_LV) FmtPercent(num float64, v uint64) []byte {
-
+func (lv *lv_LV) FmtPercent(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(lv.decimal)
b := make([]byte, 0, l)
@@ -294,13 +289,12 @@ func (lv *lv_LV) FmtPercent(num float64, v uint64) []byte {
b = append(b, lv.percent...)
- return b
+ results = string(b)
+ return
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (lv *lv_LV) FmtCurrency(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := lv.currencies[currency]
@@ -342,13 +336,13 @@ func (lv *lv_LV) FmtCurrency(num float64, v uint64, currency currency.Type) []by
b = append(b, symbol...)
- return b
+ results = string(b)
+ return
}
// FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'lv_LV'
-// 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 (lv *lv_LV) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (lv *lv_LV) FmtAccounting(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := lv.currencies[currency]
@@ -397,13 +391,12 @@ func (lv *lv_LV) FmtAccounting(num float64, v uint64, currency currency.Type) []
b = append(b, symbol...)
}
- return b
+ results = string(b)
+ return
}
// FmtDateShort returns the short date representation of 't' for 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtDateShort(t time.Time) []byte {
+func (lv *lv_LV) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -428,13 +421,11 @@ func (lv *lv_LV) 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 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtDateMedium(t time.Time) []byte {
+func (lv *lv_LV) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -445,13 +436,11 @@ func (lv *lv_LV) FmtDateMedium(t time.Time) []byte {
b = append(b, []byte{0x2e, 0x20}...)
b = append(b, lv.monthsAbbreviated[t.Month()]...)
- return b
+ return string(b)
}
// FmtDateLong returns the long date representation of 't' for 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtDateLong(t time.Time) []byte {
+func (lv *lv_LV) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -462,13 +451,11 @@ func (lv *lv_LV) FmtDateLong(t time.Time) []byte {
b = append(b, []byte{0x2e, 0x20}...)
b = append(b, lv.monthsWide[t.Month()]...)
- return b
+ return string(b)
}
// FmtDateFull returns the full date representation of 't' for 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtDateFull(t time.Time) []byte {
+func (lv *lv_LV) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -481,13 +468,11 @@ func (lv *lv_LV) FmtDateFull(t time.Time) []byte {
b = append(b, []byte{0x2e, 0x20}...)
b = append(b, lv.monthsWide[t.Month()]...)
- return b
+ return string(b)
}
// FmtTimeShort returns the short time representation of 't' for 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtTimeShort(t time.Time) []byte {
+func (lv *lv_LV) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -504,13 +489,11 @@ func (lv *lv_LV) 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 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtTimeMedium(t time.Time) []byte {
+func (lv *lv_LV) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -534,13 +517,11 @@ func (lv *lv_LV) 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 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtTimeLong(t time.Time) []byte {
+func (lv *lv_LV) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -568,13 +549,11 @@ func (lv *lv_LV) 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 'lv_LV'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (lv *lv_LV) FmtTimeFull(t time.Time) []byte {
+func (lv *lv_LV) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -607,5 +586,5 @@ func (lv *lv_LV) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}