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/to
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 /to
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 'to')
-rw-r--r--to/to.go205
1 files changed, 92 insertions, 113 deletions
diff --git a/to/to.go b/to/to.go
index e9dfe057..51887f63 100644
--- a/to/to.go
+++ b/to/to.go
@@ -14,31 +14,31 @@ type to 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
- 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
+ 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 'to' locale
@@ -48,30 +48,30 @@ func New() locales.Translator {
pluralsCardinal: []locales.PluralRule{6},
pluralsOrdinal: nil,
pluralsRange: nil,
- decimal: []byte{0x2e},
- group: []byte{0x2c},
- 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, 0x24}, {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}, {0x46, 0x4b, 0x50, 0x20}, {0x46, 0x52, 0x46, 0x20}, {0x47, 0x42, 0x50, 0x20}, {0x47, 0x45, 0x4b, 0x20}, {0xe2, 0x82, 0xbe}, {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, 0x24}, {0x4f, 0x4d, 0x52, 0x20}, {0x50, 0x41, 0x42, 0x20}, {0x50, 0x45, 0x49, 0x20}, {0x50, 0x45, 0x4e, 0x20}, {0x50, 0x45, 0x53, 0x20}, {0x50, 0x47, 0x4b}, {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}, {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, 0x24}, {0x54, 0x50, 0x45, 0x20}, {0x54, 0x52, 0x4c, 0x20}, {0x54, 0x52, 0x59, 0x20}, {0x54, 0x54, 0x44, 0x20}, {0x24}, {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}, {0x57, 0x53, 0x54}, {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}, {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, 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}},
- currencyPositivePrefix: []byte{0xc2, 0xa0},
- currencyNegativePrefix: []byte{0xc2, 0xa0},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x53, 0xc4, 0x81, 0x6e}, {0x46, 0xc4, 0x93, 0x70}, {0x4d, 0x61, 0xca, 0xbb, 0x61}, {0xca, 0xbb, 0x45, 0x70, 0x65}, {0x4d, 0xc4, 0x93}, {0x53, 0x75, 0x6e}, {0x53, 0x69, 0x75}, {0xca, 0xbb, 0x41, 0x6f, 0x6b}, {0x53, 0x65, 0x70}, {0xca, 0xbb, 0x4f, 0x6b, 0x61}, {0x4e, 0xc5, 0x8d, 0x76}, {0x54, 0xc4, 0xab, 0x73}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x53}, {0x46}, {0x4d}, {0x45}, {0x4d}, {0x53}, {0x53}, {0x41}, {0x53}, {0x4f}, {0x4e}, {0x54}},
- monthsWide: [][]uint8{[]uint8(nil), {0x53, 0xc4, 0x81, 0x6e, 0x75, 0x61, 0x6c, 0x69}, {0x46, 0xc4, 0x93, 0x70, 0x75, 0x65, 0x6c, 0x69}, {0x4d, 0x61, 0xca, 0xbb, 0x61, 0x73, 0x69}, {0xca, 0xbb, 0x45, 0x70, 0x65, 0x6c, 0x65, 0x6c, 0x69}, {0x4d, 0xc4, 0x93}, {0x53, 0x75, 0x6e, 0x65}, {0x53, 0x69, 0x75, 0x6c, 0x61, 0x69}, {0xca, 0xbb, 0x41, 0x6f, 0x6b, 0x6f, 0x73, 0x69}, {0x53, 0x65, 0x70, 0x69, 0x74, 0x65, 0x6d, 0x61}, {0xca, 0xbb, 0x4f, 0x6b, 0x61, 0x74, 0x6f, 0x70, 0x61}, {0x4e, 0xc5, 0x8d, 0x76, 0x65, 0x6d, 0x61}, {0x54, 0xc4, 0xab, 0x73, 0x65, 0x6d, 0x61}},
- daysAbbreviated: [][]uint8{{0x53, 0xc4, 0x81, 0x70}, {0x4d, 0xc5, 0x8d, 0x6e}, {0x54, 0xc5, 0xab, 0x73}, {0x50, 0x75, 0x6c}, {0x54, 0x75, 0xca, 0xbb, 0x61}, {0x46, 0x61, 0x6c}, {0x54, 0x6f, 0x6b}},
- daysNarrow: [][]uint8{{0x53}, {0x4d}, {0x54}, {0x50}, {0x54}, {0x46}, {0x54}},
- daysShort: [][]uint8{{0x53, 0xc4, 0x81, 0x70}, {0x4d, 0xc5, 0x8d, 0x6e}, {0x54, 0xc5, 0xab, 0x73}, {0x50, 0x75, 0x6c}, {0x54, 0x75, 0xca, 0xbb, 0x61}, {0x46, 0x61, 0x6c}, {0x54, 0x6f, 0x6b}},
- daysWide: [][]uint8{{0x53, 0xc4, 0x81, 0x70, 0x61, 0x74, 0x65}, {0x4d, 0xc5, 0x8d, 0x6e, 0x69, 0x74, 0x65}, {0x54, 0xc5, 0xab, 0x73, 0x69, 0x74, 0x65}, {0x50, 0x75, 0x6c, 0x65, 0x6c, 0x75, 0x6c, 0x75}, {0x54, 0x75, 0xca, 0xbb, 0x61, 0x70, 0x75, 0x6c, 0x65, 0x6c, 0x75, 0x6c, 0x75}, {0x46, 0x61, 0x6c, 0x61, 0x69, 0x74, 0x65}, {0x54, 0x6f, 0x6b, 0x6f, 0x6e, 0x61, 0x6b, 0x69}},
- periodsAbbreviated: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- periodsNarrow: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- periodsWide: [][]uint8{{0x41, 0x4d}, {0x50, 0x4d}},
- erasAbbreviated: [][]uint8{{0x4b, 0x4d}, {0x54, 0x53}},
- erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)},
- erasWide: [][]uint8{{0x6b, 0x69, 0x20, 0x6d, 0x75, 0xca, 0xbb, 0x61}, {0x74, 0x61, 0xca, 0xbb, 0x75, 0x20, 0xca, 0xbb, 0x6f, 0x20, 0x53, 0xc4, 0xab, 0x73, 0xc5, 0xab}},
- timezones: map[string][]uint8{"LHST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6d, 0x6f, 0x74, 0x75, 0xca, 0xbb, 0x65, 0x69, 0x6b, 0x69, 0x68, 0x6f, 0x75, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "CHAST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x61, 0x74, 0x69, 0x68, 0x61, 0x6d, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "WITA": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x69, 0x6e, 0x69, 0x74, 0x6f, 0x6e, 0x69, 0x73, 0x69, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f}, "CLST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x69, 0x6c, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "HAT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x66, 0x6f, 0x6e, 0x75, 0x61, 0xca, 0xbb, 0x69, 0x6c, 0x6f, 0x66, 0x6f, 0xca, 0xbb, 0x6f, 0x75, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "AWDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "OEZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "UYST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x75, 0x6c, 0x75, 0x6b, 0x75, 0x61, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "WARST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x73, 0x65, 0x6e, 0x69, 0x74, 0x69, 0x6e, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "COST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x6f, 0x6c, 0x6f, 0x6d, 0x69, 0x70, 0x69, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "MDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x6d, 0x6f, 0xca, 0xbb, 0x75, 0x6e, 0x67, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "AKDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6c, 0x61, 0x73, 0x69, 0x6b, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "HKST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x68, 0x6f, 0x6e, 0x67, 0x69, 0x2d, 0x6b, 0x6f, 0x6e, 0x67, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "AKST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6c, 0x61, 0x73, 0x69, 0x6b, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "NZDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6e, 0x75, 0xca, 0xbb, 0x75, 0x73, 0x69, 0x6c, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "HNT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x66, 0x6f, 0x6e, 0x75, 0x61, 0xca, 0xbb, 0x69, 0x6c, 0x6f, 0x66, 0x6f, 0xca, 0xbb, 0x6f, 0x75, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "WAST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x66, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "BT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x70, 0xc5, 0xab, 0x74, 0x61, 0x6e, 0x69}, "GMT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x69, 0x6c, 0x69, 0x6e, 0x69, 0x75, 0x69, 0x73, 0x69, 0x20, 0x6d, 0xc4, 0x81, 0x6c, 0x69, 0x65}, "ART": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x73, 0x65, 0x6e, 0x69, 0x74, 0x69, 0x6e, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "NZST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6e, 0x75, 0xca, 0xbb, 0x75, 0x73, 0x69, 0x6c, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "AEDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "HAST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x68, 0x61, 0x75, 0x61, 0xca, 0xbb, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "UYT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x75, 0x6c, 0x75, 0x6b, 0x75, 0x61, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "LHDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6d, 0x6f, 0x74, 0x75, 0xca, 0xbb, 0x65, 0x69, 0x6b, 0x69, 0x68, 0x6f, 0x75, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "ECT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x6b, 0x75, 0x65, 0x74, 0x6f, 0x61}, "EAT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x66, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65}, "MEZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "BOT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x70, 0x6f, 0x6c, 0xc4, 0xab, 0x76, 0x69, 0x61}, "PST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x70, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "AST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0xca, 0xbb, 0x61, 0x74, 0x61, 0x6c, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x6b, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "SGT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x6f, 0x61}, "AWST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "TMT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x74, 0xc5, 0xab, 0x6b, 0x69, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x69, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "MST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x6d, 0x6f, 0xca, 0xbb, 0x75, 0x6e, 0x67, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "CLT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x69, 0x6c, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "ChST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x6f}, "MYT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6d, 0x61, 0x6c, 0x65, 0x69, 0x73, 0x69, 0x61}, "VET": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x75, 0x65, 0x6c, 0x61}, "ACST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "TMST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x74, 0xc5, 0xab, 0x6b, 0x69, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x69, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "SAST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x66, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6e, 0x67, 0x61}, "PDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x70, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "ACWST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "HADT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x68, 0x61, 0x75, 0x61, 0xca, 0xbb, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "CAT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x66, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f}, "ACDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "CST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "OESZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "ARST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x73, 0x65, 0x6e, 0x69, 0x74, 0x69, 0x6e, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "WART": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x73, 0x65, 0x6e, 0x69, 0x74, 0x69, 0x6e, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "CHADT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x61, 0x74, 0x69, 0x68, 0x61, 0x6d, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "IST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61}, "WESZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "SRT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x75, 0x6c, 0x69, 0x6e, 0x61, 0x6d, 0x65}, "AEST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "COT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x6f, 0x6c, 0x6f, 0x6d, 0x69, 0x70, 0x69, 0x61, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "WIB": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x69, 0x6e, 0x69, 0x74, 0x6f, 0x6e, 0x69, 0x73, 0x69, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f}, "CDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "MESZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "∅∅∅": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6b, 0x65, 0x6c, 0xc4, 0xab, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "WIT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x69, 0x6e, 0x69, 0x74, 0x6f, 0x6e, 0x69, 0x73, 0x69, 0x61, 0x2d, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65}, "ADT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0xca, 0xbb, 0x61, 0x74, 0x61, 0x6c, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x6b, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "GFT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x75, 0x69, 0x61, 0x6e, 0x61, 0x2d, 0x66, 0x61, 0x6b, 0x61, 0x66, 0x61, 0x6c, 0x61, 0x6e, 0x69, 0x73, 0xc4, 0x93}, "GYT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x6b, 0x75, 0x69, 0x61, 0x6e, 0x61}, "EDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "WEZ": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x65, 0x75, 0x6c, 0x6f, 0x70, 0x65, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "ACWDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x6c, 0xc4, 0x93, 0x6c, 0x69, 0x61, 0x2d, 0x6c, 0x6f, 0x74, 0x6f, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "WAT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x66, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x68, 0x69, 0x68, 0x69, 0x66, 0x6f, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "HKT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x68, 0x6f, 0x6e, 0x67, 0x69, 0x2d, 0x6b, 0x6f, 0x6e, 0x67, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "JST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x69, 0x61, 0x70, 0x61, 0x6e, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}, "JDT": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0x73, 0x69, 0x61, 0x70, 0x61, 0x6e, 0x69, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x6c, 0x69, 0x6c, 0x69, 0x75}, "EST": {0x68, 0x6f, 0x75, 0x61, 0x20, 0x66, 0x61, 0x6b, 0x61, 0xca, 0xbb, 0x61, 0x6d, 0x65, 0x6c, 0x69, 0x6b, 0x61, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6c, 0x61, 0x75, 0x20, 0x68, 0x61, 0x68, 0x61, 0x6b, 0x65, 0x20, 0x74, 0x61, 0x69, 0x6d, 0x69, 0x20, 0x74, 0x6f, 0x74, 0x6f, 0x6e, 0x75}},
+ 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 ", "₾", "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 ", "T$", "TPE ", "TRL ", "TRY ", "TTD ", "$", "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 ", "CFPF", "XPT ", "XRE ", "XSU ", "XTS ", "XUA ", "XXX ", "YDD ", "YER ", "YUD ", "YUM ", "YUN ", "YUR ", "ZAL ", "ZAR ", "ZMK ", "ZMW ", "ZRN ", "ZRZ ", "ZWD ", "ZWL ", "ZWR "},
+ currencyPositivePrefix: " ",
+ currencyNegativePrefix: " ",
+ monthsAbbreviated: []string{"", "Sān", "Fēp", "Maʻa", "ʻEpe", "Mē", "Sun", "Siu", "ʻAok", "Sep", "ʻOka", "Nōv", "Tīs"},
+ monthsNarrow: []string{"", "S", "F", "M", "E", "M", "S", "S", "A", "S", "O", "N", "T"},
+ monthsWide: []string{"", "Sānuali", "Fēpueli", "Maʻasi", "ʻEpeleli", "Mē", "Sune", "Siulai", "ʻAokosi", "Sepitema", "ʻOkatopa", "Nōvema", "Tīsema"},
+ daysAbbreviated: []string{"Sāp", "Mōn", "Tūs", "Pul", "Tuʻa", "Fal", "Tok"},
+ daysNarrow: []string{"S", "M", "T", "P", "T", "F", "T"},
+ daysShort: []string{"Sāp", "Mōn", "Tūs", "Pul", "Tuʻa", "Fal", "Tok"},
+ daysWide: []string{"Sāpate", "Mōnite", "Tūsite", "Pulelulu", "Tuʻapulelulu", "Falaite", "Tokonaki"},
+ periodsAbbreviated: []string{"AM", "PM"},
+ periodsNarrow: []string{"AM", "PM"},
+ periodsWide: []string{"AM", "PM"},
+ erasAbbreviated: []string{"KM", "TS"},
+ erasNarrow: []string{"", ""},
+ erasWide: []string{"ki muʻa", "taʻu ʻo Sīsū"},
+ timezones: map[string]string{"CHAST": "houa fakasatihami taimi totonu", "MESZ": "houa fakaʻeulope-loto taimi liliu", "TMST": "houa fakatūkimenisitani taimi liliu", "LHDT": "houa fakamotuʻeikihoue taimi liliu", "HNT": "houa fakafonuaʻilofoʻou taimi totonu", "OESZ": "houa fakaʻeulope-hahake taimi liliu", "NZDT": "houa fakanuʻusila taimi liliu", "COT": "houa fakakolomipia taimi totonu", "MYT": "houa fakamaleisia", "HKST": "houa fakahongi-kongi taimi liliu", "OEZ": "houa fakaʻeulope-hahake taimi totonu", "NZST": "houa fakanuʻusila taimi totonu", "CHADT": "houa fakasatihami taimi liliu", "PDT": "houa fakaʻamelika-tokelau pasifika taimi liliu", "ART": "houa fakaʻasenitina taimi totonu", "ARST": "houa fakaʻasenitina taimi liliu", "CDT": "houa fakaʻamelika-tokelau loto taimi liliu", "AWST": "houa fakaʻaositelēlia-hihifo taimi totonu", "SRT": "houa fakasuliname", "WESZ": "houa fakaʻeulope-hihifo taimi liliu", "CAT": "houa fakaʻafelika-loto", "HADT": "houa fakahauaʻi taimi liliu", "EAT": "houa fakaʻafelika-hahake", "HAT": "houa fakafonuaʻilofoʻou taimi liliu", "EST": "houa fakaʻamelika-tokelau hahake taimi totonu", "GMT": "houa fakakiliniuisi mālie", "COST": "houa fakakolomipia taimi liliu", "ACST": "houa fakaʻaositelēlia-loto taimi totonu", "GYT": "houa fakakuiana", "HKT": "houa fakahongi-kongi taimi totonu", "UYST": "houa fakaʻulukuai taimi liliu", "BOT": "houa fakapolīvia", "WAST": "houa fakaʻafelika-hihifo taimi liliu", "SAST": "houa fakaʻafelika-tonga", "ECT": "houa fakaʻekuetoa", "AKST": "houa fakaʻalasika taimi totonu", "AKDT": "houa fakaʻalasika taimi liliu", "AWDT": "houa fakaʻaositelēlia-hihifo taimi liliu", "PST": "houa fakaʻamelika-tokelau pasifika taimi totonu", "MEZ": "houa fakaʻeulope-loto taimi totonu", "ACDT": "houa fakaʻaositelēlia-loto taimi liliu", "ChST": "houa fakakamolo", "SGT": "houa fakasingapoa", "WART": "houa fakaʻasenitina-hihifo taimi totonu", "ACWDT": "houa fakaʻaositelēlia-loto-hihifo taimi liliu", "EDT": "houa fakaʻamelika-tokelau hahake taimi liliu", "CLT": "houa fakasili taimi totonu", "WARST": "houa fakaʻasenitina-hihifo taimi liliu", "MST": "houa fakaʻamelika-tokelau moʻunga taimi totonu", "MDT": "houa fakaʻamelika-tokelau moʻunga taimi liliu", "WIT": "houa fakaʻinitonisia-hahake", "BT": "houa fakapūtani", "ACWST": "houa fakaʻaositelēlia-loto-hihifo taimi totonu", "JDT": "houa fakasiapani taimi liliu", "CST": "houa fakaʻamelika-tokelau loto taimi totonu", "WEZ": "houa fakaʻeulope-hihifo taimi totonu", "AEST": "houa fakaʻaositelēlia-hahake taimi totonu", "AEDT": "houa fakaʻaositelēlia-hahake taimi liliu", "WAT": "houa fakaʻafelika-hihifo taimi totonu", "CLST": "houa fakasili taimi liliu", "WIB": "houa fakaʻinitonisia-hihifo", "WITA": "houa fakaʻinitonisia-loto", "∅∅∅": "houa fakaʻāsolesi taimi liliu", "IST": "houa fakaʻinitia", "HAST": "houa fakahauaʻi taimi totonu", "UYT": "houa fakaʻulukuai taimi totonu", "VET": "houa fakavenesuela", "LHST": "houa fakamotuʻeikihoue taimi totonu", "AST": "houa fakaʻamelika-tokelau ʻatalanitiki taimi totonu", "ADT": "houa fakaʻamelika-tokelau ʻatalanitiki taimi liliu", "GFT": "houa fakakuiana-fakafalanisē", "TMT": "houa fakatūkimenisitani taimi totonu", "JST": "houa fakasiapani taimi totonu"},
}
}
@@ -111,80 +111,77 @@ func (to *to) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64)
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (to *to) MonthAbbreviated(month time.Month) []byte {
+func (to *to) MonthAbbreviated(month time.Month) string {
return to.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (to *to) MonthsAbbreviated() [][]byte {
+func (to *to) MonthsAbbreviated() []string {
return to.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (to *to) MonthNarrow(month time.Month) []byte {
+func (to *to) MonthNarrow(month time.Month) string {
return to.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (to *to) MonthsNarrow() [][]byte {
+func (to *to) MonthsNarrow() []string {
return to.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (to *to) MonthWide(month time.Month) []byte {
+func (to *to) MonthWide(month time.Month) string {
return to.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (to *to) MonthsWide() [][]byte {
+func (to *to) MonthsWide() []string {
return to.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (to *to) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (to *to) WeekdayAbbreviated(weekday time.Weekday) string {
return to.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (to *to) WeekdaysAbbreviated() [][]byte {
+func (to *to) WeekdaysAbbreviated() []string {
return to.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (to *to) WeekdayNarrow(weekday time.Weekday) []byte {
+func (to *to) WeekdayNarrow(weekday time.Weekday) string {
return to.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (to *to) WeekdaysNarrow() [][]byte {
+func (to *to) WeekdaysNarrow() []string {
return to.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (to *to) WeekdayShort(weekday time.Weekday) []byte {
+func (to *to) WeekdayShort(weekday time.Weekday) string {
return to.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (to *to) WeekdaysShort() [][]byte {
+func (to *to) WeekdaysShort() []string {
return to.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (to *to) WeekdayWide(weekday time.Weekday) []byte {
+func (to *to) WeekdayWide(weekday time.Weekday) string {
return to.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (to *to) WeekdaysWide() [][]byte {
+func (to *to) WeekdaysWide() []string {
return to.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'to' 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 (to *to) FmtNumber(num float64, v uint64) []byte {
-
+func (to *to) FmtNumber(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(to.decimal) + len(to.group)*len(s[:len(s)-int(v)-1])/3
count := 0
@@ -220,15 +217,13 @@ func (to *to) 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 'to' 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 (to *to) FmtPercent(num float64, v uint64) []byte {
-
+func (to *to) FmtPercent(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(to.decimal)
b := make([]byte, 0, l)
@@ -254,13 +249,12 @@ func (to *to) FmtPercent(num float64, v uint64) []byte {
b = append(b, to.percent...)
- return b
+ results = string(b)
+ return
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (to *to) FmtCurrency(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := to.currencies[currency]
@@ -317,13 +311,13 @@ func (to *to) 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 'to'
-// 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 (to *to) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (to *to) FmtAccounting(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := to.currencies[currency]
@@ -392,13 +386,12 @@ func (to *to) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
}
}
- return b
+ results = string(b)
+ return
}
// FmtDateShort returns the short date representation of 't' for 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtDateShort(t time.Time) []byte {
+func (to *to) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -413,13 +406,11 @@ func (to *to) 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 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtDateMedium(t time.Time) []byte {
+func (to *to) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -429,13 +420,11 @@ func (to *to) 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 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtDateLong(t time.Time) []byte {
+func (to *to) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -445,13 +434,11 @@ func (to *to) 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 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtDateFull(t time.Time) []byte {
+func (to *to) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -463,13 +450,11 @@ func (to *to) 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 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtTimeShort(t time.Time) []byte {
+func (to *to) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -495,13 +480,11 @@ func (to *to) FmtTimeShort(t time.Time) []byte {
b = append(b, to.periodsAbbreviated[1]...)
}
- return b
+ return string(b)
}
// FmtTimeMedium returns the medium time representation of 't' for 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtTimeMedium(t time.Time) []byte {
+func (to *to) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -534,13 +517,11 @@ func (to *to) FmtTimeMedium(t time.Time) []byte {
b = append(b, to.periodsAbbreviated[1]...)
}
- return b
+ return string(b)
}
// FmtTimeLong returns the long time representation of 't' for 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtTimeLong(t time.Time) []byte {
+func (to *to) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -578,13 +559,11 @@ func (to *to) 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 'to'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (to *to) FmtTimeFull(t time.Time) []byte {
+func (to *to) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -627,5 +606,5 @@ func (to *to) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}