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
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 /zh_Hans_CN
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 'zh_Hans_CN')
-rw-r--r--zh_Hans_CN/zh_Hans_CN.go209
1 files changed, 93 insertions, 116 deletions
diff --git a/zh_Hans_CN/zh_Hans_CN.go b/zh_Hans_CN/zh_Hans_CN.go
index ce8a4d9c..5b6bd7ce 100644
--- a/zh_Hans_CN/zh_Hans_CN.go
+++ b/zh_Hans_CN/zh_Hans_CN.go
@@ -14,31 +14,31 @@ type zh_Hans_CN struct {
pluralsCardinal []locales.PluralRule
pluralsOrdinal []locales.PluralRule
pluralsRange []locales.PluralRule
- decimal []byte
- group []byte
- minus []byte
- percent []byte
- perMille []byte
- timeSeparator []byte
- inifinity []byte
- currencies [][]byte // idx = enum of currency code
- currencyNegativePrefix []byte
- currencyNegativeSuffix []byte
- monthsAbbreviated [][]byte
- monthsNarrow [][]byte
- monthsWide [][]byte
- daysAbbreviated [][]byte
- daysNarrow [][]byte
- daysShort [][]byte
- daysWide [][]byte
- periodsAbbreviated [][]byte
- periodsNarrow [][]byte
- periodsShort [][]byte
- periodsWide [][]byte
- erasAbbreviated [][]byte
- erasNarrow [][]byte
- erasWide [][]byte
- timezones map[string][]byte
+ decimal string
+ group string
+ minus string
+ percent string
+ perMille string
+ timeSeparator string
+ inifinity string
+ currencies []string // idx = enum of currency code
+ currencyNegativePrefix string
+ currencyNegativeSuffix string
+ monthsAbbreviated []string
+ monthsNarrow []string
+ monthsWide []string
+ daysAbbreviated []string
+ daysNarrow []string
+ daysShort []string
+ daysWide []string
+ periodsAbbreviated []string
+ periodsNarrow []string
+ periodsShort []string
+ periodsWide []string
+ erasAbbreviated []string
+ erasNarrow []string
+ erasWide []string
+ timezones map[string]string
}
// New returns a new instance of translator for the 'zh_Hans_CN' locale
@@ -48,30 +48,30 @@ func New() locales.Translator {
pluralsCardinal: []locales.PluralRule{6},
pluralsOrdinal: []locales.PluralRule{6},
pluralsRange: []locales.PluralRule{6},
- 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, 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}},
- currencyNegativePrefix: []byte{0x28},
- currencyNegativeSuffix: []byte{0x29},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x31, 0xe6, 0x9c, 0x88}, {0x32, 0xe6, 0x9c, 0x88}, {0x33, 0xe6, 0x9c, 0x88}, {0x34, 0xe6, 0x9c, 0x88}, {0x35, 0xe6, 0x9c, 0x88}, {0x36, 0xe6, 0x9c, 0x88}, {0x37, 0xe6, 0x9c, 0x88}, {0x38, 0xe6, 0x9c, 0x88}, {0x39, 0xe6, 0x9c, 0x88}, {0x31, 0x30, 0xe6, 0x9c, 0x88}, {0x31, 0x31, 0xe6, 0x9c, 0x88}, {0x31, 0x32, 0xe6, 0x9c, 0x88}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x31}, {0x32}, {0x33}, {0x34}, {0x35}, {0x36}, {0x37}, {0x38}, {0x39}, {0x31, 0x30}, {0x31, 0x31}, {0x31, 0x32}},
- monthsWide: [][]uint8{[]uint8(nil), {0xe4, 0xb8, 0x80, 0xe6, 0x9c, 0x88}, {0xe4, 0xba, 0x8c, 0xe6, 0x9c, 0x88}, {0xe4, 0xb8, 0x89, 0xe6, 0x9c, 0x88}, {0xe5, 0x9b, 0x9b, 0xe6, 0x9c, 0x88}, {0xe4, 0xba, 0x94, 0xe6, 0x9c, 0x88}, {0xe5, 0x85, 0xad, 0xe6, 0x9c, 0x88}, {0xe4, 0xb8, 0x83, 0xe6, 0x9c, 0x88}, {0xe5, 0x85, 0xab, 0xe6, 0x9c, 0x88}, {0xe4, 0xb9, 0x9d, 0xe6, 0x9c, 0x88}, {0xe5, 0x8d, 0x81, 0xe6, 0x9c, 0x88}, {0xe5, 0x8d, 0x81, 0xe4, 0xb8, 0x80, 0xe6, 0x9c, 0x88}, {0xe5, 0x8d, 0x81, 0xe4, 0xba, 0x8c, 0xe6, 0x9c, 0x88}},
- daysAbbreviated: [][]uint8{{0xe5, 0x91, 0xa8, 0xe6, 0x97, 0xa5}, {0xe5, 0x91, 0xa8, 0xe4, 0xb8, 0x80}, {0xe5, 0x91, 0xa8, 0xe4, 0xba, 0x8c}, {0xe5, 0x91, 0xa8, 0xe4, 0xb8, 0x89}, {0xe5, 0x91, 0xa8, 0xe5, 0x9b, 0x9b}, {0xe5, 0x91, 0xa8, 0xe4, 0xba, 0x94}, {0xe5, 0x91, 0xa8, 0xe5, 0x85, 0xad}},
- daysNarrow: [][]uint8{{0xe6, 0x97, 0xa5}, {0xe4, 0xb8, 0x80}, {0xe4, 0xba, 0x8c}, {0xe4, 0xb8, 0x89}, {0xe5, 0x9b, 0x9b}, {0xe4, 0xba, 0x94}, {0xe5, 0x85, 0xad}},
- daysShort: [][]uint8{{0xe5, 0x91, 0xa8, 0xe6, 0x97, 0xa5}, {0xe5, 0x91, 0xa8, 0xe4, 0xb8, 0x80}, {0xe5, 0x91, 0xa8, 0xe4, 0xba, 0x8c}, {0xe5, 0x91, 0xa8, 0xe4, 0xb8, 0x89}, {0xe5, 0x91, 0xa8, 0xe5, 0x9b, 0x9b}, {0xe5, 0x91, 0xa8, 0xe4, 0xba, 0x94}, {0xe5, 0x91, 0xa8, 0xe5, 0x85, 0xad}},
- daysWide: [][]uint8{{0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe6, 0x97, 0xa5}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe4, 0xb8, 0x80}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe4, 0xba, 0x8c}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe4, 0xb8, 0x89}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe5, 0x9b, 0x9b}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe4, 0xba, 0x94}, {0xe6, 0x98, 0x9f, 0xe6, 0x9c, 0x9f, 0xe5, 0x85, 0xad}},
- periodsAbbreviated: [][]uint8{{0xe4, 0xb8, 0x8a, 0xe5, 0x8d, 0x88}, {0xe4, 0xb8, 0x8b, 0xe5, 0x8d, 0x88}},
- periodsNarrow: [][]uint8{{0xe4, 0xb8, 0x8a, 0xe5, 0x8d, 0x88}, {0xe4, 0xb8, 0x8b, 0xe5, 0x8d, 0x88}},
- periodsWide: [][]uint8{{0xe4, 0xb8, 0x8a, 0xe5, 0x8d, 0x88}, {0xe4, 0xb8, 0x8b, 0xe5, 0x8d, 0x88}},
- erasAbbreviated: [][]uint8{{0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83, 0xe5, 0x89, 0x8d}, {0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83}},
- erasNarrow: [][]uint8{{0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83, 0xe5, 0x89, 0x8d}, {0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83}},
- erasWide: [][]uint8{{0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83, 0xe5, 0x89, 0x8d}, {0xe5, 0x85, 0xac, 0xe5, 0x85, 0x83}},
- timezones: map[string][]uint8{"ART": {0xe9, 0x98, 0xbf, 0xe6, 0xa0, 0xb9, 0xe5, 0xbb, 0xb7, 0xe6, 0xa0, 0x87, 0xe5, 0x87, 0x86, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "UYT": {0xe4, 0xb9, 0x8c, 0xe6, 0x8b, 0x89, 0xe5, 0x9c, 0xad, 0xe6, 0xa0, 0x87, 0xe5, 0x87, 0x86, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "AWST": {0xe6, 0xbe, 0xb3, 0xe5, 0xa4, 0xa7, 0xe5, 0x88, 0xa9, 0xe4, 0xba, 0x9a, 0xe8, 0xa5, 0xbf, 0xe9, 0x83, 0xa8, 0xe6, 0xa0, 0x87, 0xe5, 0x87, 0x86, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "OESZ": {0xe4, 0xb8, 0x9c, 0xe6, 0xac, 0xa7, 0xe5, 0xa4, 0x8f, 0xe4, 0xbb, 0xa4, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "GFT": {0xe6, 0xb3, 0x95, 0xe5, 0xb1, 0x9e, 0xe5, 0x9c, 0xad, 0xe4, 0xba, 0x9a, 0xe9, 0x82, 0xa3, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "HAT": {0xe7, 0xba, 0xbd, 0xe8, 0x8a, 0xac, 0xe5, 0x85, 0xb0, 0xe5, 0xa4, 0x8f, 0xe4, 0xbb, 0xa4, 0xe6, 0x97, 0xb6, 0xe9, 0x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, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "GYT": {0xe5, 0x9c, 0xad, 0xe4, 0xba, 0x9a, 0xe9, 0x82, 0xa3, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "CLST": {0xe6, 0x99, 0xba, 0xe5, 0x88, 0xa9, 0xe5, 0xa4, 0x8f, 0xe4, 0xbb, 0xa4, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "∅∅∅": {0xe5, 0xb7, 0xb4, 0xe8, 0xa5, 0xbf, 0xe5, 0x88, 0xa9, 0xe4, 0xba, 0x9a, 0xe5, 0xa4, 0x8f, 0xe4, 0xbb, 0xa4, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "AEST": {0xe6, 0xbe, 0xb3, 0xe5, 0xa4, 0xa7, 0xe5, 0x88, 0xa9, 0xe4, 0xba, 0x9a, 0xe4, 0xb8, 0x9c, 0xe9, 0x83, 0xa8, 0xe6, 0xa0, 0x87, 0xe5, 0x87, 0x86, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "MST": {0xe5, 0x8c, 0x97, 0xe7, 0xbe, 0x8e, 0xe5, 0xb1, 0xb1, 0xe5, 0x8c, 0xba, 0xe6, 0xa0, 0x87, 0xe5, 0x87, 0x86, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}, "AWDT": {0xe6, 0xbe, 0xb3, 0xe5, 0xa4, 0xa7, 0xe5, 0x88, 0xa9, 0xe4, 0xba, 0x9a, 0xe8, 0xa5, 0xbf, 0xe9, 0x83, 0xa8, 0xe5, 0xa4, 0x8f, 0xe4, 0xbb, 0xa4, 0xe6, 0x97, 0xb6, 0xe9, 0x97, 0xb4}},
+ 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 "},
+ currencyNegativePrefix: "(",
+ currencyNegativeSuffix: ")",
+ monthsAbbreviated: []string{"", "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"},
+ monthsNarrow: []string{"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"},
+ monthsWide: []string{"", "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"},
+ daysAbbreviated: []string{"周日", "周一", "周二", "周三", "周四", "周五", "周六"},
+ daysNarrow: []string{"日", "一", "二", "三", "四", "五", "六"},
+ daysShort: []string{"周日", "周一", "周二", "周三", "周四", "周五", "周六"},
+ daysWide: []string{"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"},
+ periodsAbbreviated: []string{"上午", "下午"},
+ periodsNarrow: []string{"上午", "下午"},
+ periodsWide: []string{"上午", "下午"},
+ erasAbbreviated: []string{"公元前", "公元"},
+ erasNarrow: []string{"公元前", "公元"},
+ erasWide: []string{"公元前", "公元"},
+ timezones: map[string]string{"BOT": "玻利维亚时间", "COT": "哥伦比亚标准时间", "MEZ": "中欧标准时间", "AKDT": "阿拉斯加夏令时间", "CAT": "中部非洲时间", "AEST": "澳大利亚东部标准时间", "AKST": "阿拉斯加标准时间", "JDT": "日本夏令时间", "∅∅∅": "亚速尔群岛夏令时间", "CST": "北美中部标准时间", "AWDT": "澳大利亚西部夏令时间", "ADT": "大西洋夏令时间", "ART": "阿根廷标准时间", "WEZ": "西欧标准时间", "UYT": "乌拉圭标准时间", "PDT": "北美太平洋夏令时间", "AEDT": "澳大利亚东部夏令时间", "NZST": "新西兰标准时间", "VET": "委内瑞拉时间", "CDT": "北美中部夏令时间", "WAT": "西部非洲标准时间", "TMT": "土库曼斯坦标准时间", "HAST": "夏威夷-阿留申标准时间", "BT": "不丹时间", "WITA": "印度尼西亚中部时间", "IST": "印度时间", "OEZ": "东欧标准时间", "GYT": "圭亚那时间", "WARST": "阿根廷西部夏令时间", "TMST": "土库曼斯坦夏令时间", "MYT": "马来西亚时间", "PST": "北美太平洋标准时间", "MESZ": "中欧夏令时间", "ACDT": "澳大利亚中部夏令时间", "ChST": "查莫罗时间", "HKST": "香港夏令时间", "CLT": "智利标准时间", "UYST": "乌拉圭夏令时间", "GMT": "格林尼治标准时间", "WAST": "西部非洲夏令时间", "ECT": "厄瓜多尔时间", "AWST": "澳大利亚西部标准时间", "WART": "阿根廷西部标准时间", "SRT": "苏里南时间", "SGT": "新加坡标准时间", "EDT": "北美东部夏令时间", "WIB": "印度尼西亚西部时间", "CHAST": "查坦标准时间", "CHADT": "查坦夏令时间", "ACWDT": "澳大利亚中西部夏令时间", "HADT": "夏威夷-阿留申夏令时间", "HNT": "纽芬兰标准时间", "HAT": "纽芬兰夏令时间", "NZDT": "新西兰夏令时间", "COST": "哥伦比亚夏令时间", "MST": "北美山区标准时间", "WIT": "印度尼西亚东部时间", "EST": "北美东部标准时间", "OESZ": "东欧夏令时间", "GFT": "法属圭亚那时间", "LHST": "豪勋爵岛标准时间", "ACST": "澳大利亚中部标准时间", "SAST": "南部非洲时间", "MDT": "北美山区夏令时间", "JST": "日本标准时间", "CLST": "智利夏令时间", "AST": "大西洋标准时间", "ARST": "阿根廷夏令时间", "ACWST": "澳大利亚中西部标准时间", "LHDT": "豪勋爵岛夏令时间", "EAT": "东部非洲时间", "WESZ": "西欧夏令时间", "HKT": "香港标准时间"},
}
}
@@ -111,80 +111,77 @@ func (zh *zh_Hans_CN) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (zh *zh_Hans_CN) MonthAbbreviated(month time.Month) []byte {
+func (zh *zh_Hans_CN) MonthAbbreviated(month time.Month) string {
return zh.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (zh *zh_Hans_CN) MonthsAbbreviated() [][]byte {
+func (zh *zh_Hans_CN) MonthsAbbreviated() []string {
return zh.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (zh *zh_Hans_CN) MonthNarrow(month time.Month) []byte {
+func (zh *zh_Hans_CN) MonthNarrow(month time.Month) string {
return zh.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (zh *zh_Hans_CN) MonthsNarrow() [][]byte {
+func (zh *zh_Hans_CN) MonthsNarrow() []string {
return zh.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (zh *zh_Hans_CN) MonthWide(month time.Month) []byte {
+func (zh *zh_Hans_CN) MonthWide(month time.Month) string {
return zh.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (zh *zh_Hans_CN) MonthsWide() [][]byte {
+func (zh *zh_Hans_CN) MonthsWide() []string {
return zh.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (zh *zh_Hans_CN) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (zh *zh_Hans_CN) WeekdayAbbreviated(weekday time.Weekday) string {
return zh.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (zh *zh_Hans_CN) WeekdaysAbbreviated() [][]byte {
+func (zh *zh_Hans_CN) WeekdaysAbbreviated() []string {
return zh.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (zh *zh_Hans_CN) WeekdayNarrow(weekday time.Weekday) []byte {
+func (zh *zh_Hans_CN) WeekdayNarrow(weekday time.Weekday) string {
return zh.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (zh *zh_Hans_CN) WeekdaysNarrow() [][]byte {
+func (zh *zh_Hans_CN) WeekdaysNarrow() []string {
return zh.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (zh *zh_Hans_CN) WeekdayShort(weekday time.Weekday) []byte {
+func (zh *zh_Hans_CN) WeekdayShort(weekday time.Weekday) string {
return zh.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (zh *zh_Hans_CN) WeekdaysShort() [][]byte {
+func (zh *zh_Hans_CN) WeekdaysShort() []string {
return zh.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (zh *zh_Hans_CN) WeekdayWide(weekday time.Weekday) []byte {
+func (zh *zh_Hans_CN) WeekdayWide(weekday time.Weekday) string {
return zh.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (zh *zh_Hans_CN) WeekdaysWide() [][]byte {
+func (zh *zh_Hans_CN) WeekdaysWide() []string {
return zh.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'zh_Hans_CN' 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 (zh *zh_Hans_CN) FmtNumber(num float64, v uint64) []byte {
-
+func (zh *zh_Hans_CN) FmtNumber(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(zh.decimal) + len(zh.group)*len(s[:len(s)-int(v)-1])/3
count := 0
@@ -220,15 +217,13 @@ func (zh *zh_Hans_CN) 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 'zh_Hans_CN' 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 (zh *zh_Hans_CN) FmtPercent(num float64, v uint64) []byte {
-
+func (zh *zh_Hans_CN) FmtPercent(num float64, v uint64) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
l := len(s) + len(zh.decimal)
b := make([]byte, 0, l)
@@ -254,13 +249,12 @@ func (zh *zh_Hans_CN) FmtPercent(num float64, v uint64) []byte {
b = append(b, zh.percent...)
- return b
+ results = string(b)
+ return
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (zh *zh_Hans_CN) FmtCurrency(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := zh.currencies[currency]
@@ -313,13 +307,13 @@ func (zh *zh_Hans_CN) FmtCurrency(num float64, v uint64, currency currency.Type)
}
}
- return b
+ results = string(b)
+ return
}
// FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'zh_Hans_CN'
-// 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 (zh *zh_Hans_CN) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (zh *zh_Hans_CN) FmtAccounting(num float64, v uint64, currency currency.Type) (results string) {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := zh.currencies[currency]
@@ -354,9 +348,7 @@ func (zh *zh_Hans_CN) FmtAccounting(num float64, v uint64, currency currency.Typ
b = append(b, symbol[j])
}
- for j := len(zh.currencyNegativePrefix) - 1; j >= 0; j-- {
- b = append(b, zh.currencyNegativePrefix[j])
- }
+ b = append(b, zh.currencyNegativePrefix[0])
} else {
@@ -386,13 +378,12 @@ func (zh *zh_Hans_CN) FmtAccounting(num float64, v uint64, currency currency.Typ
b = append(b, zh.currencyNegativeSuffix...)
}
- return b
+ results = string(b)
+ return
}
// FmtDateShort returns the short date representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtDateShort(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -402,13 +393,11 @@ func (zh *zh_Hans_CN) FmtDateShort(t time.Time) []byte {
b = append(b, []byte{0x2f}...)
b = strconv.AppendInt(b, int64(t.Day()), 10)
- return b
+ return string(b)
}
// FmtDateMedium returns the medium date representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtDateMedium(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -419,13 +408,11 @@ func (zh *zh_Hans_CN) FmtDateMedium(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Day()), 10)
b = append(b, []byte{0xe6, 0x97, 0xa5}...)
- return b
+ return string(b)
}
// FmtDateLong returns the long date representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtDateLong(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -436,13 +423,11 @@ func (zh *zh_Hans_CN) FmtDateLong(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Day()), 10)
b = append(b, []byte{0xe6, 0x97, 0xa5}...)
- return b
+ return string(b)
}
// FmtDateFull returns the full date representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtDateFull(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -454,13 +439,11 @@ func (zh *zh_Hans_CN) FmtDateFull(t time.Time) []byte {
b = append(b, []byte{0xe6, 0x97, 0xa5}...)
b = append(b, zh.daysWide[t.Weekday()]...)
- return b
+ return string(b)
}
// FmtTimeShort returns the short time representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtTimeShort(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -485,13 +468,11 @@ func (zh *zh_Hans_CN) 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 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtTimeMedium(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -523,13 +504,11 @@ func (zh *zh_Hans_CN) 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 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtTimeLong(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -566,13 +545,11 @@ func (zh *zh_Hans_CN) FmtTimeLong(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Second()), 10)
- return b
+ return string(b)
}
// FmtTimeFull returns the full time representation of 't' for 'zh_Hans_CN'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (zh *zh_Hans_CN) FmtTimeFull(t time.Time) []byte {
+func (zh *zh_Hans_CN) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -614,5 +591,5 @@ func (zh *zh_Hans_CN) FmtTimeFull(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Second()), 10)
- return b
+ return string(b)
}