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 'ga_IE' locale
45 func New() locales.Translator {
48 pluralsCardinal: []locales.PluralRule{2, 3, 4, 5, 6},
49 pluralsOrdinal: []locales.PluralRule{2, 6},
50 pluralsRange: []locales.PluralRule{2, 3, 4, 5, 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{"", "Ean", "Feabh", "Márta", "Aib", "Beal", "Meith", "Iúil", "Lún", "MFómh", "DFómh", "Samh", "Noll"},
62 monthsNarrow: []string{"", "E", "F", "M", "A", "B", "M", "I", "L", "M", "D", "S", "N"},
63 monthsWide: []string{"", "Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh", "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Samhain", "Nollaig"},
64 daysAbbreviated: []string{"Domh", "Luan", "Máirt", "Céad", "Déar", "Aoine", "Sath"},
65 daysNarrow: []string{"D", "L", "M", "C", "D", "A", "S"},
66 daysShort: []string{"Do", "Lu", "Má", "Cé", "Dé", "Ao", "Sa"},
67 daysWide: []string{"Dé Domhnaigh", "Dé Luain", "Dé Máirt", "Dé Céadaoin", "Déardaoin", "Dé hAoine", "Dé Sathairn"},
68 periodsAbbreviated: []string{"a.m.", "p.m."},
69 periodsNarrow: []string{"a", "p"},
70 periodsWide: []string{"a.m.", "p.m."},
71 erasAbbreviated: []string{"RC", "AD"},
72 erasNarrow: []string{"RC", "AD"},
73 erasWide: []string{"Roimh Chríost", "Anno Domini"},
74 timezones: map[string]string{"HNEG": "Am Caighdeánach Oirthear na Graonlainne", "COT": "Am Caighdeánach na Colóime", "COST": "Am Samhraidh na Colóime", "MYT": "Am na Malaeisia", "ARST": "Am Samhraidh na hAirgintíne", "ADT": "Am Samhraidh an Atlantaigh", "BOT": "Am na Bolaive", "JST": "Am Caighdeánach na Seapáine", "BT": "Am na Bútáine", "WITA": "Am Lár na hIndinéise", "WAST": "Am Samhraidh Iarthar na hAfraice", "GYT": "Am na Guáine", "WESZ": "Am Samhraidh Iarthar na hEorpa", "GMT": "Meán-Am Greenwich", "HNPMX": "Am Caighdeánach Meicsiceach an Aigéin Chiúin", "HEPMX": "Am Samhraidh Meicsiceach an Aigéin Chiúin", "MDT": "Am Samhraidh na Sléibhte", "HECU": "Am Samhraidh Chúba", "AWDT": "Am Samhraidh Iarthar na hAstráile", "TMT": "Am Caighdeánach na Tuircméanastáine", "CHAST": "Am Caighdeánach Chatham", "CHADT": "Am Samhraidh Chatham", "HNCU": "Am Caighdeánach Chúba", "MEZ": "Am Caighdeánach Lár na hEorpa", "HAST": "Am Caighdeánach Haváí-Ailiúit", "HKST": "Am Samhraidh Hong Cong", "HEEG": "Am Samhraidh Oirthear na Graonlainne", "HNPM": "Am Caighdeánach Saint-Pierre-et-Miquelon", "HEPM": "Am Samhraidh Saint-Pierre-et-Miquelon", "CDT": "Am Samhraidh Lárnach", "HNOG": "Am Caighdeánach Iarthar na Graonlainne", "AEST": "Am Caighdeánach Oirthear na hAstráile", "ART": "Am Caighdeánach na hAirgintíne", "ECT": "Am Eacuadór", "ChST": "Am Caighdeánach Seamórach", "NZST": "Am Caighdeánach na Nua-Shéalainne", "WART": "Am Caighdeánach Iarthar na hAirgintíne", "HADT": "Am Samhraidh Haváí-Ailiúit", "PDT": "Am Samhraidh an Aigéin Chiúin", "HAT": "Am Samhraidh Thalamh an Éisc", "AKST": "Am Caighdeánach Alasca", "AKDT": "Am Samhraidh Alasca", "SGT": "Am Caighdeánach Shingeapór", "ACWDT": "Am Samhraidh Mheániarthar na hAstráile", "IST": "Am Caighdeánach na hIndia", "LHST": "Am Caighdeánach Lord Howe", "HNNOMX": "Am Caighdeánach Iarthuaisceart Mheicsiceo", "JDT": "Am Samhraidh na Seapáine", "EAT": "Am Oirthear na hAfraice", "HKT": "Am Caighdeánach Hong Cong", "CLST": "Am Samhraidh na Sile", "ACST": "Am Caighdeánach Lár na hAstráile", "OEZ": "Am Caighdeánach Oirthear na hEorpa", "WIB": "Am Iarthar na hIndinéise", "WEZ": "Am Caighdeánach Iarthar na hEorpa", "WAT": "Am Caighdeánach Iarthar na hAfraice", "ACWST": "Am Caighdeánach Mheániarthar na hAstráile", "UYT": "Am Caighdeánach Uragua", "AEDT": "Am Samhraidh Oirthear na hAstráile", "HENOMX": "Am Samhraidh Iarthuaisceart Mheicsiceo", "HEOG": "Am Samhraidh Iarthar na Graonlainne", "GFT": "Am Ghuáin na Fraince", "ACDT": "Am Samhraidh Lár na hAstráile", "SRT": "Am Shuranam", "NZDT": "Am Samhraidh na Nua-Shéalainne", "TMST": "Am Samhraidh na Tuircméanastáine", "MST": "Am Caighdeánach na Sléibhte", "CST": "Am Caighdeánach Lárnach", "SAST": "Am Caighdeánach na hAfraice Theas", "EST": "Am Caighdeánach an Oirthir", "EDT": "Am Samhraidh an Oirthir", "CAT": "Am Lár na hAfraice", "AWST": "Am Caighdeánach Iarthar na hAstráile", "MESZ": "Am Samhraidh Lár na hEorpa", "VET": "Am Veiniséala", "HNT": "Am Caighdeánach Thalamh an Éisc", "CLT": "Am Caighdeánach na Sile", "UYST": "Am Samhraidh Uragua", "WIT": "Am Oirthear na hIndinéise", "WARST": "Am Samhraidh Iarthar na hAirgintíne", "LHDT": "Am Samhraidh Lord Howe", "∅∅∅": "Am Samhraidh na nAsór", "AST": "Am Caighdeánach an Atlantaigh", "PST": "Am Caighdeánach an Aigéin Chiúin", "OESZ": "Am Samhraidh Oirthear na hEorpa"},
78 // Locale returns the current translators string locale
79 func (ga *ga_IE) Locale() string {
83 // PluralsCardinal returns the list of cardinal plural rules associated with 'ga_IE'
84 func (ga *ga_IE) PluralsCardinal() []locales.PluralRule {
85 return ga.pluralsCardinal
88 // PluralsOrdinal returns the list of ordinal plural rules associated with 'ga_IE'
89 func (ga *ga_IE) PluralsOrdinal() []locales.PluralRule {
90 return ga.pluralsOrdinal
93 // PluralsRange returns the list of range plural rules associated with 'ga_IE'
94 func (ga *ga_IE) PluralsRange() []locales.PluralRule {
95 return ga.pluralsRange
98 // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'ga_IE'
99 func (ga *ga_IE) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
104 return locales.PluralRuleOne
106 return locales.PluralRuleTwo
107 } else if n >= 3 && n <= 6 {
108 return locales.PluralRuleFew
109 } else if n >= 7 && n <= 10 {
110 return locales.PluralRuleMany
113 return locales.PluralRuleOther
116 // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'ga_IE'
117 func (ga *ga_IE) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
122 return locales.PluralRuleOne
125 return locales.PluralRuleOther
128 // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'ga_IE'
129 func (ga *ga_IE) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
131 start := ga.CardinalPluralRule(num1, v1)
132 end := ga.CardinalPluralRule(num2, v2)
134 if start == locales.PluralRuleOne && end == locales.PluralRuleTwo {
135 return locales.PluralRuleTwo
136 } else if start == locales.PluralRuleOne && end == locales.PluralRuleFew {
137 return locales.PluralRuleFew
138 } else if start == locales.PluralRuleOne && end == locales.PluralRuleMany {
139 return locales.PluralRuleMany
140 } else if start == locales.PluralRuleOne && end == locales.PluralRuleOther {
141 return locales.PluralRuleOther
142 } else if start == locales.PluralRuleTwo && end == locales.PluralRuleFew {
143 return locales.PluralRuleFew
144 } else if start == locales.PluralRuleTwo && end == locales.PluralRuleMany {
145 return locales.PluralRuleMany
146 } else if start == locales.PluralRuleTwo && end == locales.PluralRuleOther {
147 return locales.PluralRuleOther
148 } else if start == locales.PluralRuleFew && end == locales.PluralRuleFew {
149 return locales.PluralRuleFew
150 } else if start == locales.PluralRuleFew && end == locales.PluralRuleMany {
151 return locales.PluralRuleMany
152 } else if start == locales.PluralRuleFew && end == locales.PluralRuleOther {
153 return locales.PluralRuleOther
154 } else if start == locales.PluralRuleMany && end == locales.PluralRuleMany {
155 return locales.PluralRuleMany
156 } else if start == locales.PluralRuleMany && end == locales.PluralRuleOther {
157 return locales.PluralRuleOther
158 } else if start == locales.PluralRuleOther && end == locales.PluralRuleOne {
159 return locales.PluralRuleOne
160 } else if start == locales.PluralRuleOther && end == locales.PluralRuleTwo {
161 return locales.PluralRuleTwo
162 } else if start == locales.PluralRuleOther && end == locales.PluralRuleFew {
163 return locales.PluralRuleFew
164 } else if start == locales.PluralRuleOther && end == locales.PluralRuleMany {
165 return locales.PluralRuleMany
168 return locales.PluralRuleOther
172 // MonthAbbreviated returns the locales abbreviated month given the 'month' provided
173 func (ga *ga_IE) MonthAbbreviated(month time.Month) string {
174 return ga.monthsAbbreviated[month]
177 // MonthsAbbreviated returns the locales abbreviated months
178 func (ga *ga_IE) MonthsAbbreviated() []string {
179 return ga.monthsAbbreviated[1:]
182 // MonthNarrow returns the locales narrow month given the 'month' provided
183 func (ga *ga_IE) MonthNarrow(month time.Month) string {
184 return ga.monthsNarrow[month]
187 // MonthsNarrow returns the locales narrow months
188 func (ga *ga_IE) MonthsNarrow() []string {
189 return ga.monthsNarrow[1:]
192 // MonthWide returns the locales wide month given the 'month' provided
193 func (ga *ga_IE) MonthWide(month time.Month) string {
194 return ga.monthsWide[month]
197 // MonthsWide returns the locales wide months
198 func (ga *ga_IE) MonthsWide() []string {
199 return ga.monthsWide[1:]
202 // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
203 func (ga *ga_IE) WeekdayAbbreviated(weekday time.Weekday) string {
204 return ga.daysAbbreviated[weekday]
207 // WeekdaysAbbreviated returns the locales abbreviated weekdays
208 func (ga *ga_IE) WeekdaysAbbreviated() []string {
209 return ga.daysAbbreviated
212 // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
213 func (ga *ga_IE) WeekdayNarrow(weekday time.Weekday) string {
214 return ga.daysNarrow[weekday]
217 // WeekdaysNarrow returns the locales narrow weekdays
218 func (ga *ga_IE) WeekdaysNarrow() []string {
222 // WeekdayShort returns the locales short weekday given the 'weekday' provided
223 func (ga *ga_IE) WeekdayShort(weekday time.Weekday) string {
224 return ga.daysShort[weekday]
227 // WeekdaysShort returns the locales short weekdays
228 func (ga *ga_IE) WeekdaysShort() []string {
232 // WeekdayWide returns the locales wide weekday given the 'weekday' provided
233 func (ga *ga_IE) WeekdayWide(weekday time.Weekday) string {
234 return ga.daysWide[weekday]
237 // WeekdaysWide returns the locales wide weekdays
238 func (ga *ga_IE) WeekdaysWide() []string {
242 // Decimal returns the decimal point of number
243 func (ga *ga_IE) Decimal() string {
247 // Group returns the group of number
248 func (ga *ga_IE) Group() string {
252 // Group returns the minus sign of number
253 func (ga *ga_IE) Minus() string {
257 // FmtNumber returns 'num' with digits/precision of 'v' for 'ga_IE' and handles both Whole and Real numbers based on 'v'
258 func (ga *ga_IE) FmtNumber(num float64, v uint64) string {
260 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
261 l := len(s) + 2 + 1*len(s[:len(s)-int(v)-1])/3
264 b := make([]byte, 0, l)
266 for i := len(s) - 1; i >= 0; i-- {
269 b = append(b, ga.decimal[0])
276 b = append(b, ga.group[0])
287 b = append(b, ga.minus[0])
291 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
292 b[i], b[j] = b[j], b[i]
298 // FmtPercent returns 'num' with digits/precision of 'v' for 'ga_IE' and handles both Whole and Real numbers based on 'v'
299 // NOTE: 'num' passed into FmtPercent is assumed to be in percent already
300 func (ga *ga_IE) FmtPercent(num float64, v uint64) string {
301 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
303 b := make([]byte, 0, l)
305 for i := len(s) - 1; i >= 0; i-- {
308 b = append(b, ga.decimal[0])
316 b = append(b, ga.minus[0])
320 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
321 b[i], b[j] = b[j], b[i]
324 b = append(b, ga.percent...)
329 // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'ga_IE'
330 func (ga *ga_IE) FmtCurrency(num float64, v uint64, currency currency.Type) string {
332 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
333 symbol := ga.currencies[currency]
334 l := len(s) + len(symbol) + 2 + 1*len(s[:len(s)-int(v)-1])/3
337 b := make([]byte, 0, l)
339 for i := len(s) - 1; i >= 0; i-- {
342 b = append(b, ga.decimal[0])
349 b = append(b, ga.group[0])
359 for j := len(symbol) - 1; j >= 0; j-- {
360 b = append(b, symbol[j])
364 b = append(b, ga.minus[0])
368 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
369 b[i], b[j] = b[j], b[i]
375 b = append(b, ga.decimal...)
378 for i := 0; i < 2-int(v); i++ {
386 // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'ga_IE'
387 // in accounting notation.
388 func (ga *ga_IE) FmtAccounting(num float64, v uint64, currency currency.Type) string {
390 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
391 symbol := ga.currencies[currency]
392 l := len(s) + len(symbol) + 4 + 1*len(s[:len(s)-int(v)-1])/3
395 b := make([]byte, 0, l)
397 for i := len(s) - 1; i >= 0; i-- {
400 b = append(b, ga.decimal[0])
407 b = append(b, ga.group[0])
419 for j := len(symbol) - 1; j >= 0; j-- {
420 b = append(b, symbol[j])
423 b = append(b, ga.currencyNegativePrefix[0])
427 for j := len(symbol) - 1; j >= 0; j-- {
428 b = append(b, symbol[j])
434 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
435 b[i], b[j] = b[j], b[i]
441 b = append(b, ga.decimal...)
444 for i := 0; i < 2-int(v); i++ {
450 b = append(b, ga.currencyNegativeSuffix...)
456 // FmtDateShort returns the short date representation of 't' for 'ga_IE'
457 func (ga *ga_IE) FmtDateShort(t time.Time) string {
459 b := make([]byte, 0, 32)
465 b = strconv.AppendInt(b, int64(t.Day()), 10)
466 b = append(b, []byte{0x2f}...)
472 b = strconv.AppendInt(b, int64(t.Month()), 10)
474 b = append(b, []byte{0x2f}...)
477 b = strconv.AppendInt(b, int64(t.Year()), 10)
479 b = strconv.AppendInt(b, int64(-t.Year()), 10)
485 // FmtDateMedium returns the medium date representation of 't' for 'ga_IE'
486 func (ga *ga_IE) FmtDateMedium(t time.Time) string {
488 b := make([]byte, 0, 32)
490 b = strconv.AppendInt(b, int64(t.Day()), 10)
491 b = append(b, []byte{0x20}...)
492 b = append(b, ga.monthsAbbreviated[t.Month()]...)
493 b = append(b, []byte{0x20}...)
496 b = strconv.AppendInt(b, int64(t.Year()), 10)
498 b = strconv.AppendInt(b, int64(-t.Year()), 10)
504 // FmtDateLong returns the long date representation of 't' for 'ga_IE'
505 func (ga *ga_IE) FmtDateLong(t time.Time) string {
507 b := make([]byte, 0, 32)
509 b = strconv.AppendInt(b, int64(t.Day()), 10)
510 b = append(b, []byte{0x20}...)
511 b = append(b, ga.monthsWide[t.Month()]...)
512 b = append(b, []byte{0x20}...)
515 b = strconv.AppendInt(b, int64(t.Year()), 10)
517 b = strconv.AppendInt(b, int64(-t.Year()), 10)
523 // FmtDateFull returns the full date representation of 't' for 'ga_IE'
524 func (ga *ga_IE) FmtDateFull(t time.Time) string {
526 b := make([]byte, 0, 32)
528 b = append(b, ga.daysWide[t.Weekday()]...)
529 b = append(b, []byte{0x20}...)
530 b = strconv.AppendInt(b, int64(t.Day()), 10)
531 b = append(b, []byte{0x20}...)
532 b = append(b, ga.monthsWide[t.Month()]...)
533 b = append(b, []byte{0x20}...)
536 b = strconv.AppendInt(b, int64(t.Year()), 10)
538 b = strconv.AppendInt(b, int64(-t.Year()), 10)
544 // FmtTimeShort returns the short time representation of 't' for 'ga_IE'
545 func (ga *ga_IE) FmtTimeShort(t time.Time) string {
547 b := make([]byte, 0, 32)
553 b = strconv.AppendInt(b, int64(t.Hour()), 10)
554 b = append(b, ga.timeSeparator...)
560 b = strconv.AppendInt(b, int64(t.Minute()), 10)
565 // FmtTimeMedium returns the medium time representation of 't' for 'ga_IE'
566 func (ga *ga_IE) FmtTimeMedium(t time.Time) string {
568 b := make([]byte, 0, 32)
574 b = strconv.AppendInt(b, int64(t.Hour()), 10)
575 b = append(b, ga.timeSeparator...)
581 b = strconv.AppendInt(b, int64(t.Minute()), 10)
582 b = append(b, ga.timeSeparator...)
588 b = strconv.AppendInt(b, int64(t.Second()), 10)
593 // FmtTimeLong returns the long time representation of 't' for 'ga_IE'
594 func (ga *ga_IE) FmtTimeLong(t time.Time) string {
596 b := make([]byte, 0, 32)
602 b = strconv.AppendInt(b, int64(t.Hour()), 10)
603 b = append(b, ga.timeSeparator...)
609 b = strconv.AppendInt(b, int64(t.Minute()), 10)
610 b = append(b, ga.timeSeparator...)
616 b = strconv.AppendInt(b, int64(t.Second()), 10)
617 b = append(b, []byte{0x20}...)
625 // FmtTimeFull returns the full time representation of 't' for 'ga_IE'
626 func (ga *ga_IE) FmtTimeFull(t time.Time) string {
628 b := make([]byte, 0, 32)
634 b = strconv.AppendInt(b, int64(t.Hour()), 10)
635 b = append(b, ga.timeSeparator...)
641 b = strconv.AppendInt(b, int64(t.Minute()), 10)
642 b = append(b, ga.timeSeparator...)
648 b = strconv.AppendInt(b, int64(t.Second()), 10)
649 b = append(b, []byte{0x20}...)
653 if btz, ok := ga.timezones[tz]; ok {
654 b = append(b, btz...)