8 "github.com/go-playground/locales"
9 "github.com/go-playground/locales/currency"
12 type bs_Cyrl_BA struct {
14 pluralsCardinal []locales.PluralRule
15 pluralsOrdinal []locales.PluralRule
16 pluralsRange []locales.PluralRule
25 currencies []string // idx = enum of currency code
26 currencyPositiveSuffix string
27 currencyNegativeSuffix string
28 monthsAbbreviated []string
31 daysAbbreviated []string
35 periodsAbbreviated []string
36 periodsNarrow []string
39 erasAbbreviated []string
42 timezones map[string]string
45 // New returns a new instance of translator for the 'bs_Cyrl_BA' locale
46 func New() locales.Translator {
49 pluralsCardinal: []locales.PluralRule{2, 4, 6},
50 pluralsOrdinal: []locales.PluralRule{6},
51 pluralsRange: []locales.PluralRule{2, 4, 6},
59 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"},
61 currencyPositiveSuffix: " ",
62 currencyNegativeSuffix: " ",
63 monthsAbbreviated: []string{"", "jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec"},
64 monthsNarrow: []string{"", "j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"},
65 monthsWide: []string{"", "januar", "februar", "mart", "april", "maj", "juni", "juli", "avgust", "septembar", "oktobar", "novembar", "decembar"},
66 daysAbbreviated: []string{"ned", "pon", "uto", "sri", "čet", "pet", "sub"},
67 daysNarrow: []string{"N", "P", "U", "S", "Č", "P", "S"},
68 daysShort: []string{"ned", "pon", "uto", "sri", "čet", "pet", "sub"},
69 daysWide: []string{"nedjelja", "ponedjeljak", "utorak", "srijeda", "četvrtak", "petak", "subota"},
70 periodsAbbreviated: []string{"prijepodne", "popodne"},
71 periodsNarrow: []string{"prijepodne", "popodne"},
72 periodsWide: []string{"prijepodne", "popodne"},
73 erasAbbreviated: []string{"p. n. e.", "n. e."},
74 erasNarrow: []string{"pr.n.e.", "AD"},
75 erasWide: []string{"prije nove ere", "nove ere"},
76 timezones: map[string]string{"ART": "Argentinsko standardno vrijeme", "WIB": "Zapadnoindonezijsko vrijeme", "TMT": "Turkmenistansko standardno vrijeme", "ACWDT": "Australijsko centralnozapadno ljetno vrijeme", "HENOMX": "Sjeverozapadno meksičko ljetno vrijeme", "LHDT": "Ljetno vrijeme na Ostrvu Lord Hau", "EST": "Sjevernoameričko istočno standardno vrijeme", "EDT": "Sjevernoameričko istočno ljetno vrijeme", "HEPMX": "Meksičko pacifičko ljetno vrijeme", "EAT": "Istočnoafričko vrijeme", "HNT": "Njufaundlendsko standardno vrijeme", "HNPM": "Standardno vrijeme na Ostrvima Sen Pjer i Mikelon", "HNOG": "Zapadnogrenlandsko standardno vrijeme", "AEDT": "Istočnoaustralijsko ljetno vrijeme", "SAST": "Južnoafričko standardno vrijeme", "PST": "Sjevernoameričko pacifičko standardno vrijeme", "CHAST": "Čatamsko standardno vrijeme", "HEEG": "Istočnogrenlandsko ljetno vrijeme", "ECT": "Ekvadorsko vrijeme", "TMST": "Turkmenistansko ljetno vrijeme", "MST": "Sjevernoameričko planinsko standardno vrijeme", "WAST": "Zapadnoafričko ljetno vrijeme", "HAT": "Njufaundlendsko ljetno vrijeme", "ACWST": "Australijsko centralnozapadno standardno vrijeme", "WART": "Zapadnoargentinsko standardno vrijeme", "ACST": "Centralnoaustralijsko standardno vrijeme", "UYT": "Urugvajsko standardno vrijeme", "HAST": "Havajsko-aleućansko standardno vrijeme", "VET": "Venecuelansko vrijeme", "WAT": "Zapadnoafričko standardno vrijeme", "CLST": "Čileansko ljetno vrijeme", "NZST": "Novozelandsko standardno vrijeme", "MESZ": "Centralnoevropsko ljetno vrijeme", "ACDT": "Centralnoaustralijsko ljetno vrijeme", "GMT": "Griničko vrijeme", "CHADT": "Čatamsko ljetno vrijeme", "IST": "Indijsko standardno vrijeme", "AST": "Sjevernoameričko atlantsko standardno vrijeme", "HNEG": "Istočnogrenlandsko standardno vrijeme", "HKST": "Hongkonško ljetno vrijeme", "GYT": "Gvajansko vrijeme", "BOT": "Bolivijsko vrijeme", "WEZ": "Zapadnoevropsko standardno vrijeme", "HECU": "Kubansko ljetno vrijeme", "PDT": "Sjevernoameričko pacifičko ljetno vrijeme", "JST": "Japansko standardno vrijeme", "LHST": "Standardno vrijeme na Ostrvu Lord Hau", "ARST": "Argentinsko ljetno vrijeme", "AEST": "Istočnoaustralijsko standardno vrijeme", "AKDT": "Aljaskansko ljetno vrijeme", "SRT": "Surinamsko vrijeme", "MDT": "Sjevernoameričko planinsko ljetno vrijeme", "HEOG": "Zapadnogrenlandsko ljetno vrijeme", "WESZ": "Zapadnoevropsko ljetno vrijeme", "UYST": "Urugvajsko ljetno vrijeme", "WIT": "Istočnoindonezijsko vrijeme", "CLT": "Čileansko standardno vrijeme", "MEZ": "Centralnoevropsko standardno vrijeme", "HEPM": "Ljetno vrijeme na Ostrvima Sen Pjer i Mikelon", "AWDT": "Zapadnoaustralijsko ljetno vrijeme", "CDT": "Sjevernoameričko centralno ljetno vrijeme", "WARST": "Zapadnoargentinsko ljetno vrijeme", "HNNOMX": "Sjeverozapadno meksičko standardno vrijeme", "HKT": "Hongkonško standardno vrijeme", "CAT": "Centralnoafričko vrijeme", "HNCU": "Kubansko standardno vrijeme", "MYT": "Malezijsko vrijeme", "SGT": "Singapursko standardno vrijeme", "CST": "Sjevernoameričko centralno standardno vrijeme", "NZDT": "Novozelandsko ljetno vrijeme", "JDT": "Japansko ljetno vrijeme", "OEZ": "Istočnoevropsko standardno vrijeme", "OESZ": "Istočnoevropsko ljetno vrijeme", "∅∅∅": "Azorsko ljetno vrijeme", "COT": "Kolumbijsko standardno vrijeme", "ADT": "Sjevernoameričko atlantsko ljetno vrijeme", "COST": "Kolumbijsko ljetno vrijeme", "ChST": "Čamorsko standardno vrijeme", "AWST": "Zapadnoaustralijsko standardno vrijeme", "HADT": "Havajsko-aleućansko ljetno vrijeme", "WITA": "Centralnoindonezijsko vrijeme", "GFT": "Francuskogvajansko vrijeme", "AKST": "Aljaskansko standardno vrijeme", "HNPMX": "Meksičko pacifičko standardno vrijeme", "BT": "Butansko vrijeme"},
80 // Locale returns the current translators string locale
81 func (bs *bs_Cyrl_BA) Locale() string {
85 // PluralsCardinal returns the list of cardinal plural rules associated with 'bs_Cyrl_BA'
86 func (bs *bs_Cyrl_BA) PluralsCardinal() []locales.PluralRule {
87 return bs.pluralsCardinal
90 // PluralsOrdinal returns the list of ordinal plural rules associated with 'bs_Cyrl_BA'
91 func (bs *bs_Cyrl_BA) PluralsOrdinal() []locales.PluralRule {
92 return bs.pluralsOrdinal
95 // PluralsRange returns the list of range plural rules associated with 'bs_Cyrl_BA'
96 func (bs *bs_Cyrl_BA) PluralsRange() []locales.PluralRule {
97 return bs.pluralsRange
100 // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'bs_Cyrl_BA'
101 func (bs *bs_Cyrl_BA) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
111 if (v == 0 && iMod10 == 1 && iMod100 != 11) || (fMod10 == 1 && fMod100 != 11) {
112 return locales.PluralRuleOne
113 } else if (v == 0 && iMod10 >= 2 && iMod10 <= 4 && (iMod100 < 12 || iMod100 > 14)) || (fMod10 >= 2 && fMod10 <= 4 && (fMod100 < 12 || fMod100 > 14)) {
114 return locales.PluralRuleFew
117 return locales.PluralRuleOther
120 // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'bs_Cyrl_BA'
121 func (bs *bs_Cyrl_BA) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
122 return locales.PluralRuleOther
125 // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'bs_Cyrl_BA'
126 func (bs *bs_Cyrl_BA) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
128 start := bs.CardinalPluralRule(num1, v1)
129 end := bs.CardinalPluralRule(num2, v2)
131 if start == locales.PluralRuleOne && end == locales.PluralRuleOne {
132 return locales.PluralRuleOne
133 } else if start == locales.PluralRuleOne && end == locales.PluralRuleFew {
134 return locales.PluralRuleFew
135 } else if start == locales.PluralRuleOne && end == locales.PluralRuleOther {
136 return locales.PluralRuleOther
137 } else if start == locales.PluralRuleFew && end == locales.PluralRuleOne {
138 return locales.PluralRuleOne
139 } else if start == locales.PluralRuleFew && end == locales.PluralRuleFew {
140 return locales.PluralRuleFew
141 } else if start == locales.PluralRuleFew && end == locales.PluralRuleOther {
142 return locales.PluralRuleOther
143 } else if start == locales.PluralRuleOther && end == locales.PluralRuleOne {
144 return locales.PluralRuleOne
145 } else if start == locales.PluralRuleOther && end == locales.PluralRuleFew {
146 return locales.PluralRuleFew
149 return locales.PluralRuleOther
153 // MonthAbbreviated returns the locales abbreviated month given the 'month' provided
154 func (bs *bs_Cyrl_BA) MonthAbbreviated(month time.Month) string {
155 return bs.monthsAbbreviated[month]
158 // MonthsAbbreviated returns the locales abbreviated months
159 func (bs *bs_Cyrl_BA) MonthsAbbreviated() []string {
160 return bs.monthsAbbreviated[1:]
163 // MonthNarrow returns the locales narrow month given the 'month' provided
164 func (bs *bs_Cyrl_BA) MonthNarrow(month time.Month) string {
165 return bs.monthsNarrow[month]
168 // MonthsNarrow returns the locales narrow months
169 func (bs *bs_Cyrl_BA) MonthsNarrow() []string {
170 return bs.monthsNarrow[1:]
173 // MonthWide returns the locales wide month given the 'month' provided
174 func (bs *bs_Cyrl_BA) MonthWide(month time.Month) string {
175 return bs.monthsWide[month]
178 // MonthsWide returns the locales wide months
179 func (bs *bs_Cyrl_BA) MonthsWide() []string {
180 return bs.monthsWide[1:]
183 // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
184 func (bs *bs_Cyrl_BA) WeekdayAbbreviated(weekday time.Weekday) string {
185 return bs.daysAbbreviated[weekday]
188 // WeekdaysAbbreviated returns the locales abbreviated weekdays
189 func (bs *bs_Cyrl_BA) WeekdaysAbbreviated() []string {
190 return bs.daysAbbreviated
193 // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
194 func (bs *bs_Cyrl_BA) WeekdayNarrow(weekday time.Weekday) string {
195 return bs.daysNarrow[weekday]
198 // WeekdaysNarrow returns the locales narrow weekdays
199 func (bs *bs_Cyrl_BA) WeekdaysNarrow() []string {
203 // WeekdayShort returns the locales short weekday given the 'weekday' provided
204 func (bs *bs_Cyrl_BA) WeekdayShort(weekday time.Weekday) string {
205 return bs.daysShort[weekday]
208 // WeekdaysShort returns the locales short weekdays
209 func (bs *bs_Cyrl_BA) WeekdaysShort() []string {
213 // WeekdayWide returns the locales wide weekday given the 'weekday' provided
214 func (bs *bs_Cyrl_BA) WeekdayWide(weekday time.Weekday) string {
215 return bs.daysWide[weekday]
218 // WeekdaysWide returns the locales wide weekdays
219 func (bs *bs_Cyrl_BA) WeekdaysWide() []string {
223 // Decimal returns the decimal point of number
224 func (bs *bs_Cyrl_BA) Decimal() string {
228 // Group returns the group of number
229 func (bs *bs_Cyrl_BA) Group() string {
233 // Group returns the minus sign of number
234 func (bs *bs_Cyrl_BA) Minus() string {
238 // FmtNumber returns 'num' with digits/precision of 'v' for 'bs_Cyrl_BA' and handles both Whole and Real numbers based on 'v'
239 func (bs *bs_Cyrl_BA) FmtNumber(num float64, v uint64) string {
241 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
242 l := len(s) + 2 + 1*len(s[:len(s)-int(v)-1])/3
245 b := make([]byte, 0, l)
247 for i := len(s) - 1; i >= 0; i-- {
250 b = append(b, bs.decimal[0])
257 b = append(b, bs.group[0])
268 b = append(b, bs.minus[0])
272 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
273 b[i], b[j] = b[j], b[i]
279 // FmtPercent returns 'num' with digits/precision of 'v' for 'bs_Cyrl_BA' and handles both Whole and Real numbers based on 'v'
280 // NOTE: 'num' passed into FmtPercent is assumed to be in percent already
281 func (bs *bs_Cyrl_BA) FmtPercent(num float64, v uint64) string {
282 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
284 b := make([]byte, 0, l)
286 for i := len(s) - 1; i >= 0; i-- {
289 b = append(b, bs.decimal[0])
297 b = append(b, bs.minus[0])
301 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
302 b[i], b[j] = b[j], b[i]
305 b = append(b, bs.percentSuffix...)
307 b = append(b, bs.percent...)
312 // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'bs_Cyrl_BA'
313 func (bs *bs_Cyrl_BA) FmtCurrency(num float64, v uint64, currency currency.Type) string {
315 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
316 symbol := bs.currencies[currency]
317 l := len(s) + len(symbol) + 4 + 1*len(s[:len(s)-int(v)-1])/3
320 b := make([]byte, 0, l)
322 for i := len(s) - 1; i >= 0; i-- {
325 b = append(b, bs.decimal[0])
332 b = append(b, bs.group[0])
343 b = append(b, bs.minus[0])
347 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
348 b[i], b[j] = b[j], b[i]
354 b = append(b, bs.decimal...)
357 for i := 0; i < 2-int(v); i++ {
362 b = append(b, bs.currencyPositiveSuffix...)
364 b = append(b, symbol...)
369 // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'bs_Cyrl_BA'
370 // in accounting notation.
371 func (bs *bs_Cyrl_BA) FmtAccounting(num float64, v uint64, currency currency.Type) string {
373 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
374 symbol := bs.currencies[currency]
375 l := len(s) + len(symbol) + 4 + 1*len(s[:len(s)-int(v)-1])/3
378 b := make([]byte, 0, l)
380 for i := len(s) - 1; i >= 0; i-- {
383 b = append(b, bs.decimal[0])
390 b = append(b, bs.group[0])
402 b = append(b, bs.minus[0])
407 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
408 b[i], b[j] = b[j], b[i]
414 b = append(b, bs.decimal...)
417 for i := 0; i < 2-int(v); i++ {
423 b = append(b, bs.currencyNegativeSuffix...)
424 b = append(b, symbol...)
427 b = append(b, bs.currencyPositiveSuffix...)
428 b = append(b, symbol...)
434 // FmtDateShort returns the short date representation of 't' for 'bs_Cyrl_BA'
435 func (bs *bs_Cyrl_BA) FmtDateShort(t time.Time) string {
437 b := make([]byte, 0, 32)
439 b = strconv.AppendInt(b, int64(t.Day()), 10)
440 b = append(b, []byte{0x2e}...)
441 b = strconv.AppendInt(b, int64(t.Month()), 10)
442 b = append(b, []byte{0x2e}...)
445 b = append(b, strconv.Itoa(t.Year())[2:]...)
447 b = append(b, strconv.Itoa(t.Year())[1:]...)
450 b = append(b, []byte{0x2e}...)
455 // FmtDateMedium returns the medium date representation of 't' for 'bs_Cyrl_BA'
456 func (bs *bs_Cyrl_BA) FmtDateMedium(t time.Time) string {
458 b := make([]byte, 0, 32)
460 b = strconv.AppendInt(b, int64(t.Day()), 10)
461 b = append(b, []byte{0x2e, 0x20}...)
462 b = append(b, bs.monthsAbbreviated[t.Month()]...)
463 b = append(b, []byte{0x2e, 0x20}...)
466 b = strconv.AppendInt(b, int64(t.Year()), 10)
468 b = strconv.AppendInt(b, int64(-t.Year()), 10)
471 b = append(b, []byte{0x2e}...)
476 // FmtDateLong returns the long date representation of 't' for 'bs_Cyrl_BA'
477 func (bs *bs_Cyrl_BA) FmtDateLong(t time.Time) string {
479 b := make([]byte, 0, 32)
481 b = strconv.AppendInt(b, int64(t.Day()), 10)
482 b = append(b, []byte{0x2e, 0x20}...)
483 b = append(b, bs.monthsWide[t.Month()]...)
484 b = append(b, []byte{0x20}...)
487 b = strconv.AppendInt(b, int64(t.Year()), 10)
489 b = strconv.AppendInt(b, int64(-t.Year()), 10)
492 b = append(b, []byte{0x2e}...)
497 // FmtDateFull returns the full date representation of 't' for 'bs_Cyrl_BA'
498 func (bs *bs_Cyrl_BA) FmtDateFull(t time.Time) string {
500 b := make([]byte, 0, 32)
502 b = append(b, bs.daysWide[t.Weekday()]...)
503 b = append(b, []byte{0x2c, 0x20}...)
504 b = strconv.AppendInt(b, int64(t.Day()), 10)
505 b = append(b, []byte{0x2e, 0x20}...)
506 b = append(b, bs.monthsWide[t.Month()]...)
507 b = append(b, []byte{0x20}...)
510 b = strconv.AppendInt(b, int64(t.Year()), 10)
512 b = strconv.AppendInt(b, int64(-t.Year()), 10)
515 b = append(b, []byte{0x2e}...)
520 // FmtTimeShort returns the short time representation of 't' for 'bs_Cyrl_BA'
521 func (bs *bs_Cyrl_BA) FmtTimeShort(t time.Time) string {
523 b := make([]byte, 0, 32)
529 b = strconv.AppendInt(b, int64(t.Hour()), 10)
530 b = append(b, bs.timeSeparator...)
536 b = strconv.AppendInt(b, int64(t.Minute()), 10)
541 // FmtTimeMedium returns the medium time representation of 't' for 'bs_Cyrl_BA'
542 func (bs *bs_Cyrl_BA) FmtTimeMedium(t time.Time) string {
544 b := make([]byte, 0, 32)
550 b = strconv.AppendInt(b, int64(t.Hour()), 10)
551 b = append(b, bs.timeSeparator...)
557 b = strconv.AppendInt(b, int64(t.Minute()), 10)
558 b = append(b, bs.timeSeparator...)
564 b = strconv.AppendInt(b, int64(t.Second()), 10)
569 // FmtTimeLong returns the long time representation of 't' for 'bs_Cyrl_BA'
570 func (bs *bs_Cyrl_BA) FmtTimeLong(t time.Time) string {
572 b := make([]byte, 0, 32)
578 b = strconv.AppendInt(b, int64(t.Hour()), 10)
579 b = append(b, bs.timeSeparator...)
585 b = strconv.AppendInt(b, int64(t.Minute()), 10)
586 b = append(b, bs.timeSeparator...)
592 b = strconv.AppendInt(b, int64(t.Second()), 10)
593 b = append(b, []byte{0x20}...)
601 // FmtTimeFull returns the full time representation of 't' for 'bs_Cyrl_BA'
602 func (bs *bs_Cyrl_BA) FmtTimeFull(t time.Time) string {
604 b := make([]byte, 0, 32)
610 b = strconv.AppendInt(b, int64(t.Hour()), 10)
611 b = append(b, bs.timeSeparator...)
617 b = strconv.AppendInt(b, int64(t.Minute()), 10)
618 b = append(b, bs.timeSeparator...)
624 b = strconv.AppendInt(b, int64(t.Second()), 10)
625 b = append(b, []byte{0x20}...)
629 if btz, ok := bs.timezones[tz]; ok {
630 b = append(b, btz...)