RruleL10n class abstract

Contains localized strings used by RecurrenceRule.toText.

Currently, only English is supported: RruleL10nEn.

Implementers
Annotations
  • @immutable

Constructors

RruleL10n()
const

Properties

everyXDaysOfWeekPrefix String
no setter
hashCode int
The hash code for this object.
no setterinherited
locale String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weekdays Set<int>
no setter
weekdaysString String?
no setter

Methods

count(int count) String
dayOfWeek(int dayOfWeek) String
formatWithIntl(String formatter()) String
frequencyInterval(Frequency frequency, int interval) String
inMonths(String months, {InOnVariant variant = InOnVariant.simple}) String
inWeeks(String weeks, {InOnVariant variant = InOnVariant.simple}) String
list(List<String> items, ListCombination combination) String
month(int month) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nthDaysOfWeek(Iterable<int> occurrences, String daysOfWeek) String
onDaysOfMonth(String days, {DaysOfVariant daysOfVariant = DaysOfVariant.dayAndFrequency, InOnVariant variant = InOnVariant.simple}) String
onDaysOfWeek(String days, {bool indicateFrequency = false, DaysOfWeekFrequency? frequency = DaysOfWeekFrequency.monthly, InOnVariant variant = InOnVariant.simple}) String
onDaysOfYear(String days, {InOnVariant variant = InOnVariant.simple}) String
onInstances(String instances) String
ordinal(int number) String
range(String start, String end) String
toString() String
A string representation of this object.
inherited
until(DateTime until, Frequency frequency) String

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

defaultList(List<String> items, {required String two, String start = ', ', String middle = ', ', required String end}) String
Generates a formatted list from items similar to the Unicode-Proposal.