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 currencyPositivePrefix string
26 currencyNegativePrefix 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 'ur_IN' locale
45 func New() locales.Translator {
48 pluralsCardinal: []locales.PluralRule{2, 6},
49 pluralsOrdinal: []locales.PluralRule{6},
50 pluralsRange: []locales.PluralRule{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 currencyPositivePrefix: " ",
60 currencyNegativePrefix: " ",
61 monthsAbbreviated: []string{"", "جنوری", "فروری", "مارچ", "اپریل", "مئی", "جون", "جولائی", "اگست", "ستمبر", "اکتوبر", "نومبر", "دسمبر"},
62 monthsNarrow: []string{"", "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"},
63 monthsWide: []string{"", "جنوری", "فروری", "مارچ", "اپریل", "مئی", "جون", "جولائی", "اگست", "ستمبر", "اکتوبر", "نومبر", "دسمبر"},
64 daysAbbreviated: []string{"اتوار", "پیر", "منگل", "بدھ", "جمعرات", "جمعہ", "ہفتہ"},
65 daysNarrow: []string{"S", "M", "T", "W", "T", "F", "S"},
66 daysShort: []string{"اتوار", "پیر", "منگل", "بدھ", "جمعرات", "جمعہ", "ہفتہ"},
67 daysWide: []string{"اتوار", "پیر", "منگل", "بدھ", "جمعرات", "جمعہ", "ہفتہ"},
68 periodsAbbreviated: []string{"AM", "PM"},
69 periodsNarrow: []string{"a", "p"},
70 periodsWide: []string{"AM", "PM"},
71 erasAbbreviated: []string{"قبل مسیح", "عیسوی"},
72 erasNarrow: []string{"", ""},
73 erasWide: []string{"قبل مسیح", "عیسوی"},
74 timezones: map[string]string{"ACWST": "آسٹریلین سنٹرل ویسٹرن اسٹینڈرڈ ٹائم", "WART": "مغربی ارجنٹینا سٹینڈرڈ ٹائم", "EDT": "ایسٹرن ڈے لائٹ ٹائم", "CST": "سنٹرل اسٹینڈرڈ ٹائم", "WESZ": "مغربی یورپ کا موسم گرما کا وقت", "LHST": "لارڈ ہووے اسٹینڈرڈ ٹائم", "IST": "انڈیا سٹینڈرڈ ٹائم", "HAT": "نیو فاؤنڈ لینڈ ڈے لائٹ ٹائم", "ACST": "آسٹریلین سنٹرل اسٹینڈرڈ ٹائم", "∅∅∅": "ایمیزون سمر ٹائم", "WEZ": "مغربی یورپ کا معیاری وقت", "HEPMX": "میکسیکن پیسفک ڈے لائٹ ٹائم", "PST": "پیسفک اسٹینڈرڈ ٹائم", "HNPM": "سینٹ پیئر اور مکلیئون اسٹینڈرڈ ٹائم", "HEPM": "سینٹ پیئر اور مکلیئون ڈے لائٹ ٹائم", "CLT": "چلی سٹینڈرڈ ٹائم", "AKST": "الاسکا اسٹینڈرڈ ٹائم", "MYT": "ملیشیا ٹائم", "WIT": "مشرقی انڈونیشیا ٹائم", "NZST": "نیوزی لینڈ سٹینڈرڈ ٹائم", "TMT": "ترکمانستان سٹینڈرڈ ٹائم", "WARST": "مغربی ارجنٹینا سمر ٹائم", "VET": "وینزوئیلا ٹائم", "AWST": "آسٹریلیا ویسٹرن اسٹینڈرڈ ٹائم", "AWDT": "آسٹریلین ویسٹرن ڈے لائٹ ٹائم", "CHADT": "چیتھم ڈے لائٹ ٹائم", "MESZ": "وسطی یورپ کا موسم گرما کا وقت", "COST": "کولمبیا سمر ٹائم", "EST": "ایسٹرن اسٹینڈرڈ ٹائم", "ACDT": "آسٹریلین سنٹرل ڈے لائٹ ٹائم", "MDT": "MDT", "HAST": "ہوائی الیوٹیئن اسٹینڈرڈ ٹائم", "HADT": "ہوائی الیوٹیئن ڈے لائٹ ٹائم", "HNT": "نیو فاؤنڈ لینڈ اسٹینڈرڈ ٹائم", "HKST": "ہانگ کانگ سمر ٹائم", "HENOMX": "شمال مغربی میکسیکو ڈے لائٹ ٹائم", "NZDT": "نیوزی لینڈ ڈے لائٹ ٹائم", "WITA": "وسطی انڈونیشیا ٹائم", "HEOG": "مغربی گرین لینڈ کا موسم گرما کا وقت", "CHAST": "چیتھم اسٹینڈرڈ ٹائم", "JST": "جاپان سٹینڈرڈ ٹائم", "JDT": "جاپان ڈے لائٹ ٹائم", "AKDT": "الاسکا ڈے لائٹ ٹائم", "SRT": "سورینام ٹائم", "BOT": "بولیویا ٹائم", "CDT": "سنٹرل ڈے لائٹ ٹائم", "MST": "MST", "UYST": "یوروگوئے سمر ٹائم", "HNEG": "مشرقی گرین لینڈ اسٹینڈرڈ ٹائم", "BT": "بھوٹان ٹائم", "CLST": "چلی سمر ٹائم", "COT": "کولمبیا سٹینڈرڈ ٹائم", "GFT": "فرینچ گیانا ٹائم", "LHDT": "لارڈ ہووے ڈے لائٹ ٹائم", "AEDT": "آسٹریلین ایسٹرن ڈے لائٹ ٹائم", "SAST": "جنوبی افریقہ سٹینڈرڈ ٹائم", "CAT": "وسطی افریقہ ٹائم", "MEZ": "وسطی یورپ کا معیاری وقت", "HEEG": "مشرقی گرین لینڈ کا موسم گرما کا وقت", "PDT": "پیسفک ڈے لائٹ ٹائم", "AST": "اٹلانٹک اسٹینڈرڈ ٹائم", "ARST": "ارجنٹینا سمر ٹائم", "SGT": "سنگاپور سٹینڈرڈ ٹائم", "GMT": "گرین وچ مین ٹائم", "WIB": "مغربی انڈونیشیا ٹائم", "ACWDT": "آسٹریلین سنٹرل ویسٹرن ڈے لائٹ ٹائم", "ADT": "اٹلانٹک ڈے لائٹ ٹائم", "WAT": "مغربی افریقہ سٹینڈرڈ ٹائم", "HNCU": "کیوبا اسٹینڈرڈ ٹائم", "EAT": "مشرقی افریقہ ٹائم", "WAST": "مغربی افریقہ سمر ٹائم", "GYT": "گیانا ٹائم", "HNPMX": "میکسیکن پیسفک اسٹینڈرڈ ٹائم", "HECU": "کیوبا ڈے لائٹ ٹائم", "TMST": "ترکمانستان سمر ٹائم", "HNNOMX": "شمال مغربی میکسیکو اسٹینڈرڈ ٹائم", "AEST": "آسٹریلین ایسٹرن اسٹینڈرڈ ٹائم", "HNOG": "مغربی گرین لینڈ اسٹینڈرڈ ٹائم", "OEZ": "مشرقی یورپ کا معیاری وقت", "ECT": "ایکواڈور ٹائم", "ChST": "چامورو سٹینڈرڈ ٹائم", "UYT": "یوروگوئے سٹینڈرڈ ٹائم", "OESZ": "مشرقی یورپ کا موسم گرما کا وقت", "ART": "ارجنٹینا سٹینڈرڈ ٹائم", "HKT": "ہانگ کانگ سٹینڈرڈ ٹائم"},
78 // Locale returns the current translators string locale
79 func (ur *ur_IN) Locale() string {
83 // PluralsCardinal returns the list of cardinal plural rules associated with 'ur_IN'
84 func (ur *ur_IN) PluralsCardinal() []locales.PluralRule {
85 return ur.pluralsCardinal
88 // PluralsOrdinal returns the list of ordinal plural rules associated with 'ur_IN'
89 func (ur *ur_IN) PluralsOrdinal() []locales.PluralRule {
90 return ur.pluralsOrdinal
93 // PluralsRange returns the list of range plural rules associated with 'ur_IN'
94 func (ur *ur_IN) PluralsRange() []locales.PluralRule {
95 return ur.pluralsRange
98 // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'ur_IN'
99 func (ur *ur_IN) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
104 if i == 1 && v == 0 {
105 return locales.PluralRuleOne
108 return locales.PluralRuleOther
111 // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'ur_IN'
112 func (ur *ur_IN) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
113 return locales.PluralRuleOther
116 // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'ur_IN'
117 func (ur *ur_IN) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
118 return locales.PluralRuleOther
121 // MonthAbbreviated returns the locales abbreviated month given the 'month' provided
122 func (ur *ur_IN) MonthAbbreviated(month time.Month) string {
123 return ur.monthsAbbreviated[month]
126 // MonthsAbbreviated returns the locales abbreviated months
127 func (ur *ur_IN) MonthsAbbreviated() []string {
128 return ur.monthsAbbreviated[1:]
131 // MonthNarrow returns the locales narrow month given the 'month' provided
132 func (ur *ur_IN) MonthNarrow(month time.Month) string {
133 return ur.monthsNarrow[month]
136 // MonthsNarrow returns the locales narrow months
137 func (ur *ur_IN) MonthsNarrow() []string {
138 return ur.monthsNarrow[1:]
141 // MonthWide returns the locales wide month given the 'month' provided
142 func (ur *ur_IN) MonthWide(month time.Month) string {
143 return ur.monthsWide[month]
146 // MonthsWide returns the locales wide months
147 func (ur *ur_IN) MonthsWide() []string {
148 return ur.monthsWide[1:]
151 // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
152 func (ur *ur_IN) WeekdayAbbreviated(weekday time.Weekday) string {
153 return ur.daysAbbreviated[weekday]
156 // WeekdaysAbbreviated returns the locales abbreviated weekdays
157 func (ur *ur_IN) WeekdaysAbbreviated() []string {
158 return ur.daysAbbreviated
161 // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
162 func (ur *ur_IN) WeekdayNarrow(weekday time.Weekday) string {
163 return ur.daysNarrow[weekday]
166 // WeekdaysNarrow returns the locales narrow weekdays
167 func (ur *ur_IN) WeekdaysNarrow() []string {
171 // WeekdayShort returns the locales short weekday given the 'weekday' provided
172 func (ur *ur_IN) WeekdayShort(weekday time.Weekday) string {
173 return ur.daysShort[weekday]
176 // WeekdaysShort returns the locales short weekdays
177 func (ur *ur_IN) WeekdaysShort() []string {
181 // WeekdayWide returns the locales wide weekday given the 'weekday' provided
182 func (ur *ur_IN) WeekdayWide(weekday time.Weekday) string {
183 return ur.daysWide[weekday]
186 // WeekdaysWide returns the locales wide weekdays
187 func (ur *ur_IN) WeekdaysWide() []string {
191 // Decimal returns the decimal point of number
192 func (ur *ur_IN) Decimal() string {
196 // Group returns the group of number
197 func (ur *ur_IN) Group() string {
201 // Group returns the minus sign of number
202 func (ur *ur_IN) Minus() string {
206 // FmtNumber returns 'num' with digits/precision of 'v' for 'ur_IN' and handles both Whole and Real numbers based on 'v'
207 func (ur *ur_IN) FmtNumber(num float64, v uint64) string {
209 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
210 l := len(s) + 5 + 1*len(s[:len(s)-int(v)-1])/3
213 b := make([]byte, 0, l)
215 for i := len(s) - 1; i >= 0; i-- {
218 b = append(b, ur.decimal[0])
225 b = append(b, ur.group[0])
236 for j := len(ur.minus) - 1; j >= 0; j-- {
237 b = append(b, ur.minus[j])
242 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
243 b[i], b[j] = b[j], b[i]
249 // FmtPercent returns 'num' with digits/precision of 'v' for 'ur_IN' and handles both Whole and Real numbers based on 'v'
250 // NOTE: 'num' passed into FmtPercent is assumed to be in percent already
251 func (ur *ur_IN) FmtPercent(num float64, v uint64) string {
252 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
254 b := make([]byte, 0, l)
256 for i := len(s) - 1; i >= 0; i-- {
259 b = append(b, ur.decimal[0])
267 for j := len(ur.minus) - 1; j >= 0; j-- {
268 b = append(b, ur.minus[j])
273 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
274 b[i], b[j] = b[j], b[i]
277 b = append(b, ur.percent...)
282 // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'ur_IN'
283 func (ur *ur_IN) FmtCurrency(num float64, v uint64, currency currency.Type) string {
285 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
286 symbol := ur.currencies[currency]
287 l := len(s) + len(symbol) + 7 + 1*len(s[:len(s)-int(v)-1])/3
293 b := make([]byte, 0, l)
295 for i := len(s) - 1; i >= 0; i-- {
298 b = append(b, ur.decimal[0])
305 if count == groupThreshold {
306 b = append(b, ur.group[0])
321 for j := len(symbol) - 1; j >= 0; j-- {
322 b = append(b, symbol[j])
325 for j := len(ur.currencyPositivePrefix) - 1; j >= 0; j-- {
326 b = append(b, ur.currencyPositivePrefix[j])
330 for j := len(ur.minus) - 1; j >= 0; j-- {
331 b = append(b, ur.minus[j])
336 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
337 b[i], b[j] = b[j], b[i]
343 b = append(b, ur.decimal...)
346 for i := 0; i < 2-int(v); i++ {
354 // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'ur_IN'
355 // in accounting notation.
356 func (ur *ur_IN) FmtAccounting(num float64, v uint64, currency currency.Type) string {
358 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
359 symbol := ur.currencies[currency]
360 l := len(s) + len(symbol) + 7 + 1*len(s[:len(s)-int(v)-1])/3
366 b := make([]byte, 0, l)
368 for i := len(s) - 1; i >= 0; i-- {
371 b = append(b, ur.decimal[0])
378 if count == groupThreshold {
379 b = append(b, ur.group[0])
396 for j := len(symbol) - 1; j >= 0; j-- {
397 b = append(b, symbol[j])
400 for j := len(ur.currencyNegativePrefix) - 1; j >= 0; j-- {
401 b = append(b, ur.currencyNegativePrefix[j])
404 for j := len(ur.minus) - 1; j >= 0; j-- {
405 b = append(b, ur.minus[j])
410 for j := len(symbol) - 1; j >= 0; j-- {
411 b = append(b, symbol[j])
414 for j := len(ur.currencyPositivePrefix) - 1; j >= 0; j-- {
415 b = append(b, ur.currencyPositivePrefix[j])
421 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
422 b[i], b[j] = b[j], b[i]
428 b = append(b, ur.decimal...)
431 for i := 0; i < 2-int(v); i++ {
439 // FmtDateShort returns the short date representation of 't' for 'ur_IN'
440 func (ur *ur_IN) FmtDateShort(t time.Time) string {
442 b := make([]byte, 0, 32)
444 b = strconv.AppendInt(b, int64(t.Day()), 10)
445 b = append(b, []byte{0x2f}...)
446 b = strconv.AppendInt(b, int64(t.Month()), 10)
447 b = append(b, []byte{0x2f}...)
450 b = append(b, strconv.Itoa(t.Year())[2:]...)
452 b = append(b, strconv.Itoa(t.Year())[1:]...)
458 // FmtDateMedium returns the medium date representation of 't' for 'ur_IN'
459 func (ur *ur_IN) FmtDateMedium(t time.Time) string {
461 b := make([]byte, 0, 32)
464 b = strconv.AppendInt(b, int64(t.Year()), 10)
466 b = strconv.AppendInt(b, int64(-t.Year()), 10)
469 b = append(b, []byte{0x20}...)
470 b = append(b, ur.monthsAbbreviated[t.Month()]...)
471 b = append(b, []byte{0x20}...)
472 b = strconv.AppendInt(b, int64(t.Day()), 10)
477 // FmtDateLong returns the long date representation of 't' for 'ur_IN'
478 func (ur *ur_IN) FmtDateLong(t time.Time) string {
480 b := make([]byte, 0, 32)
482 b = strconv.AppendInt(b, int64(t.Day()), 10)
483 b = append(b, []byte{0x20}...)
484 b = append(b, ur.monthsWide[t.Month()]...)
485 b = append(b, []byte{0xd8, 0x8c, 0x20}...)
488 b = strconv.AppendInt(b, int64(t.Year()), 10)
490 b = strconv.AppendInt(b, int64(-t.Year()), 10)
496 // FmtDateFull returns the full date representation of 't' for 'ur_IN'
497 func (ur *ur_IN) FmtDateFull(t time.Time) string {
499 b := make([]byte, 0, 32)
501 b = append(b, ur.daysWide[t.Weekday()]...)
502 b = append(b, []byte{0xd8, 0x8c, 0x20}...)
503 b = strconv.AppendInt(b, int64(t.Day()), 10)
504 b = append(b, []byte{0x20}...)
505 b = append(b, ur.monthsWide[t.Month()]...)
506 b = append(b, []byte{0xd8, 0x8c, 0x20}...)
509 b = strconv.AppendInt(b, int64(t.Year()), 10)
511 b = strconv.AppendInt(b, int64(-t.Year()), 10)
517 // FmtTimeShort returns the short time representation of 't' for 'ur_IN'
518 func (ur *ur_IN) FmtTimeShort(t time.Time) string {
520 b := make([]byte, 0, 32)
528 b = strconv.AppendInt(b, int64(h), 10)
529 b = append(b, ur.timeSeparator...)
535 b = strconv.AppendInt(b, int64(t.Minute()), 10)
536 b = append(b, []byte{0x20}...)
539 b = append(b, ur.periodsAbbreviated[0]...)
541 b = append(b, ur.periodsAbbreviated[1]...)
547 // FmtTimeMedium returns the medium time representation of 't' for 'ur_IN'
548 func (ur *ur_IN) FmtTimeMedium(t time.Time) string {
550 b := make([]byte, 0, 32)
558 b = strconv.AppendInt(b, int64(h), 10)
559 b = append(b, ur.timeSeparator...)
565 b = strconv.AppendInt(b, int64(t.Minute()), 10)
566 b = append(b, ur.timeSeparator...)
572 b = strconv.AppendInt(b, int64(t.Second()), 10)
573 b = append(b, []byte{0x20}...)
576 b = append(b, ur.periodsAbbreviated[0]...)
578 b = append(b, ur.periodsAbbreviated[1]...)
584 // FmtTimeLong returns the long time representation of 't' for 'ur_IN'
585 func (ur *ur_IN) FmtTimeLong(t time.Time) string {
587 b := make([]byte, 0, 32)
595 b = strconv.AppendInt(b, int64(h), 10)
596 b = append(b, ur.timeSeparator...)
602 b = strconv.AppendInt(b, int64(t.Minute()), 10)
603 b = append(b, ur.timeSeparator...)
609 b = strconv.AppendInt(b, int64(t.Second()), 10)
610 b = append(b, []byte{0x20}...)
613 b = append(b, ur.periodsAbbreviated[0]...)
615 b = append(b, ur.periodsAbbreviated[1]...)
618 b = append(b, []byte{0x20}...)
626 // FmtTimeFull returns the full time representation of 't' for 'ur_IN'
627 func (ur *ur_IN) FmtTimeFull(t time.Time) string {
629 b := make([]byte, 0, 32)
637 b = strconv.AppendInt(b, int64(h), 10)
638 b = append(b, ur.timeSeparator...)
644 b = strconv.AppendInt(b, int64(t.Minute()), 10)
645 b = append(b, ur.timeSeparator...)
651 b = strconv.AppendInt(b, int64(t.Second()), 10)
652 b = append(b, []byte{0x20}...)
655 b = append(b, ur.periodsAbbreviated[0]...)
657 b = append(b, ur.periodsAbbreviated[1]...)
660 b = append(b, []byte{0x20}...)
664 if btz, ok := ur.timezones[tz]; ok {
665 b = append(b, btz...)