Lines Matching defs:to

1 package to  package
12 type to 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 percentSuffix string
22 perMille string
23 timeSeparator string
24 inifinity string
25 currencies []string // idx = enum of currency code
26 currencyPositiveSuffix string
27 currencyNegativeSuffix string
28 monthsAbbreviated []string
29 monthsNarrow []string
30 monthsWide []string
31 daysAbbreviated []string
32 daysNarrow []string
33 daysShort []string
34 daysWide []string
35 periodsAbbreviated []string
36 periodsNarrow []string
37 periodsShort []string
38 periodsWide []string
39 erasAbbreviated []string
40 erasNarrow []string
41 erasWide []string
42 timezones map[string]string
81 func (to *to) Locale() string {
86 func (to *to) PluralsCardinal() []locales.PluralRule {
91 func (to *to) PluralsOrdinal() []locales.PluralRule {
96 func (to *to) PluralsRange() []locales.PluralRule {
101 func (to *to) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
106 func (to *to) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
111 func (to *to) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
116 func (to *to) MonthAbbreviated(month time.Month) string {
121 func (to *to) MonthsAbbreviated() []string {
126 func (to *to) MonthNarrow(month time.Month) string {
131 func (to *to) MonthsNarrow() []string {
136 func (to *to) MonthWide(month time.Month) string {
141 func (to *to) MonthsWide() []string {
146 func (to *to) WeekdayAbbreviated(weekday time.Weekday) string {
151 func (to *to) WeekdaysAbbreviated() []string {
156 func (to *to) WeekdayNarrow(weekday time.Weekday) string {
161 func (to *to) WeekdaysNarrow() []string {
166 func (to *to) WeekdayShort(weekday time.Weekday) string {
171 func (to *to) WeekdaysShort() []string {
176 func (to *to) WeekdayWide(weekday time.Weekday) string {
181 func (to *to) WeekdaysWide() []string {
186 func (to *to) Decimal() string {
191 func (to *to) Group() string {
196 func (to *to) Minus() string {
201 func (to *to) FmtNumber(num float64, v uint64) string {
243 func (to *to) FmtPercent(num float64, v uint64) string {
275 func (to *to) FmtCurrency(num float64, v uint64, currency currency.Type) string {
333 func (to *to) FmtAccounting(num float64, v uint64, currency currency.Type) string {
397 func (to *to) FmtDateShort(t time.Time) string {
416 func (to *to) FmtDateMedium(t time.Time) string {
435 func (to *to) FmtDateLong(t time.Time) string {
454 func (to *to) FmtDateFull(t time.Time) string {
475 func (to *to) FmtTimeShort(t time.Time) string {
505 func (to *to) FmtTimeMedium(t time.Time) string {
542 func (to *to) FmtTimeLong(t time.Time) string {
584 func (to *to) FmtTimeFull(t time.Time) string {