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/nb/nb.go
diff options
context:
space:
mode:
Diffstat (limited to 'nb/nb.go')
-rw-r--r--nb/nb.go219
1 files changed, 94 insertions, 125 deletions
diff --git a/nb/nb.go b/nb/nb.go
index 8ed4eeb4..94260b19 100644
--- a/nb/nb.go
+++ b/nb/nb.go
@@ -14,32 +14,32 @@ type nb struct {
pluralsCardinal []locales.PluralRule
pluralsOrdinal []locales.PluralRule
pluralsRange []locales.PluralRule
- decimal []byte
- group []byte
- minus []byte
- percent []byte
- percentSuffix []byte
- perMille []byte
- timeSeparator []byte
- inifinity []byte
- currencies [][]byte // idx = enum of currency code
- currencyPositivePrefix []byte
- currencyNegativePrefix []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
+ percentSuffix string
+ perMille string
+ timeSeparator string
+ inifinity string
+ currencies []string // idx = enum of currency code
+ currencyPositivePrefix string
+ currencyNegativePrefix 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 'nb' locale
@@ -49,31 +49,31 @@ func New() locales.Translator {
pluralsCardinal: []locales.PluralRule{2, 6},
pluralsOrdinal: []locales.PluralRule{6},
pluralsRange: []locales.PluralRule{6},
- decimal: []byte{0xd9, 0xab},
- group: []byte{0xc2, 0xa0},
- minus: []byte{0xe2, 0x88, 0x92},
- percent: []byte{0xd9, 0xaa},
- perMille: []byte{0xd8, 0x89},
- timeSeparator: []byte{0x2e},
- inifinity: []byte{0xe2, 0x88, 0x9e},
- currencies: [][]uint8{{0x41, 0x44, 0x50}, {0x41, 0x45, 0x44}, {0x41, 0x46, 0x41}, {0x41, 0x46, 0x4e}, {0x41, 0x4c, 0x4b}, {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, 0x55, 0x44}, {0x41, 0x57, 0x47}, {0x41, 0x5a, 0x4d}, {0x41, 0x5a, 0x4e}, {0x42, 0x41, 0x44}, {0x42, 0x41, 0x4d}, {0x42, 0x41, 0x4e}, {0x42, 0x42, 0x44}, {0x42, 0x44, 0x54}, {0x42, 0x45, 0x43}, {0x42, 0x45, 0x46}, {0x42, 0x45, 0x4c}, {0x42, 0x47, 0x4c}, {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}, {0x42, 0x52, 0x4c}, {0x42, 0x52, 0x4e}, {0x42, 0x52, 0x52}, {0x42, 0x52, 0x5a}, {0x42, 0x53, 0x44}, {0x42, 0x54, 0x4e}, {0x42, 0x55, 0x4b}, {0x42, 0x57, 0x50}, {0x42, 0x59, 0x42}, {0x42, 0x59, 0x52}, {0x42, 0x5a, 0x44}, {0x43, 0x41, 0x44}, {0x43, 0x44, 0x46}, {0x43, 0x48, 0x45}, {0x43, 0x48, 0x46}, {0x43, 0x48, 0x57}, {0x43, 0x4c, 0x45}, {0x43, 0x4c, 0x46}, {0x43, 0x4c, 0x50}, {0x43, 0x4e, 0x58}, {0x43, 0x4e, 0x59}, {0x43, 0x4f, 0x50}, {0x43, 0x4f, 0x55}, {0x43, 0x52, 0x43}, {0x43, 0x53, 0x44}, {0x43, 0x53, 0x4b}, {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}, {0x45, 0x45, 0x4b}, {0x45, 0x47, 0x50}, {0x45, 0x52, 0x4e}, {0x45, 0x53, 0x41}, {0x45, 0x53, 0x42}, {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, 0x44}, {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}, {0x49, 0x4c, 0x53}, {0x49, 0x4e, 0x52}, {0x49, 0x51, 0x44}, {0x49, 0x52, 0x52}, {0x49, 0x53, 0x4a, 0x20}, {0x49, 0x53, 0x4b}, {0x49, 0x54, 0x4c}, {0x4a, 0x4d, 0x44}, {0x4a, 0x4f, 0x44}, {0x4a, 0x50, 0x59}, {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}, {0x4d, 0x44, 0x4c}, {0x4d, 0x47, 0x41}, {0x4d, 0x47, 0x46, 0x20}, {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}, {0x4d, 0x56, 0x52}, {0x4d, 0x57, 0x4b}, {0x4d, 0x58, 0x4e}, {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}, {0x6b, 0x72}, {0x4e, 0x50, 0x52}, {0x4e, 0x5a, 0x44}, {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}, {0x50, 0x54, 0x45}, {0x50, 0x59, 0x47}, {0x51, 0x41, 0x52}, {0x52, 0x48, 0x44}, {0x52, 0x4f, 0x4c}, {0x52, 0x4f, 0x4e}, {0x52, 0x53, 0x44}, {0x52, 0x55, 0x42}, {0x52, 0x55, 0x52}, {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}, {0x53, 0x4c, 0x4c}, {0x53, 0x4f, 0x53}, {0x53, 0x52, 0x44}, {0x53, 0x52, 0x47}, {0x53, 0x53, 0x50}, {0x53, 0x54, 0x44}, {0x53, 0x55, 0x52}, {0x53, 0x56, 0x43}, {0x53, 0x59, 0x50}, {0x53, 0x5a, 0x4c}, {0x54, 0x48, 0x42}, {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}, {0x54, 0x57, 0x44}, {0x54, 0x5a, 0x53}, {0x55, 0x41, 0x48}, {0x55, 0x41, 0x4b}, {0x55, 0x47, 0x53}, {0x55, 0x47, 0x58}, {0x55, 0x53, 0x44}, {0x55, 0x53, 0x4e}, {0x55, 0x53, 0x53}, {0x55, 0x59, 0x49}, {0x55, 0x59, 0x50}, {0x55, 0x59, 0x55}, {0x55, 0x5a, 0x53}, {0x56, 0x45, 0x42}, {0x56, 0x45, 0x46}, {0x56, 0x4e, 0x44}, {0x56, 0x4e, 0x4e}, {0x56, 0x55, 0x56}, {0x57, 0x53, 0x54}, {0x58, 0x41, 0x46}, {0x58, 0x41, 0x47}, {0x58, 0x41, 0x55}, {0x58, 0x42, 0x41}, {0x58, 0x42, 0x42}, {0x58, 0x42, 0x43}, {0x58, 0x42, 0x44}, {0x58, 0x43, 0x44}, {0x58, 0x44, 0x52}, {0x58, 0x45, 0x55}, {0x58, 0x46, 0x4f}, {0x58, 0x46, 0x55}, {0x43, 0x46, 0x41}, {0x58, 0x50, 0x44}, {0x58, 0x50, 0x46}, {0x58, 0x50, 0x54}, {0x58, 0x52, 0x45}, {0x58, 0x53, 0x55}, {0x58, 0x54, 0x53}, {0x58, 0x55, 0x41}, {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, 0x20}},
- percentSuffix: []byte{0xc2, 0xa0},
- currencyPositivePrefix: []byte{0xc2, 0xa0},
- currencyNegativePrefix: []byte{0xc2, 0xa0},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x6a, 0x61, 0x6e, 0x2e}, {0x66, 0x65, 0x62, 0x2e}, {0x6d, 0x61, 0x72, 0x2e}, {0x61, 0x70, 0x72, 0x2e}, {0x6d, 0x61, 0x69}, {0x6a, 0x75, 0x6e, 0x2e}, {0x6a, 0x75, 0x6c, 0x2e}, {0x61, 0x75, 0x67, 0x2e}, {0x73, 0x65, 0x70, 0x2e}, {0x6f, 0x6b, 0x74, 0x2e}, {0x6e, 0x6f, 0x76, 0x2e}, {0x64, 0x65, 0x73, 0x2e}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x4a}, {0x46}, {0x4d}, {0x41}, {0x4d}, {0x4a}, {0x4a}, {0x41}, {0x53}, {0x4f}, {0x4e}, {0x44}},
- monthsWide: [][]uint8{[]uint8(nil), {0x6a, 0x61, 0x6e, 0x75, 0x61, 0x72}, {0x66, 0x65, 0x62, 0x72, 0x75, 0x61, 0x72}, {0x6d, 0x61, 0x72, 0x73}, {0x61, 0x70, 0x72, 0x69, 0x6c}, {0x6d, 0x61, 0x69}, {0x6a, 0x75, 0x6e, 0x69}, {0x6a, 0x75, 0x6c, 0x69}, {0x61, 0x75, 0x67, 0x75, 0x73, 0x74}, {0x73, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x65, 0x72}, {0x6f, 0x6b, 0x74, 0x6f, 0x62, 0x65, 0x72}, {0x6e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x65, 0x72}, {0x64, 0x65, 0x73, 0x65, 0x6d, 0x62, 0x65, 0x72}},
- daysAbbreviated: [][]uint8{{0x73, 0xc3, 0xb8, 0x6e, 0x2e}, {0x6d, 0x61, 0x6e, 0x2e}, {0x74, 0x69, 0x72, 0x2e}, {0x6f, 0x6e, 0x73, 0x2e}, {0x74, 0x6f, 0x72, 0x2e}, {0x66, 0x72, 0x65, 0x2e}, {0x6c, 0xc3, 0xb8, 0x72, 0x2e}},
- daysNarrow: [][]uint8{{0x53}, {0x4d}, {0x54}, {0x4f}, {0x54}, {0x46}, {0x4c}},
- daysShort: [][]uint8{{0x73, 0xc3, 0xb8, 0x2e}, {0x6d, 0x61, 0x2e}, {0x74, 0x69, 0x2e}, {0x6f, 0x6e, 0x2e}, {0x74, 0x6f, 0x2e}, {0x66, 0x72, 0x2e}, {0x6c, 0xc3, 0xb8, 0x2e}},
- daysWide: [][]uint8{{0x73, 0xc3, 0xb8, 0x6e, 0x64, 0x61, 0x67}, {0x6d, 0x61, 0x6e, 0x64, 0x61, 0x67}, {0x74, 0x69, 0x72, 0x73, 0x64, 0x61, 0x67}, {0x6f, 0x6e, 0x73, 0x64, 0x61, 0x67}, {0x74, 0x6f, 0x72, 0x73, 0x64, 0x61, 0x67}, {0x66, 0x72, 0x65, 0x64, 0x61, 0x67}, {0x6c, 0xc3, 0xb8, 0x72, 0x64, 0x61, 0x67}},
- periodsAbbreviated: [][]uint8{{0x61, 0x2e, 0x6d, 0x2e}, {0x70, 0x2e, 0x6d, 0x2e}},
- periodsNarrow: [][]uint8{{0x61}, {0x70}},
- periodsWide: [][]uint8{{0x61, 0x2e, 0x6d, 0x2e}, {0x70, 0x2e, 0x6d, 0x2e}},
- erasAbbreviated: [][]uint8{{0x66, 0x2e, 0x4b, 0x72, 0x2e}, {0x65, 0x2e, 0x4b, 0x72, 0x2e}},
- erasNarrow: [][]uint8{{0x66, 0x2e, 0x4b, 0x72, 0x2e}, {0x65, 0x2e, 0x4b, 0x72, 0x2e}},
- erasWide: [][]uint8{{0x66, 0xc3, 0xb8, 0x72, 0x20, 0x4b, 0x72, 0x69, 0x73, 0x74, 0x75, 0x73}, {0x65, 0x74, 0x74, 0x65, 0x72, 0x20, 0x4b, 0x72, 0x69, 0x73, 0x74, 0x75, 0x73}},
- timezones: map[string][]uint8{"AEDT": {0xc3, 0xb8, 0x73, 0x74, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "GMT": {0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68, 0x20, 0x6d, 0x69, 0x64, 0x64, 0x65, 0x6c, 0x74, 0x69, 0x64}, "CLT": {0x63, 0x68, 0x69, 0x6c, 0x65, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "ChST": {0x74, 0x69, 0x64, 0x73, 0x73, 0x6f, 0x6e, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f}, "WARST": {0x76, 0x65, 0x73, 0x74, 0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "WAT": {0x76, 0x65, 0x73, 0x74, 0x61, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "WAST": {0x76, 0x65, 0x73, 0x74, 0x61, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "HAST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x20, 0x6f, 0x67, 0x20, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x65, 0x6e, 0x65}, "AST": {0x61, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x68, 0x61, 0x76, 0x73, 0x6b, 0x79, 0x73, 0x74, 0x6c, 0x69, 0x67, 0x20, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x74, 0x69, 0x64}, "NZST": {0x6e, 0x65, 0x77, 0x7a, 0x65, 0x61, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "LHDT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65, 0x2d, 0xc3, 0xb8, 0x79, 0x61}, "WART": {0x76, 0x65, 0x73, 0x74, 0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "ACST": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "TMT": {0x74, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "MDT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x52, 0x6f, 0x63, 0x6b, 0x79, 0x20, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x28, 0x55, 0x53, 0x41, 0x29}, "ADT": {0x61, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x68, 0x61, 0x76, 0x73, 0x6b, 0x79, 0x73, 0x74, 0x6c, 0x69, 0x67, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "UYST": {0x75, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "GFT": {0x74, 0x69, 0x64, 0x73, 0x73, 0x6f, 0x6e, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x46, 0x72, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x61}, "ACWST": {0x76, 0x65, 0x73, 0x74, 0x2d, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "BT": {0x62, 0x68, 0x75, 0x74, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "PDT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x6e, 0x20, 0x6e, 0x6f, 0x72, 0x64, 0x61, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x65, 0x20, 0x53, 0x74, 0x69, 0x6c, 0x6c, 0x65, 0x68, 0x61, 0x76, 0x73, 0x6b, 0x79, 0x73, 0x74, 0x65, 0x6e}, "OESZ": {0xc3, 0xb8, 0x73, 0x74, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "AEST": {0xc3, 0xb8, 0x73, 0x74, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "MYT": {0x6d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "HKT": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x6b, 0x6f, 0x6e, 0x67}, "WIB": {0x76, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "MEZ": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "WESZ": {0x76, 0x65, 0x73, 0x74, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "SRT": {0x73, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "IST": {0x69, 0x6e, 0x64, 0x69, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "CHAST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "EAT": {0xc3, 0xb8, 0x73, 0x74, 0x61, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "PST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x6e, 0x20, 0x6e, 0x6f, 0x72, 0x64, 0x61, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x65, 0x20, 0x53, 0x74, 0x69, 0x6c, 0x6c, 0x65, 0x68, 0x61, 0x76, 0x73, 0x6b, 0x79, 0x73, 0x74, 0x65, 0x6e}, "ARST": {0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "NZDT": {0x6e, 0x65, 0x77, 0x7a, 0x65, 0x61, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "AWST": {0x76, 0x65, 0x73, 0x74, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "TMST": {0x74, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "CST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x74, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x65, 0x20, 0x4e, 0x6f, 0x72, 0x64, 0x2d, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61}, "WIT": {0xc3, 0xb8, 0x73, 0x74, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "ACWDT": {0x76, 0x65, 0x73, 0x74, 0x2d, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "VET": {0x76, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "COST": {0x63, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "CHADT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "SAST": {0x73, 0xc3, 0xb8, 0x72, 0x61, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "HAT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "GYT": {0x67, 0x75, 0x79, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "COT": {0x63, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "∅∅∅": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x42, 0x72, 0x61, 0x73, 0x69, 0x6c, 0x69, 0x61}, "MST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x52, 0x6f, 0x63, 0x6b, 0x79, 0x20, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x28, 0x55, 0x53, 0x41, 0x29}, "ART": {0x61, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "EST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x6e, 0x20, 0x6e, 0x6f, 0x72, 0x64, 0x61, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x65, 0x20, 0xc3, 0xb8, 0x73, 0x74, 0x6b, 0x79, 0x73, 0x74, 0x65, 0x6e}, "CAT": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x61, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "ACDT": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "MESZ": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "HADT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x20, 0x6f, 0x67, 0x20, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x65, 0x6e, 0x65}, "EDT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x6e, 0x20, 0x6e, 0x6f, 0x72, 0x64, 0x61, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x6e, 0x73, 0x6b, 0x65, 0x20, 0xc3, 0xb8, 0x73, 0x74, 0x6b, 0x79, 0x73, 0x74, 0x65, 0x6e}, "HKST": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x6b, 0x6f, 0x6e, 0x67}, "CLST": {0x63, 0x68, 0x69, 0x6c, 0x65, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "JST": {0x6a, 0x61, 0x70, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "JDT": {0x6a, 0x61, 0x70, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "LHST": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65, 0x2d, 0xc3, 0xb8, 0x79, 0x61}, "CDT": {0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x74, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x65, 0x20, 0x4e, 0x6f, 0x72, 0x64, 0x2d, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61}, "OEZ": {0xc3, 0xb8, 0x73, 0x74, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "AKST": {0x61, 0x6c, 0x61, 0x73, 0x6b, 0x69, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "UYT": {0x75, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}, "AWDT": {0x76, 0x65, 0x73, 0x74, 0x61, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "BOT": {0x62, 0x6f, 0x6c, 0x69, 0x76, 0x69, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "SGT": {0x73, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x6f, 0x72, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "AKDT": {0x61, 0x6c, 0x61, 0x73, 0x6b, 0x69, 0x73, 0x6b, 0x20, 0x73, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x74, 0x69, 0x64}, "HNT": {0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "ECT": {0x65, 0x63, 0x75, 0x61, 0x64, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "WITA": {0x73, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x6b, 0x20, 0x74, 0x69, 0x64}, "WEZ": {0x76, 0x65, 0x73, 0x74, 0x65, 0x75, 0x72, 0x6f, 0x70, 0x65, 0x69, 0x73, 0x6b, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x74, 0x69, 0x64}},
+ 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", "€", "FIM", "FJD", "FKP", "FRF", "£", "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", "kr", "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", "CFA", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR "},
+ percentSuffix: " ",
+ currencyPositivePrefix: " ",
+ currencyNegativePrefix: " ",
+ monthsAbbreviated: []string{"", "jan.", "feb.", "mar.", "apr.", "mai", "jun.", "jul.", "aug.", "sep.", "okt.", "nov.", "des."},
+ monthsNarrow: []string{"", "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
+ monthsWide: []string{"", "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"},
+ daysAbbreviated: []string{"søn.", "man.", "tir.", "ons.", "tor.", "fre.", "lør."},
+ daysNarrow: []string{"S", "M", "T", "O", "T", "F", "L"},
+ daysShort: []string{"sø.", "ma.", "ti.", "on.", "to.", "fr.", "lø."},
+ daysWide: []string{"søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"},
+ periodsAbbreviated: []string{"a.m.", "p.m."},
+ periodsNarrow: []string{"a", "p"},
+ periodsWide: []string{"a.m.", "p.m."},
+ erasAbbreviated: []string{"f.Kr.", "e.Kr."},
+ erasNarrow: []string{"f.Kr.", "e.Kr."},
+ erasWide: []string{"før Kristus", "etter Kristus"},
+ timezones: map[string]string{"CHADT": "sommertid for Chatham", "∅∅∅": "sommertid for Brasilia", "ARST": "argentinsk sommertid", "WITA": "sentralindonesisk tid", "CDT": "sommertid for det sentrale Nord-Amerika", "MESZ": "sentraleuropeisk sommertid", "MDT": "sommertid for Rocky Mountains (USA)", "EDT": "sommertid for den nordamerikanske østkysten", "COT": "colombiansk normaltid", "BOT": "boliviansk tid", "WARST": "vestargentinsk sommertid", "OESZ": "østeuropeisk sommertid", "SRT": "surinamsk tid", "UYST": "uruguayansk sommertid", "MST": "normaltid for Rocky Mountains (USA)", "VET": "venezuelansk tid", "CAT": "sentralafrikansk tid", "HKT": "normaltid for Hongkong", "IST": "indisk tid", "GMT": "Greenwich middeltid", "GYT": "guyansk tid", "UYT": "uruguayansk normaltid", "ACWDT": "vest-sentralaustralsk sommertid", "COST": "colombiansk sommertid", "SGT": "singaporsk tid", "WIB": "vestindonesisk tid", "PST": "normaltid for den nordamerikanske Stillehavskysten", "AEST": "østaustralsk normaltid", "GFT": "tidssone for Fransk Guyana", "ChST": "tidssone for Chamorro", "HAT": "sommertid for Newfoundland", "AST": "atlanterhavskystlig standardtid", "OEZ": "østeuropeisk normaltid", "ACDT": "sentralaustralsk sommertid", "AKST": "alaskisk normaltid", "JDT": "japansk sommertid", "MEZ": "sentraleuropeisk normaltid", "BT": "bhutansk tid", "TMST": "turkmensk sommertid", "EAT": "østafrikansk tid", "LHST": "normaltid for Lord Howe-øya", "PDT": "sommertid for den nordamerikanske Stillehavskysten", "NZDT": "newzealandsk sommertid", "CHAST": "normaltid for Chatham", "WART": "vestargentinsk normaltid", "SAST": "sørafrikansk tid", "MYT": "malaysisk tid", "WAST": "vestafrikansk sommertid", "WIT": "østindonesisk tid", "AWST": "vestaustralsk normaltid", "AWDT": "vestaustralsk sommertid", "JST": "japansk normaltid", "NZST": "newzealandsk normaltid", "ECT": "ecuadoriansk tid", "ADT": "atlanterhavskystlig sommertid", "HADT": "sommertid for Hawaii og Aleutene", "TMT": "turkmensk normaltid", "WEZ": "vesteuropeisk normaltid", "EST": "normaltid for den nordamerikanske østkysten", "HAST": "normaltid for Hawaii og Aleutene", "CST": "normaltid for det sentrale Nord-Amerika", "CLT": "chilensk normaltid", "HKST": "sommertid for Hongkong", "LHDT": "sommertid for Lord Howe-øya", "ACWST": "vest-sentralaustralsk normaltid", "WAT": "vestafrikansk normaltid", "HNT": "normaltid for Newfoundland", "AKDT": "alaskisk sommertid", "CLST": "chilensk sommertid", "WESZ": "vesteuropeisk sommertid", "AEDT": "østaustralsk sommertid", "ART": "argentinsk normaltid", "ACST": "sentralaustralsk normaltid"},
}
}
@@ -120,82 +120,80 @@ func (nb *nb) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64)
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (nb *nb) MonthAbbreviated(month time.Month) []byte {
+func (nb *nb) MonthAbbreviated(month time.Month) string {
return nb.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (nb *nb) MonthsAbbreviated() [][]byte {
+func (nb *nb) MonthsAbbreviated() []string {
return nb.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (nb *nb) MonthNarrow(month time.Month) []byte {
+func (nb *nb) MonthNarrow(month time.Month) string {
return nb.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (nb *nb) MonthsNarrow() [][]byte {
+func (nb *nb) MonthsNarrow() []string {
return nb.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (nb *nb) MonthWide(month time.Month) []byte {
+func (nb *nb) MonthWide(month time.Month) string {
return nb.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (nb *nb) MonthsWide() [][]byte {
+func (nb *nb) MonthsWide() []string {
return nb.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (nb *nb) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (nb *nb) WeekdayAbbreviated(weekday time.Weekday) string {
return nb.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (nb *nb) WeekdaysAbbreviated() [][]byte {
+func (nb *nb) WeekdaysAbbreviated() []string {
return nb.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (nb *nb) WeekdayNarrow(weekday time.Weekday) []byte {
+func (nb *nb) WeekdayNarrow(weekday time.Weekday) string {
return nb.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (nb *nb) WeekdaysNarrow() [][]byte {
+func (nb *nb) WeekdaysNarrow() []string {
return nb.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (nb *nb) WeekdayShort(weekday time.Weekday) []byte {
+func (nb *nb) WeekdayShort(weekday time.Weekday) string {
return nb.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (nb *nb) WeekdaysShort() [][]byte {
+func (nb *nb) WeekdaysShort() []string {
return nb.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (nb *nb) WeekdayWide(weekday time.Weekday) []byte {
+func (nb *nb) WeekdayWide(weekday time.Weekday) string {
return nb.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (nb *nb) WeekdaysWide() [][]byte {
+func (nb *nb) WeekdaysWide() []string {
return nb.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'nb' 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 (nb *nb) FmtNumber(num float64, v uint64) []byte {
+func (nb *nb) FmtNumber(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(nb.decimal) + len(nb.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + 5 + 2*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -206,7 +204,6 @@ func (nb *nb) FmtNumber(num float64, v uint64) []byte {
for j := len(nb.decimal) - 1; j >= 0; j-- {
b = append(b, nb.decimal[j])
}
-
inWhole = true
continue
}
@@ -216,7 +213,6 @@ func (nb *nb) FmtNumber(num float64, v uint64) []byte {
for j := len(nb.group) - 1; j >= 0; j-- {
b = append(b, nb.group[j])
}
-
count = 1
} else {
count++
@@ -237,17 +233,14 @@ func (nb *nb) 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 'nb' 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 (nb *nb) FmtPercent(num float64, v uint64) []byte {
-
+func (nb *nb) FmtPercent(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(nb.decimal)
+ l := len(s) + 9
b := make([]byte, 0, l)
for i := len(s) - 1; i >= 0; i-- {
@@ -256,7 +249,6 @@ func (nb *nb) FmtPercent(num float64, v uint64) []byte {
for j := len(nb.decimal) - 1; j >= 0; j-- {
b = append(b, nb.decimal[j])
}
-
continue
}
@@ -278,17 +270,15 @@ func (nb *nb) FmtPercent(num float64, v uint64) []byte {
b = append(b, nb.percent...)
- return b
+ return string(b)
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (nb *nb) FmtCurrency(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := nb.currencies[currency]
- l := len(s) + len(nb.decimal) + len(nb.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 7 + 2*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -299,7 +289,6 @@ func (nb *nb) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
for j := len(nb.decimal) - 1; j >= 0; j-- {
b = append(b, nb.decimal[j])
}
-
inWhole = true
continue
}
@@ -309,7 +298,6 @@ func (nb *nb) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
for j := len(nb.group) - 1; j >= 0; j-- {
b = append(b, nb.group[j])
}
-
count = 1
} else {
count++
@@ -349,17 +337,16 @@ func (nb *nb) 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 'nb'
-// 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 (nb *nb) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (nb *nb) FmtAccounting(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := nb.currencies[currency]
- l := len(s) + len(nb.decimal) + len(nb.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 7 + 2*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -370,7 +357,6 @@ func (nb *nb) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
for j := len(nb.decimal) - 1; j >= 0; j-- {
b = append(b, nb.decimal[j])
}
-
inWhole = true
continue
}
@@ -380,7 +366,6 @@ func (nb *nb) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
for j := len(nb.group) - 1; j >= 0; j-- {
b = append(b, nb.group[j])
}
-
count = 1
} else {
count++
@@ -432,13 +417,11 @@ func (nb *nb) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
}
}
- return b
+ return string(b)
}
// FmtDateShort returns the short date representation of 't' for 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtDateShort(t time.Time) []byte {
+func (nb *nb) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -458,13 +441,11 @@ func (nb *nb) FmtDateShort(t time.Time) []byte {
b = append(b, []byte{0x2e}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateMedium returns the medium date representation of 't' for 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtDateMedium(t time.Time) []byte {
+func (nb *nb) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -474,13 +455,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtDateLong(t time.Time) []byte {
+func (nb *nb) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -490,13 +469,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtDateFull(t time.Time) []byte {
+func (nb *nb) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -508,13 +485,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtTimeShort(t time.Time) []byte {
+func (nb *nb) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -531,13 +506,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtTimeMedium(t time.Time) []byte {
+func (nb *nb) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -561,13 +534,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtTimeLong(t time.Time) []byte {
+func (nb *nb) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -595,13 +566,11 @@ func (nb *nb) 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 'nb'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (nb *nb) FmtTimeFull(t time.Time) []byte {
+func (nb *nb) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -634,5 +603,5 @@ func (nb *nb) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}