Lines Matching defs:ps

1 package ps  package
12 type ps 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 currencyPositiveSuffix 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 (ps *ps) Locale() string {
84 func (ps *ps) PluralsCardinal() []locales.PluralRule {
89 func (ps *ps) PluralsOrdinal() []locales.PluralRule {
94 func (ps *ps) PluralsRange() []locales.PluralRule {
99 func (ps *ps) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
111 func (ps *ps) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
116 func (ps *ps) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
132 func (ps *ps) MonthAbbreviated(month time.Month) string {
137 func (ps *ps) MonthsAbbreviated() []string {
142 func (ps *ps) MonthNarrow(month time.Month) string {
147 func (ps *ps) MonthsNarrow() []string {
152 func (ps *ps) MonthWide(month time.Month) string {
157 func (ps *ps) MonthsWide() []string {
162 func (ps *ps) WeekdayAbbreviated(weekday time.Weekday) string {
167 func (ps *ps) WeekdaysAbbreviated() []string {
172 func (ps *ps) WeekdayNarrow(weekday time.Weekday) string {
177 func (ps *ps) WeekdaysNarrow() []string {
182 func (ps *ps) WeekdayShort(weekday time.Weekday) string {
187 func (ps *ps) WeekdaysShort() []string {
192 func (ps *ps) WeekdayWide(weekday time.Weekday) string {
197 func (ps *ps) WeekdaysWide() []string {
202 func (ps *ps) Decimal() string {
207 func (ps *ps) Group() string {
212 func (ps *ps) Minus() string {
217 func (ps *ps) FmtNumber(num float64, v uint64) string {
265 func (ps *ps) FmtPercent(num float64, v uint64) string {
299 func (ps *ps) FmtCurrency(num float64, v uint64, currency currency.Type) string {
363 func (ps *ps) FmtAccounting(num float64, v uint64, currency currency.Type) string {
433 func (ps *ps) FmtDateShort(t time.Time) string {
452 func (ps *ps) FmtDateMedium(t time.Time) string {
471 func (ps *ps) FmtDateLong(t time.Time) string {
492 func (ps *ps) FmtDateFull(t time.Time) string {
514 func (ps *ps) FmtTimeShort(t time.Time) string {
531 func (ps *ps) FmtTimeMedium(t time.Time) string {
555 func (ps *ps) FmtTimeLong(t time.Time) string {
585 func (ps *ps) FmtTimeFull(t time.Time) string {