Month class
This class is used to represent the T
month that referenceDate of type T
is in.
Constructors
-
Month(Date<
DateAdapter< referenceDate)AbstractDate> >
Properties
-
days
→ Iterable<
Date< DateAdapter< >AbstractDate> > -
days in this month
no setter
-
firstDay
→ Date<
DateAdapter< AbstractDate> > -
The first day of this month
no setter
- firstWeek → Week
-
The first week of this month
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastDay
→ Date<
DateAdapter< AbstractDate> > -
the last day of this month
no setter
- lastMonth → Month
-
The month before this month
no setter
- lastWeek → Week
-
The last week of this month
no setter
- length → int
-
The number of days in this month
no setter
- monthOfYear → int
-
returns index of month in year
indexes start from 1
no setter
- nextMonth → Month
-
The month after this month
no setter
- numberOfWeeks → int
-
The number of weeks in this month
no setter
-
referenceDate
→ Date<
DateAdapter< AbstractDate> > -
The reference point for this month
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weeks
→ Iterable<
Week> -
weeks in this month
no setter
- year → Year
-
The year containing this month
no setter
Methods
-
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.
inherited