Lines Matching defs:root

1 package root  package
12 type root 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 monthsAbbreviated []string
26 monthsNarrow []string
27 monthsWide []string
28 daysAbbreviated []string
29 daysNarrow []string
30 daysShort []string
31 daysWide []string
32 periodsAbbreviated []string
33 periodsNarrow []string
34 periodsShort []string
35 periodsWide []string
36 erasAbbreviated []string
37 erasNarrow []string
38 erasWide []string
39 timezones map[string]string
72 func (root *root) Locale() string {
77 func (root *root) PluralsCardinal() []locales.PluralRule {
82 func (root *root) PluralsOrdinal() []locales.PluralRule {
87 func (root *root) PluralsRange() []locales.PluralRule {
92 func (root *root) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
97 func (root *root) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
102 …(root *root) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
107 func (root *root) MonthAbbreviated(month time.Month) string {
112 func (root *root) MonthsAbbreviated() []string {
117 func (root *root) MonthNarrow(month time.Month) string {
122 func (root *root) MonthsNarrow() []string {
127 func (root *root) MonthWide(month time.Month) string {
132 func (root *root) MonthsWide() []string {
137 func (root *root) WeekdayAbbreviated(weekday time.Weekday) string {
142 func (root *root) WeekdaysAbbreviated() []string {
147 func (root *root) WeekdayNarrow(weekday time.Weekday) string {
152 func (root *root) WeekdaysNarrow() []string {
157 func (root *root) WeekdayShort(weekday time.Weekday) string {
162 func (root *root) WeekdaysShort() []string {
167 func (root *root) WeekdayWide(weekday time.Weekday) string {
172 func (root *root) WeekdaysWide() []string {
177 func (root *root) Decimal() string {
182 func (root *root) Group() string {
187 func (root *root) Minus() string {
192 func (root *root) FmtNumber(num float64, v uint64) string {
199 func (root *root) FmtPercent(num float64, v uint64) string {
204 func (root *root) FmtCurrency(num float64, v uint64, currency currency.Type) string {
213 func (root *root) FmtAccounting(num float64, v uint64, currency currency.Type) string {
221 func (root *root) FmtDateShort(t time.Time) string {
251 func (root *root) FmtDateMedium(t time.Time) string {
270 func (root *root) FmtDateLong(t time.Time) string {
289 func (root *root) FmtDateFull(t time.Time) string {
310 func (root *root) FmtTimeShort(t time.Time) string {
331 func (root *root) FmtTimeMedium(t time.Time) string {
359 func (root *root) FmtTimeLong(t time.Time) string {
391 func (root *root) FmtTimeFull(t time.Time) string {