Year class
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- inDays → int
-
Returns number of days in this year
no setter
- inMonths → int
-
no setter
- inWeeks → int
-
Returns number of ISO weeks in this year
no setter
- isLeap → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
Ordinal value of the year
final
Methods
-
compareTo(
Year other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
override
Operators
-
operator +(
int value) → Year -
operator -(
int value) → Year -
operator <(
Year other) → bool -
operator <=(
Year other) → bool -
operator ==(
Object other) → bool -
override
-
operator >(
Year other) → bool -
operator >=(
Year other) → bool
Static Methods
-
checkedValue(
int year) → int -
isValidValue(
int year) → bool