8 "github.com/go-playground/locales"
9 "github.com/go-playground/locales/currency"
14 pluralsCardinal []locales.PluralRule
15 pluralsOrdinal []locales.PluralRule
16 pluralsRange []locales.PluralRule
24 currencies []string // idx = enum of currency code
25 currencyNegativePrefix string
26 currencyNegativeSuffix string
27 monthsAbbreviated []string
30 daysAbbreviated []string
34 periodsAbbreviated []string
35 periodsNarrow []string
38 erasAbbreviated []string
41 timezones map[string]string
44 // New returns a new instance of translator for the 'te_IN' locale
45 func New() locales.Translator {
48 pluralsCardinal: []locales.PluralRule{2, 6},
49 pluralsOrdinal: []locales.PluralRule{6},
50 pluralsRange: []locales.PluralRule{2, 6},
58 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", "BYN", "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"},
59 currencyNegativePrefix: "(",
60 currencyNegativeSuffix: ")",
61 monthsAbbreviated: []string{"", "జన", "ఫిబ్ర", "మార్చి", "ఏప్రి", "మే", "జూన్", "జులై", "ఆగ", "సెప్టెం", "అక్టో", "నవం", "డిసెం"},
62 monthsNarrow: []string{"", "జ", "ఫి", "మా", "ఏ", "మే", "జూ", "జు", "ఆ", "సె", "అ", "న", "డి"},
63 monthsWide: []string{"", "జనవరి", "ఫిబ్రవరి", "మార్చి", "ఏప్రిల్", "మే", "జూన్", "జులై", "ఆగస్టు", "సెప్టెంబర్", "అక్టోబర్", "నవంబర్", "డిసెంబర్"},
64 daysAbbreviated: []string{"ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"},
65 daysNarrow: []string{"ఆ", "సో", "మ", "బు", "గు", "శు", "శ"},
66 daysShort: []string{"ఆది", "సోమ", "మం", "బుధ", "గురు", "శుక్ర", "శని"},
67 daysWide: []string{"ఆదివారం", "సోమవారం", "మంగళవారం", "బుధవారం", "గురువారం", "శుక్రవారం", "శనివారం"},
68 periodsAbbreviated: []string{"AM", "PM"},
69 periodsNarrow: []string{"ఉ", "సా"},
70 periodsWide: []string{"AM", "PM"},
71 erasAbbreviated: []string{"క్రీపూ", "క్రీశ"},
72 erasNarrow: []string{"", ""},
73 erasWide: []string{"క్రీస్తు పూర్వం", "క్రీస్తు శకం"},
74 timezones: map[string]string{"HEOG": "పశ్చిమ గ్రీన్\u200cల్యాండ్ వేసవి సమయం", "SGT": "సింగపూర్ ప్రామాణిక సమయం", "MDT": "మకావ్ వేసవి సమయం", "SRT": "సూరినామ్ సమయం", "OESZ": "తూర్పు యూరోపియన్ వేసవి సమయం", "WART": "పశ్చిమ అర్జెంటీనా ప్రామాణిక సమయం", "HEEG": "తూర్పు గ్రీన్\u200cల్యాండ్ వేసవి సమయం", "HADT": "హవాయ్-అల్యూషియన్ పగటి వెలుతురు సమయం", "JDT": "జపాన్ పగటి వెలుతురు సమయం", "AKDT": "అలాస్కా పగటి సమయం", "HNCU": "క్యూబా ప్రామాణిక సమయం", "BT": "భూటాన్ సమయం", "WAST": "పశ్చిమ ఆఫ్రికా వేసవి సమయం", "PST": "పసిఫిక్ ప్రామాణిక సమయం", "PDT": "పసిఫిక్ పగటి సమయం", "AEDT": "తూర్పు ఆస్ట్రేలియా పగటి సమయం", "COST": "కొలంబియా వేసవి సమయం", "AKST": "అలాస్కా ప్రామాణిక సమయం", "WEZ": "పశ్చిమ యూరోపియన్ ప్రామాణిక సమయం", "WIB": "పశ్చిమ ఇండోనేషియా సమయం", "TMT": "తుర్క్మెనిస్థాన్ ప్రామాణిక సమయం", "VET": "వెనిజులా సమయం", "AST": "అట్లాంటిక్ ప్రామాణిక సమయం", "EAT": "తూర్పు ఆఫ్రికా సమయం", "HNT": "న్యూఫౌండ్ ల్యాండ్ ప్రామాణిక సమయం", "GMT": "గ్రీన్\u200cవిచ్ సగటు సమయం", "NZST": "న్యూజిల్యాండ్ ప్రామాణిక సమయం", "ART": "అర్జెంటీనా ప్రామాణిక సమయం", "HNOG": "పశ్చిమ గ్రీన్\u200cల్యాండ్ ప్రామాణిక సమయం", "COT": "కొలంబియా ప్రామాణిక సమయం", "EST": "తూర్పు ప్రామాణిక సమయం", "UYST": "ఉరుగ్వే వేసవి సమయం", "WAT": "పశ్చిమ ఆఫ్రికా ప్రామాణిక సమయం", "ACWDT": "మధ్యమ ఆస్ట్రేలియన్ పశ్చిమ పగటి సమయం", "HAST": "హవాయ్-అల్యూషియన్ ప్రామాణిక సమయం", "NZDT": "న్యూజిల్యాండ్ పగటి వెలుతురు సమయం", "LHST": "లార్డ్ హోవ్ ప్రామాణిక సమయం", "HAT": "న్యూఫౌండ్ ల్యాండ్ పగటి సమయం", "HKST": "హాంకాంగ్ వేసవి సమయం", "EDT": "తూర్పు పగటి సమయం", "GYT": "గయానా సమయం", "ECT": "ఈక్వడార్ సమయం", "ChST": "చామర్రో ప్రామాణిక సమయం", "CHADT": "చాథమ్ పగటి వెలుతురు సమయం", "HECU": "క్యూబా పగటి సమయం", "MST": "మకావ్ ప్రామాణిక సమయం", "WARST": "పశ్చిమ అర్జెంటీనా వేసవి సమయం", "IST": "భారతదేశ సమయం", "CAT": "సెంట్రల్ ఆఫ్రికా సమయం", "MESZ": "సెంట్రల్ యూరోపియన్ వేసవి సమయం", "WITA": "సెంట్రల్ ఇండోనేషియా సమయం", "HKT": "హాంకాంగ్ ప్రామాణిక సమయం", "CLT": "చిలీ ప్రామాణిక సమయం", "GFT": "ఫ్రెంచ్ గయానా సమయం", "ACDT": "ఆస్ట్రేలియా మధ్యమ పగటి సమయం", "CDT": "మధ్యమ పగటి సమయం", "MEZ": "సెంట్రల్ యూరోపియన్ ప్రామాణిక సమయం", "ARST": "ఆర్జెంటీనా వేసవి సమయం", "CST": "మధ్యమ ప్రామాణిక సమయం", "TMST": "తుర్క్మెనిస్థాన్ వేసవి సమయం", "JST": "జపాన్ ప్రామాణిక సమయం", "AEST": "తూర్పు ఆస్ట్రేలియా ప్రామాణిక సమయం", "CLST": "చిలీ వేసవి సమయం", "ACST": "ఆస్ట్రేలియా మధ్యమ ప్రామాణిక సమయం", "∅∅∅": "అమెజాన్ వేసవి సమయం", "WESZ": "పశ్చిమ యూరోపియన్ వేసవి సమయం", "AWDT": "పశ్చిమ ఆస్ట్రేలియన్ పగటి సమయం", "WIT": "తూర్పు ఇండోనేషియా సమయం", "HENOMX": "వాయవ్య మెక్సికో పగటి సమయం", "ADT": "అట్లాంటిక్ పగటి సమయం", "SAST": "దక్షిణ ఆఫ్రికా ప్రామాణిక సమయం", "HNEG": "తూర్పు గ్రీన్\u200cల్యాండ్ ప్రామాణిక సమయం", "HNPMX": "మెక్సికన్ పసిఫిక్ ప్రామాణిక సమయం", "HEPMX": "మెక్సికన్ పసిఫిక్ పగటి సమయం", "BOT": "బొలీవియా సమయం", "AWST": "పశ్చిమ ఆస్ట్రేలియన్ ప్రామాణిక సమయం", "ACWST": "మధ్యమ ఆస్ట్రేలియా పశ్చిమ ప్రామాణిక సమయం", "OEZ": "తూర్పు యూరోపియన్ ప్రామాణిక సమయం", "CHAST": "చాథమ్ ప్రామాణిక సమయం", "MYT": "మలేషియా సమయం", "LHDT": "లార్డ్ హోవ్ పగటి సమయం", "HNPM": "సెయింట్ పియెర్ మరియు మిక్వెలాన్ ప్రామాణిక సమయం", "HEPM": "సెయింట్ పియర్ మరియు మిక్వెలాన్ పగటి సమయం", "UYT": "ఉరుగ్వే ప్రామాణిక సమయం", "HNNOMX": "వాయవ్య మెక్సికో ప్రామాణిక సమయం"},
78 // Locale returns the current translators string locale
79 func (te *te_IN) Locale() string {
83 // PluralsCardinal returns the list of cardinal plural rules associated with 'te_IN'
84 func (te *te_IN) PluralsCardinal() []locales.PluralRule {
85 return te.pluralsCardinal
88 // PluralsOrdinal returns the list of ordinal plural rules associated with 'te_IN'
89 func (te *te_IN) PluralsOrdinal() []locales.PluralRule {
90 return te.pluralsOrdinal
93 // PluralsRange returns the list of range plural rules associated with 'te_IN'
94 func (te *te_IN) PluralsRange() []locales.PluralRule {
95 return te.pluralsRange
98 // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'te_IN'
99 func (te *te_IN) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
104 return locales.PluralRuleOne
107 return locales.PluralRuleOther
110 // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'te_IN'
111 func (te *te_IN) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
112 return locales.PluralRuleOther
115 // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'te_IN'
116 func (te *te_IN) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
118 start := te.CardinalPluralRule(num1, v1)
119 end := te.CardinalPluralRule(num2, v2)
121 if start == locales.PluralRuleOne && end == locales.PluralRuleOther {
122 return locales.PluralRuleOther
123 } else if start == locales.PluralRuleOther && end == locales.PluralRuleOne {
124 return locales.PluralRuleOne
127 return locales.PluralRuleOther
131 // MonthAbbreviated returns the locales abbreviated month given the 'month' provided
132 func (te *te_IN) MonthAbbreviated(month time.Month) string {
133 return te.monthsAbbreviated[month]
136 // MonthsAbbreviated returns the locales abbreviated months
137 func (te *te_IN) MonthsAbbreviated() []string {
138 return te.monthsAbbreviated[1:]
141 // MonthNarrow returns the locales narrow month given the 'month' provided
142 func (te *te_IN) MonthNarrow(month time.Month) string {
143 return te.monthsNarrow[month]
146 // MonthsNarrow returns the locales narrow months
147 func (te *te_IN) MonthsNarrow() []string {
148 return te.monthsNarrow[1:]
151 // MonthWide returns the locales wide month given the 'month' provided
152 func (te *te_IN) MonthWide(month time.Month) string {
153 return te.monthsWide[month]
156 // MonthsWide returns the locales wide months
157 func (te *te_IN) MonthsWide() []string {
158 return te.monthsWide[1:]
161 // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
162 func (te *te_IN) WeekdayAbbreviated(weekday time.Weekday) string {
163 return te.daysAbbreviated[weekday]
166 // WeekdaysAbbreviated returns the locales abbreviated weekdays
167 func (te *te_IN) WeekdaysAbbreviated() []string {
168 return te.daysAbbreviated
171 // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
172 func (te *te_IN) WeekdayNarrow(weekday time.Weekday) string {
173 return te.daysNarrow[weekday]
176 // WeekdaysNarrow returns the locales narrow weekdays
177 func (te *te_IN) WeekdaysNarrow() []string {
181 // WeekdayShort returns the locales short weekday given the 'weekday' provided
182 func (te *te_IN) WeekdayShort(weekday time.Weekday) string {
183 return te.daysShort[weekday]
186 // WeekdaysShort returns the locales short weekdays
187 func (te *te_IN) WeekdaysShort() []string {
191 // WeekdayWide returns the locales wide weekday given the 'weekday' provided
192 func (te *te_IN) WeekdayWide(weekday time.Weekday) string {
193 return te.daysWide[weekday]
196 // WeekdaysWide returns the locales wide weekdays
197 func (te *te_IN) WeekdaysWide() []string {
201 // Decimal returns the decimal point of number
202 func (te *te_IN) Decimal() string {
206 // Group returns the group of number
207 func (te *te_IN) Group() string {
211 // Group returns the minus sign of number
212 func (te *te_IN) Minus() string {
216 // FmtNumber returns 'num' with digits/precision of 'v' for 'te_IN' and handles both Whole and Real numbers based on 'v'
217 func (te *te_IN) FmtNumber(num float64, v uint64) string {
219 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
220 l := len(s) + 2 + 1*len(s[:len(s)-int(v)-1])/3
226 b := make([]byte, 0, l)
228 for i := len(s) - 1; i >= 0; i-- {
231 b = append(b, te.decimal[0])
238 if count == groupThreshold {
239 b = append(b, te.group[0])
255 b = append(b, te.minus[0])
259 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
260 b[i], b[j] = b[j], b[i]
266 // FmtPercent returns 'num' with digits/precision of 'v' for 'te_IN' and handles both Whole and Real numbers based on 'v'
267 // NOTE: 'num' passed into FmtPercent is assumed to be in percent already
268 func (te *te_IN) FmtPercent(num float64, v uint64) string {
269 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
271 b := make([]byte, 0, l)
273 for i := len(s) - 1; i >= 0; i-- {
276 b = append(b, te.decimal[0])
284 b = append(b, te.minus[0])
288 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
289 b[i], b[j] = b[j], b[i]
292 b = append(b, te.percent...)
297 // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'te_IN'
298 func (te *te_IN) FmtCurrency(num float64, v uint64, currency currency.Type) string {
300 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
301 symbol := te.currencies[currency]
302 l := len(s) + len(symbol) + 2 + 1*len(s[:len(s)-int(v)-1])/3
308 b := make([]byte, 0, l)
310 for i := len(s) - 1; i >= 0; i-- {
313 b = append(b, te.decimal[0])
320 if count == groupThreshold {
321 b = append(b, te.group[0])
336 for j := len(symbol) - 1; j >= 0; j-- {
337 b = append(b, symbol[j])
341 b = append(b, te.minus[0])
345 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
346 b[i], b[j] = b[j], b[i]
352 b = append(b, te.decimal...)
355 for i := 0; i < 2-int(v); i++ {
363 // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'te_IN'
364 // in accounting notation.
365 func (te *te_IN) FmtAccounting(num float64, v uint64, currency currency.Type) string {
367 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
368 symbol := te.currencies[currency]
369 l := len(s) + len(symbol) + 4 + 1*len(s[:len(s)-int(v)-1])/3
375 b := make([]byte, 0, l)
377 for i := len(s) - 1; i >= 0; i-- {
380 b = append(b, te.decimal[0])
387 if count == groupThreshold {
388 b = append(b, te.group[0])
405 for j := len(symbol) - 1; j >= 0; j-- {
406 b = append(b, symbol[j])
409 b = append(b, te.currencyNegativePrefix[0])
413 for j := len(symbol) - 1; j >= 0; j-- {
414 b = append(b, symbol[j])
420 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
421 b[i], b[j] = b[j], b[i]
427 b = append(b, te.decimal...)
430 for i := 0; i < 2-int(v); i++ {
436 b = append(b, te.currencyNegativeSuffix...)
442 // FmtDateShort returns the short date representation of 't' for 'te_IN'
443 func (te *te_IN) FmtDateShort(t time.Time) string {
445 b := make([]byte, 0, 32)
451 b = strconv.AppendInt(b, int64(t.Day()), 10)
452 b = append(b, []byte{0x2d}...)
458 b = strconv.AppendInt(b, int64(t.Month()), 10)
460 b = append(b, []byte{0x2d}...)
463 b = append(b, strconv.Itoa(t.Year())[2:]...)
465 b = append(b, strconv.Itoa(t.Year())[1:]...)
471 // FmtDateMedium returns the medium date representation of 't' for 'te_IN'
472 func (te *te_IN) FmtDateMedium(t time.Time) string {
474 b := make([]byte, 0, 32)
476 b = strconv.AppendInt(b, int64(t.Day()), 10)
477 b = append(b, []byte{0x20}...)
478 b = append(b, te.monthsAbbreviated[t.Month()]...)
479 b = append(b, []byte{0x2c, 0x20}...)
482 b = strconv.AppendInt(b, int64(t.Year()), 10)
484 b = strconv.AppendInt(b, int64(-t.Year()), 10)
490 // FmtDateLong returns the long date representation of 't' for 'te_IN'
491 func (te *te_IN) FmtDateLong(t time.Time) string {
493 b := make([]byte, 0, 32)
495 b = strconv.AppendInt(b, int64(t.Day()), 10)
496 b = append(b, []byte{0x20}...)
497 b = append(b, te.monthsWide[t.Month()]...)
498 b = append(b, []byte{0x2c, 0x20}...)
501 b = strconv.AppendInt(b, int64(t.Year()), 10)
503 b = strconv.AppendInt(b, int64(-t.Year()), 10)
509 // FmtDateFull returns the full date representation of 't' for 'te_IN'
510 func (te *te_IN) FmtDateFull(t time.Time) string {
512 b := make([]byte, 0, 32)
514 b = strconv.AppendInt(b, int64(t.Day()), 10)
515 b = append(b, []byte{0x2c, 0x20}...)
516 b = append(b, te.monthsWide[t.Month()]...)
517 b = append(b, []byte{0x20}...)
520 b = strconv.AppendInt(b, int64(t.Year()), 10)
522 b = strconv.AppendInt(b, int64(-t.Year()), 10)
525 b = append(b, []byte{0x2c, 0x20}...)
526 b = append(b, te.daysWide[t.Weekday()]...)
531 // FmtTimeShort returns the short time representation of 't' for 'te_IN'
532 func (te *te_IN) FmtTimeShort(t time.Time) string {
534 b := make([]byte, 0, 32)
542 b = strconv.AppendInt(b, int64(h), 10)
543 b = append(b, te.timeSeparator...)
549 b = strconv.AppendInt(b, int64(t.Minute()), 10)
550 b = append(b, []byte{0x20}...)
553 b = append(b, te.periodsAbbreviated[0]...)
555 b = append(b, te.periodsAbbreviated[1]...)
561 // FmtTimeMedium returns the medium time representation of 't' for 'te_IN'
562 func (te *te_IN) FmtTimeMedium(t time.Time) string {
564 b := make([]byte, 0, 32)
572 b = strconv.AppendInt(b, int64(h), 10)
573 b = append(b, te.timeSeparator...)
579 b = strconv.AppendInt(b, int64(t.Minute()), 10)
580 b = append(b, te.timeSeparator...)
586 b = strconv.AppendInt(b, int64(t.Second()), 10)
587 b = append(b, []byte{0x20}...)
590 b = append(b, te.periodsAbbreviated[0]...)
592 b = append(b, te.periodsAbbreviated[1]...)
598 // FmtTimeLong returns the long time representation of 't' for 'te_IN'
599 func (te *te_IN) FmtTimeLong(t time.Time) string {
601 b := make([]byte, 0, 32)
609 b = strconv.AppendInt(b, int64(h), 10)
610 b = append(b, te.timeSeparator...)
616 b = strconv.AppendInt(b, int64(t.Minute()), 10)
617 b = append(b, te.timeSeparator...)
623 b = strconv.AppendInt(b, int64(t.Second()), 10)
624 b = append(b, []byte{0x20}...)
627 b = append(b, te.periodsAbbreviated[0]...)
629 b = append(b, te.periodsAbbreviated[1]...)
632 b = append(b, []byte{0x20}...)
640 // FmtTimeFull returns the full time representation of 't' for 'te_IN'
641 func (te *te_IN) FmtTimeFull(t time.Time) string {
643 b := make([]byte, 0, 32)
651 b = strconv.AppendInt(b, int64(h), 10)
652 b = append(b, te.timeSeparator...)
658 b = strconv.AppendInt(b, int64(t.Minute()), 10)
659 b = append(b, te.timeSeparator...)
665 b = strconv.AppendInt(b, int64(t.Second()), 10)
666 b = append(b, []byte{0x20}...)
669 b = append(b, te.periodsAbbreviated[0]...)
671 b = append(b, te.periodsAbbreviated[1]...)
674 b = append(b, []byte{0x20}...)
678 if btz, ok := te.timezones[tz]; ok {
679 b = append(b, btz...)