package he import ( "math" "strconv" "time" "github.com/go-playground/locales" "github.com/go-playground/locales/currency" ) type he struct { locale string pluralsCardinal []locales.PluralRule pluralsOrdinal []locales.PluralRule decimal []byte group []byte minus []byte percent []byte perMille []byte timeSeparator []byte inifinity []byte currencies [][]byte // idx = enum of currency code currencyPositiveSuffix []byte currencyNegativeSuffix []byte monthsAbbreviated [][]byte monthsNarrow [][]byte monthsWide [][]byte daysAbbreviated [][]byte daysNarrow [][]byte daysShort [][]byte daysWide [][]byte periodsAbbreviated [][]byte periodsNarrow [][]byte periodsShort [][]byte periodsWide [][]byte erasAbbreviated [][]byte erasNarrow [][]byte erasWide [][]byte timezones map[string][]byte } // New returns a new instance of translator for the 'he' locale func New() locales.Translator { return &he{ locale: "he", pluralsCardinal: []locales.PluralRule{2, 3, 5, 6}, pluralsOrdinal: []locales.PluralRule{6}, decimal: []byte{0x2e}, group: []byte{0x2c}, minus: []byte{0xe2, 0x80, 0x8e, 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}, {0x41, 0x46, 0x41, 0x20}, {0x41, 0x46, 0x4e}, {0x41, 0x4c, 0x4b, 0x20}, {0x41, 0x4c, 0x4c}, {0x41, 0x4d, 0x44}, {0x41, 0x4e, 0x47}, {0x41, 0x4f, 0x41}, {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}, {0x41, 0x54, 0x53, 0x20}, {0x41, 0x24}, {0x41, 0x57, 0x47}, {0x41, 0x5a, 0x4d, 0x20}, {0x41, 0x5a, 0x4e}, {0x42, 0x41, 0x44, 0x20}, {0x42, 0x41, 0x4d}, {0x42, 0x41, 0x4e, 0x20}, {0x42, 0x42, 0x44}, {0x42, 0x44, 0x54}, {0x42, 0x45, 0x43, 0x20}, {0x42, 0x45, 0x46, 0x20}, {0x42, 0x45, 0x4c, 0x20}, {0x42, 0x47, 0x4c, 0x20}, {0x42, 0x47, 0x4d, 0x20}, {0x42, 0x47, 0x4e}, {0x42, 0x47, 0x4f, 0x20}, {0x42, 0x48, 0x44}, {0x42, 0x49, 0x46}, {0x42, 0x4d, 0x44}, {0x42, 0x4e, 0x44}, {0x42, 0x4f, 0x42}, {0x42, 0x4f, 0x4c, 0x20}, {0x42, 0x4f, 0x50, 0x20}, {0x42, 0x4f, 0x56, 0x20}, {0x42, 0x52, 0x42, 0x20}, {0x42, 0x52, 0x43, 0x20}, {0x42, 0x52, 0x45, 0x20}, {0x52, 0x24}, {0x42, 0x52, 0x4e, 0x20}, {0x42, 0x52, 0x52, 0x20}, {0x42, 0x52, 0x5a, 0x20}, {0x42, 0x53, 0x44}, {0x42, 0x54, 0x4e}, {0x42, 0x55, 0x4b, 0x20}, {0x42, 0x57, 0x50}, {0x42, 0x59, 0x42, 0x20}, {0x42, 0x59, 0x52}, {0x42, 0x5a, 0x44}, {0x43, 0x41, 0x24}, {0x43, 0x44, 0x46}, {0x43, 0x48, 0x45, 0x20}, {0x43, 0x48, 0x46}, {0x43, 0x48, 0x57, 0x20}, {0x43, 0x4c, 0x45, 0x20}, {0x43, 0x4c, 0x46, 0x20}, {0x43, 0x4c, 0x50}, {0x43, 0x4e, 0x58, 0x20}, {0x43, 0x4e, 0xc2, 0xa5}, {0x43, 0x4f, 0x50}, {0x43, 0x4f, 0x55, 0x20}, {0x43, 0x52, 0x43}, {0x43, 0x53, 0x44, 0x20}, {0x43, 0x53, 0x4b, 0x20}, {0x43, 0x55, 0x43}, {0x43, 0x55, 0x50}, {0x43, 0x56, 0x45}, {0x43, 0x59, 0x50, 0x20}, {0x43, 0x5a, 0x4b}, {0x44, 0x44, 0x4d, 0x20}, {0x44, 0x45, 0x4d, 0x20}, {0x44, 0x4a, 0x46}, {0x44, 0x4b, 0x4b}, {0x44, 0x4f, 0x50}, {0x44, 0x5a, 0x44}, {0x45, 0x43, 0x53, 0x20}, {0x45, 0x43, 0x56, 0x20}, {0x45, 0x45, 0x4b, 0x20}, {0x45, 0x47, 0x50}, {0x45, 0x52, 0x4e}, {0x45, 0x53, 0x41, 0x20}, {0x45, 0x53, 0x42, 0x20}, {0x45, 0x53, 0x50, 0x20}, {0x45, 0x54, 0x42}, {0xe2, 0x82, 0xac}, {0x46, 0x49, 0x4d, 0x20}, {0x46, 0x4a, 0x44}, {0x46, 0x4b, 0x50}, {0x46, 0x52, 0x46, 0x20}, {0xc2, 0xa3}, {0x47, 0x45, 0x4b, 0x20}, {0x47, 0x45, 0x4c}, {0x47, 0x48, 0x43, 0x20}, {0x47, 0x48, 0x53}, {0x47, 0x49, 0x50}, {0x47, 0x4d, 0x44}, {0x47, 0x4e, 0x46}, {0x47, 0x4e, 0x53, 0x20}, {0x47, 0x51, 0x45, 0x20}, {0x47, 0x52, 0x44, 0x20}, {0x47, 0x54, 0x51}, {0x47, 0x57, 0x45, 0x20}, {0x47, 0x57, 0x50, 0x20}, {0x47, 0x59, 0x44}, {0x48, 0x4b, 0x24}, {0x48, 0x4e, 0x4c}, {0x48, 0x52, 0x44, 0x20}, {0x48, 0x52, 0x4b}, {0x48, 0x54, 0x47}, {0x48, 0x55, 0x46}, {0x49, 0x44, 0x52}, {0x49, 0x45, 0x50, 0x20}, {0xd7, 0x9c, 0xd7, 0xb4, 0xd7, 0x99}, {0x49, 0x4c, 0x52, 0x20}, {0xe2, 0x82, 0xaa}, {0xe2, 0x82, 0xb9}, {0x49, 0x51, 0x44}, {0x49, 0x52, 0x52}, {0x49, 0x53, 0x4a, 0x20}, {0x49, 0x53, 0x4b}, {0x49, 0x54, 0x4c, 0x20}, {0x4a, 0x4d, 0x44}, {0x4a, 0x4f, 0x44}, {0x4a, 0x50, 0xc2, 0xa5}, {0x4b, 0x45, 0x53}, {0x4b, 0x47, 0x53}, {0x4b, 0x48, 0x52}, {0x4b, 0x4d, 0x46}, {0x4b, 0x50, 0x57}, {0x4b, 0x52, 0x48, 0x20}, {0x4b, 0x52, 0x4f, 0x20}, {0xe2, 0x82, 0xa9}, {0x4b, 0x57, 0x44}, {0x4b, 0x59, 0x44}, {0x4b, 0x5a, 0x54}, {0x4c, 0x41, 0x4b}, {0x4c, 0x42, 0x50}, {0x4c, 0x4b, 0x52}, {0x4c, 0x52, 0x44}, {0x4c, 0x53, 0x4c, 0x20}, {0x4c, 0x54, 0x4c}, {0x4c, 0x54, 0x54, 0x20}, {0x4c, 0x55, 0x43, 0x20}, {0x4c, 0x55, 0x46, 0x20}, {0x4c, 0x55, 0x4c, 0x20}, {0x4c, 0x56, 0x4c}, {0x4c, 0x56, 0x52, 0x20}, {0x4c, 0x59, 0x44}, {0x4d, 0x41, 0x44}, {0x4d, 0x41, 0x46, 0x20}, {0x4d, 0x43, 0x46, 0x20}, {0x4d, 0x44, 0x43, 0x20}, {0x4d, 0x44, 0x4c}, {0x4d, 0x47, 0x41}, {0x4d, 0x47, 0x46, 0x20}, {0x4d, 0x4b, 0x44}, {0x4d, 0x4b, 0x4e, 0x20}, {0x4d, 0x4c, 0x46, 0x20}, {0x4d, 0x4d, 0x4b}, {0x4d, 0x4e, 0x54}, {0x4d, 0x4f, 0x50}, {0x4d, 0x52, 0x4f}, {0x4d, 0x54, 0x4c, 0x20}, {0x4d, 0x54, 0x50, 0x20}, {0x4d, 0x55, 0x52}, {0x4d, 0x56, 0x50, 0x20}, {0x4d, 0x56, 0x52}, {0x4d, 0x57, 0x4b}, {0x4d, 0x58, 0x24}, {0x4d, 0x58, 0x50, 0x20}, {0x4d, 0x58, 0x56, 0x20}, {0x4d, 0x59, 0x52}, {0x4d, 0x5a, 0x45, 0x20}, {0x4d, 0x5a, 0x4d, 0x20}, {0x4d, 0x5a, 0x4e}, {0x4e, 0x41, 0x44}, {0x4e, 0x47, 0x4e}, {0x4e, 0x49, 0x43, 0x20}, {0x4e, 0x49, 0x4f}, {0x4e, 0x4c, 0x47, 0x20}, {0x4e, 0x4f, 0x4b}, {0x4e, 0x50, 0x52}, {0x4e, 0x5a, 0x24}, {0x4f, 0x4d, 0x52}, {0x50, 0x41, 0x42}, {0x50, 0x45, 0x49, 0x20}, {0x50, 0x45, 0x4e}, {0x50, 0x45, 0x53, 0x20}, {0x50, 0x47, 0x4b}, {0x50, 0x48, 0x50}, {0x50, 0x4b, 0x52}, {0x50, 0x4c, 0x4e}, {0x50, 0x4c, 0x5a, 0x20}, {0x50, 0x54, 0x45, 0x20}, {0x50, 0x59, 0x47}, {0x51, 0x41, 0x52}, {0x52, 0x48, 0x44, 0x20}, {0x52, 0x4f, 0x4c, 0x20}, {0x52, 0x4f, 0x4e}, {0x52, 0x53, 0x44}, {0x52, 0x55, 0x42}, {0x52, 0x55, 0x52, 0x20}, {0x52, 0x57, 0x46}, {0x53, 0x41, 0x52}, {0x53, 0x42, 0x44}, {0x53, 0x43, 0x52}, {0x53, 0x44, 0x44, 0x20}, {0x53, 0x44, 0x47}, {0x53, 0x44, 0x50, 0x20}, {0x53, 0x45, 0x4b}, {0x53, 0x47, 0x44}, {0x53, 0x48, 0x50}, {0x53, 0x49, 0x54, 0x20}, {0x53, 0x4b, 0x4b, 0x20}, {0x53, 0x4c, 0x4c}, {0x53, 0x4f, 0x53}, {0x53, 0x52, 0x44}, {0x53, 0x52, 0x47, 0x20}, {0x53, 0x53, 0x50}, {0x53, 0x54, 0x44}, {0x53, 0x55, 0x52, 0x20}, {0x53, 0x56, 0x43, 0x20}, {0x53, 0x59, 0x50}, {0x53, 0x5a, 0x4c}, {0xe0, 0xb8, 0xbf}, {0x54, 0x4a, 0x52, 0x20}, {0x54, 0x4a, 0x53}, {0x54, 0x4d, 0x4d, 0x20}, {0x54, 0x4d, 0x54}, {0x54, 0x4e, 0x44}, {0x54, 0x4f, 0x50}, {0x54, 0x50, 0x45, 0x20}, {0x54, 0x52, 0x4c, 0x20}, {0x54, 0x52, 0x59}, {0x54, 0x54, 0x44}, {0x4e, 0x54, 0x24}, {0x54, 0x5a, 0x53}, {0x55, 0x41, 0x48}, {0x55, 0x41, 0x4b, 0x20}, {0x55, 0x47, 0x53, 0x20}, {0x55, 0x47, 0x58}, {0x24}, {0x55, 0x53, 0x4e, 0x20}, {0x55, 0x53, 0x53, 0x20}, {0x55, 0x59, 0x49, 0x20}, {0x55, 0x59, 0x50, 0x20}, {0x55, 0x59, 0x55}, {0x55, 0x5a, 0x53}, {0x56, 0x45, 0x42, 0x20}, {0x56, 0x45, 0x46}, {0xe2, 0x82, 0xab}, {0x56, 0x4e, 0x4e, 0x20}, {0x56, 0x55, 0x56}, {0x57, 0x53, 0x54}, {0x46, 0x43, 0x46, 0x41}, {0x58, 0x41, 0x47, 0x20}, {0x58, 0x41, 0x55, 0x20}, {0x58, 0x42, 0x41, 0x20}, {0x58, 0x42, 0x42, 0x20}, {0x58, 0x42, 0x43, 0x20}, {0x58, 0x42, 0x44, 0x20}, {0x45, 0x43, 0x24}, {0x58, 0x44, 0x52, 0x20}, {0x58, 0x45, 0x55, 0x20}, {0x58, 0x46, 0x4f, 0x20}, {0x58, 0x46, 0x55, 0x20}, {0x43, 0x46, 0x41}, {0x58, 0x50, 0x44, 0x20}, {0x43, 0x46, 0x50, 0x46}, {0x58, 0x50, 0x54, 0x20}, {0x58, 0x52, 0x45, 0x20}, {0x58, 0x53, 0x55, 0x20}, {0x58, 0x54, 0x53, 0x20}, {0x58, 0x55, 0x41, 0x20}, {0x58, 0x58, 0x58, 0x20}, {0x59, 0x44, 0x44, 0x20}, {0x59, 0x45, 0x52}, {0x59, 0x55, 0x44, 0x20}, {0x59, 0x55, 0x4d, 0x20}, {0x59, 0x55, 0x4e, 0x20}, {0x59, 0x55, 0x52, 0x20}, {0x5a, 0x41, 0x4c, 0x20}, {0x5a, 0x41, 0x52}, {0x5a, 0x4d, 0x4b, 0x20}, {0x5a, 0x4d, 0x57}, {0x5a, 0x52, 0x4e, 0x20}, {0x5a, 0x52, 0x5a, 0x20}, {0x5a, 0x57, 0x44, 0x20}, {0x5a, 0x57, 0x4c, 0x20}, {0x5a, 0x57, 0x52, 0x20}}, currencyPositiveSuffix: []byte{0xc2, 0xa0}, currencyNegativeSuffix: []byte{0xc2, 0xa0}, monthsAbbreviated: [][]uint8{[]uint8(nil), {0xd7, 0x99, 0xd7, 0xa0, 0xd7, 0x95, 0xd7, 0xb3}, {0xd7, 0xa4, 0xd7, 0x91, 0xd7, 0xa8, 0xd7, 0xb3}, {0xd7, 0x9e, 0xd7, 0xa8, 0xd7, 0xa5}, {0xd7, 0x90, 0xd7, 0xa4, 0xd7, 0xa8, 0xd7, 0xb3}, {0xd7, 0x9e, 0xd7, 0x90, 0xd7, 0x99}, {0xd7, 0x99, 0xd7, 0x95, 0xd7, 0xa0, 0xd7, 0x99}, {0xd7, 0x99, 0xd7, 0x95, 0xd7, 0x9c, 0xd7, 0x99}, {0xd7, 0x90, 0xd7, 0x95, 0xd7, 0x92, 0xd7, 0xb3}, {0xd7, 0xa1, 0xd7, 0xa4, 0xd7, 0x98, 0xd7, 0xb3}, {0xd7, 0x90, 0xd7, 0x95, 0xd7, 0xa7, 0xd7, 0xb3}, {0xd7, 0xa0, 0xd7, 0x95, 0xd7, 0x91, 0xd7, 0xb3}, {0xd7, 0x93, 0xd7, 0xa6, 0xd7, 0x9e, 0xd7, 0xb3}}, monthsNarrow: [][]uint8{[]uint8(nil), {0x31}, {0x32}, {0x33}, {0x34}, {0x35}, {0x36}, {0x37}, {0x38}, {0x39}, {0x31, 0x30}, {0x31, 0x31}, {0x31, 0x32}}, monthsWide: [][]uint8{[]uint8(nil), {0xd7, 0x99, 0xd7, 0xa0, 0xd7, 0x95, 0xd7, 0x90, 0xd7, 0xa8}, {0xd7, 0xa4, 0xd7, 0x91, 0xd7, 0xa8, 0xd7, 0x95, 0xd7, 0x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x9c, 0xd7, 0xa4, 0xd7, 0xa0, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa6}, {0xd7, 0x90, 0xd7, 0x97, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa6}}, periodsWide: [][]uint8{{0xd7, 0x9c, 0xd7, 0xa4, 0xd7, 0xa0, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa6}, {0xd7, 0x90, 0xd7, 0x97, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa6}}, erasAbbreviated: [][]uint8{{0xd7, 0x9c, 0xd7, 0xa4, 0xd7, 0xa0, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa1}, {0xd7, 0x9c, 0xd7, 0xa1, 0xd7, 0xa4, 0xd7, 0x99, 0xd7, 0xa8, 0xd7, 0x94}}, erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)}, erasWide: [][]uint8{[]uint8(nil), []uint8(nil)}, timezones: map[string][]uint8{"ARST": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x90, 0xd7, 0xa8, 0xd7, 0x92, 0xd7, 0xa0, 0xd7, 0x98, 0xd7, 0x99, 0xd7, 0xa0, 0xd7, 0x94, 0x20, 0x28, 0xd7, 0xa7, 0xd7, 0x99, 0xd7, 0xa5, 0x29}, "ADT": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x94, 0xd7, 0x90, 0xd7, 0x95, 0xd7, 0xa7, 0xd7, 0x99, 0xd7, 0x99, 0xd7, 0xa0, 0xd7, 0x95, 0xd7, 0xa1, 0x20, 0xd7, 0x94, 0xd7, 0x90, 0xd7, 0x98, 0xd7, 0x9c, 0xd7, 0xa0, 0xd7, 0x98, 0xd7, 0x99, 0x20, 0x28, 0xd7, 0xa7, 0xd7, 0x99, 0xd7, 0xa5, 0x29}, "LHDT": {0xd7, 0xa9, 0xd7, 0x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0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x9e, 0xd7, 0xa8, 0xd7, 0x9b, 0xd7, 0x96, 0x20, 0xd7, 0x90, 0xd7, 0x95, 0xd7, 0xa1, 0xd7, 0x98, 0xd7, 0xa8, 0xd7, 0x9c, 0xd7, 0x99, 0xd7, 0x94, 0x20, 0x28, 0xd7, 0x97, 0xd7, 0x95, 0xd7, 0xa8, 0xd7, 0xa3, 0x29}, "AKST": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x90, 0xd7, 0x9c, 0xd7, 0xa1, 0xd7, 0xa7, 0xd7, 0x94, 0x20, 0x28, 0xd7, 0x97, 0xd7, 0x95, 0xd7, 0xa8, 0xd7, 0xa3, 0x29}, "AKDT": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x90, 0xd7, 0x9c, 0xd7, 0xa1, 0xd7, 0xa7, 0xd7, 0x94, 0x20, 0x28, 0xd7, 0xa7, 0xd7, 0x99, 0xd7, 0xa5, 0x29}}, } } // Locale returns the current translators string locale func (he *he) Locale() string { return he.locale } // PluralsCardinal returns the list of cardinal plural rules associated with 'he' func (he *he) PluralsCardinal() []locales.PluralRule { return he.pluralsCardinal } // PluralsOrdinal returns the list of ordinal plural rules associated with 'he' func (he *he) PluralsOrdinal() []locales.PluralRule { return he.pluralsOrdinal } // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'he' func (he *he) CardinalPluralRule(num float64, v uint64) locales.PluralRule { n := math.Abs(num) i := int64(n) nMod10 := math.Mod(n, 10) if i == 1 && v == 0 { return locales.PluralRuleOne } else if i == 2 && v == 0 { return locales.PluralRuleTwo } else if v == 0 && n < 0 && n > 10 && nMod10 == 0 { return locales.PluralRuleMany } return locales.PluralRuleOther } // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'he' func (he *he) OrdinalPluralRule(num float64, v uint64) locales.PluralRule { return locales.PluralRuleOther } // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'he' func (he *he) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule { start := he.CardinalPluralRule(num1, v1) end := he.CardinalPluralRule(num2, v2) if start == locales.PluralRuleOne && end == locales.PluralRuleTwo { return locales.PluralRuleOther } else if start == locales.PluralRuleOne && end == locales.PluralRuleMany { return locales.PluralRuleMany } else if start == locales.PluralRuleOne && end == locales.PluralRuleOther { return locales.PluralRuleOther } else if start == locales.PluralRuleTwo && end == locales.PluralRuleMany { return locales.PluralRuleOther } else if start == locales.PluralRuleTwo && end == locales.PluralRuleOther { return locales.PluralRuleOther } else if start == locales.PluralRuleMany && end == locales.PluralRuleMany { return locales.PluralRuleMany } else if start == locales.PluralRuleMany && end == locales.PluralRuleOther { return locales.PluralRuleMany } else if start == locales.PluralRuleOther && end == locales.PluralRuleOne { return locales.PluralRuleOther } else if start == locales.PluralRuleOther && end == locales.PluralRuleTwo { return locales.PluralRuleOther } else if start == locales.PluralRuleOther && end == locales.PluralRuleMany { return locales.PluralRuleMany } return locales.PluralRuleOther } // MonthAbbreviated returns the locales abbreviated month given the 'month' provided func (he *he) MonthAbbreviated(month time.Month) []byte { return he.monthsAbbreviated[month] } // MonthsAbbreviated returns the locales abbreviated months func (he *he) MonthsAbbreviated() [][]byte { return he.monthsAbbreviated[1:] } // MonthNarrow returns the locales narrow month given the 'month' provided func (he *he) MonthNarrow(month time.Month) []byte { return he.monthsNarrow[month] } // MonthsNarrow returns the locales narrow months func (he *he) MonthsNarrow() [][]byte { return he.monthsNarrow[1:] } // MonthWide returns the locales wide month given the 'month' provided func (he *he) MonthWide(month time.Month) []byte { return he.monthsWide[month] } // MonthsWide returns the locales wide months func (he *he) MonthsWide() [][]byte { return he.monthsWide[1:] } // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided func (he *he) WeekdayAbbreviated(weekday time.Weekday) []byte { return he.daysAbbreviated[weekday] } // WeekdaysAbbreviated returns the locales abbreviated weekdays func (he *he) WeekdaysAbbreviated() [][]byte { return he.daysAbbreviated } // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided func (he *he) WeekdayNarrow(weekday time.Weekday) []byte { return he.daysNarrow[weekday] } // WeekdaysNarrow returns the locales narrow weekdays func (he *he) WeekdaysNarrow() [][]byte { return he.daysNarrow } // WeekdayShort returns the locales short weekday given the 'weekday' provided func (he *he) WeekdayShort(weekday time.Weekday) []byte { return he.daysShort[weekday] } // WeekdaysShort returns the locales short weekdays func (he *he) WeekdaysShort() [][]byte { return he.daysShort } // WeekdayWide returns the locales wide weekday given the 'weekday' provided func (he *he) WeekdayWide(weekday time.Weekday) []byte { return he.daysWide[weekday] } // WeekdaysWide returns the locales wide weekdays func (he *he) WeekdaysWide() [][]byte { return he.daysWide } // FmtNumber returns 'num' with digits/precision of 'v' for 'he' 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 (he *he) FmtNumber(num float64, v uint64) []byte { s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64) l := len(s) + len(he.decimal) + len(he.group)*len(s[:len(s)-int(v)-1])/3 count := 0 inWhole := v == 0 b := make([]byte, 0, l) for i := len(s) - 1; i >= 0; i-- { if s[i] == '.' { b = append(b, he.decimal[0]) inWhole = true continue } if inWhole { if count == 3 { b = append(b, he.group[0]) count = 1 } else { count++ } } b = append(b, s[i]) } if num < 0 { for j := len(he.minus) - 1; j >= 0; j-- { b = append(b, he.minus[j]) } } // reverse for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 { b[i], b[j] = b[j], b[i] } return b } // FmtPercent returns 'num' with digits/precision of 'v' for 'he' 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 (he *he) FmtPercent(num float64, v uint64) []byte { s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64) l := len(s) + len(he.decimal) b := make([]byte, 0, l) for i := len(s) - 1; i >= 0; i-- { if s[i] == '.' { b = append(b, he.decimal[0]) continue } b = append(b, s[i]) } if num < 0 { for j := len(he.minus) - 1; j >= 0; j-- { b = append(b, he.minus[j]) } } // reverse for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 { b[i], b[j] = b[j], b[i] } b = append(b, he.percent...) return b } // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtCurrency(num float64, v uint64, currency currency.Type) []byte { s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64) symbol := he.currencies[currency] l := len(s) + len(he.decimal) + len(he.group)*len(s[:len(s)-int(v)-1])/3 count := 0 inWhole := v == 0 b := make([]byte, 0, l) for i := len(s) - 1; i >= 0; i-- { if s[i] == '.' { b = append(b, he.decimal[0]) inWhole = true continue } if inWhole { if count == 3 { b = append(b, he.group[0]) count = 1 } else { count++ } } b = append(b, s[i]) } if num < 0 { for j := len(he.minus) - 1; j >= 0; j-- { b = append(b, he.minus[j]) } } // reverse for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 { b[i], b[j] = b[j], b[i] } if int(v) < 2 { if v == 0 { b = append(b, he.decimal...) } for i := 0; i < 2-int(v); i++ { b = append(b, '0') } } b = append(b, he.currencyPositiveSuffix...) b = append(b, symbol...) return b } // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'he' // 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 (he *he) FmtAccounting(num float64, v uint64, currency currency.Type) []byte { s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64) symbol := he.currencies[currency] l := len(s) + len(he.decimal) + len(he.group)*len(s[:len(s)-int(v)-1])/3 count := 0 inWhole := v == 0 b := make([]byte, 0, l) for i := len(s) - 1; i >= 0; i-- { if s[i] == '.' { b = append(b, he.decimal[0]) inWhole = true continue } if inWhole { if count == 3 { b = append(b, he.group[0]) count = 1 } else { count++ } } b = append(b, s[i]) } if num < 0 { for j := len(he.minus) - 1; j >= 0; j-- { b = append(b, he.minus[j]) } } // reverse for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 { b[i], b[j] = b[j], b[i] } if int(v) < 2 { if v == 0 { b = append(b, he.decimal...) } for i := 0; i < 2-int(v); i++ { b = append(b, '0') } } if num < 0 { b = append(b, he.currencyNegativeSuffix...) b = append(b, symbol...) } else { b = append(b, he.currencyPositiveSuffix...) b = append(b, symbol...) } return b } // FmtDateShort returns the short date representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtDateShort(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Day()), 10) b = append(b, []byte{0x2e}...) b = strconv.AppendInt(b, int64(t.Month()), 10) b = append(b, []byte{0x2e}...) b = strconv.AppendInt(b, int64(t.Year()), 10) return b } // FmtDateMedium returns the medium date representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtDateMedium(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Day()), 10) b = append(b, []byte{0x20, 0xd7, 0x91}...) b = append(b, he.monthsAbbreviated[t.Month()]...) b = append(b, []byte{0x20}...) b = strconv.AppendInt(b, int64(t.Year()), 10) return b } // FmtDateLong returns the long date representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtDateLong(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Day()), 10) b = append(b, []byte{0x20, 0xd7, 0x91}...) b = append(b, he.monthsWide[t.Month()]...) b = append(b, []byte{0x20}...) b = strconv.AppendInt(b, int64(t.Year()), 10) return b } // FmtDateFull returns the full date representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtDateFull(t time.Time) []byte { b := make([]byte, 0, 32) b = append(b, he.daysWide[t.Weekday()]...) b = append(b, []byte{0x2c, 0x20}...) b = strconv.AppendInt(b, int64(t.Day()), 10) b = append(b, []byte{0x20, 0xd7, 0x91}...) b = append(b, he.monthsWide[t.Month()]...) b = append(b, []byte{0x20}...) b = strconv.AppendInt(b, int64(t.Year()), 10) return b } // FmtTimeShort returns the short time representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtTimeShort(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, he.timeSeparator...) if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) return b } // FmtTimeMedium returns the medium time representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtTimeMedium(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, he.timeSeparator...) if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, he.timeSeparator...) if t.Second() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Second()), 10) return b } // FmtTimeLong returns the long time representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtTimeLong(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, he.timeSeparator...) if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, he.timeSeparator...) if t.Second() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Second()), 10) b = append(b, []byte{0x20}...) tz, _ := t.Zone() b = append(b, tz...) return b } // FmtTimeFull returns the full time representation of 't' for 'he' // returned as a []byte just in case the caller wishes to add more and can help // avoid allocations; otherwise just cast as string. func (he *he) FmtTimeFull(t time.Time) []byte { b := make([]byte, 0, 32) b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, he.timeSeparator...) if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, he.timeSeparator...) if t.Second() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Second()), 10) b = append(b, []byte{0x20}...) tz, _ := t.Zone() if btz, ok := he.timezones[tz]; ok { b = append(b, btz...) } else { b = append(b, tz...) } return b }