Lines Matching defs:ko

1 package ko  package
12 type ko struct { struct
13 locale string
14 pluralsCardinal []locales.PluralRule
15 pluralsOrdinal []locales.PluralRule
16 pluralsRange []locales.PluralRule
17 decimal string
18 group string
19 minus string
20 percent string
21 perMille string
22 timeSeparator string
23 inifinity string
24 currencies []string // idx = enum of currency code
25 currencyNegativePrefix string
26 currencyNegativeSuffix string
27 monthsAbbreviated []string
28 monthsNarrow []string
29 monthsWide []string
30 daysAbbreviated []string
31 daysNarrow []string
32 daysShort []string
33 daysWide []string
34 periodsAbbreviated []string
35 periodsNarrow []string
36 periodsShort []string
37 periodsWide []string
38 erasAbbreviated []string
39 erasNarrow []string
40 erasWide []string
41 timezones map[string]string
79 func (ko *ko) Locale() string {
84 func (ko *ko) PluralsCardinal() []locales.PluralRule {
89 func (ko *ko) PluralsOrdinal() []locales.PluralRule {
94 func (ko *ko) PluralsRange() []locales.PluralRule {
99 func (ko *ko) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
104 func (ko *ko) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
109 func (ko *ko) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
114 func (ko *ko) MonthAbbreviated(month time.Month) string {
119 func (ko *ko) MonthsAbbreviated() []string {
124 func (ko *ko) MonthNarrow(month time.Month) string {
129 func (ko *ko) MonthsNarrow() []string {
134 func (ko *ko) MonthWide(month time.Month) string {
139 func (ko *ko) MonthsWide() []string {
144 func (ko *ko) WeekdayAbbreviated(weekday time.Weekday) string {
149 func (ko *ko) WeekdaysAbbreviated() []string {
154 func (ko *ko) WeekdayNarrow(weekday time.Weekday) string {
159 func (ko *ko) WeekdaysNarrow() []string {
164 func (ko *ko) WeekdayShort(weekday time.Weekday) string {
169 func (ko *ko) WeekdaysShort() []string {
174 func (ko *ko) WeekdayWide(weekday time.Weekday) string {
179 func (ko *ko) WeekdaysWide() []string {
184 func (ko *ko) Decimal() string {
189 func (ko *ko) Group() string {
194 func (ko *ko) Minus() string {
199 func (ko *ko) FmtNumber(num float64, v uint64) string {
241 func (ko *ko) FmtPercent(num float64, v uint64) string {
271 func (ko *ko) FmtCurrency(num float64, v uint64, currency currency.Type) string {
329 func (ko *ko) FmtAccounting(num float64, v uint64, currency currency.Type) string {
398 func (ko *ko) FmtDateShort(t time.Time) string {
418 func (ko *ko) FmtDateMedium(t time.Time) string {
438 func (ko *ko) FmtDateLong(t time.Time) string {
458 func (ko *ko) FmtDateFull(t time.Time) string {
479 func (ko *ko) FmtTimeShort(t time.Time) string {
510 func (ko *ko) FmtTimeMedium(t time.Time) string {
548 func (ko *ko) FmtTimeLong(t time.Time) string {
580 func (ko *ko) FmtTimeFull(t time.Time) string {