WeekInformation class final

A Week calculator, useful to be passed in to week_of_year() on Date and DateTime types

See the Rust documentation for WeekInformation for more information.

Implemented types

Constructors

WeekInformation.new(Locale locale)
Creates a new WeekInformation from locale data using compiled data.
factory
WeekInformation.withProvider(DataProvider provider, Locale locale)
Creates a new WeekInformation from locale data using a particular data source.
factory

Properties

firstWeekday Weekday
Returns the weekday that starts the week for this object's locale
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weekend WeekdaySetIterator
See the Rust documentation for weekend for more information.
no setter

Methods

isWeekend(Weekday day) bool
See the Rust documentation for weekend for more information.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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