Week class

Constructors

Week(Date<DateAdapter<AbstractDate>> referenceDate)

Properties

days Iterable<Date<DateAdapter<AbstractDate>>>
The days in this week
no setter
firstDayOfTheWeek Date<DateAdapter<AbstractDate>>
no setter
hashCode int
The hash code for this object.
no setterinherited
lastDayOfTheWeek Date<DateAdapter<AbstractDate>>
no setter
lastWeek Week
the week before this week
no setter
month Month
the month containing the referenceDate of the week a week can be between two month
no setter
nextWeek Week
the week after this week
no setter
referenceDate Date<DateAdapter<AbstractDate>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weekInMonth int
Index of this week in it's month. starts from 1.
no setter

Methods

containsDate(Date<DateAdapter<AbstractDate>> date) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

normalizeWeekDay(int firstWeekDay, int weekDay) int