Weeks class final

Inheritance

Constructors

Weeks(int inWeeks)
const
Weeks.fromJson(int json)
const

Properties

absolute Weeks
no setteroverride
asCompoundDaysDuration CompoundDaysDuration
no setterinherited
asCompoundDuration CompoundDuration
no setterinherited
asDays Days
no setteroverride
asNormalHours Hours
no setterinherited
asNormalMicroseconds Microseconds
no setterinherited
asNormalMilliseconds Milliseconds
no setterinherited
asNormalMinutes Minutes
no setterinherited
asNormalNanoseconds Nanoseconds
no setterinherited
asNormalSeconds Seconds
no setterinherited
asWeeksAndDays → (Weeks, Days)
Both are >= 0 or both are <= 0.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inDays int
no setterinherited
inWeeks int
final
isNegative bool
no setterinherited
isNonNegative bool
no setterinherited
isNonPositive bool
no setterinherited
isPositive bool
no setterinherited
isZero bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(FixedDaysDuration other) int
Compares this object to another object.
inherited
dividedByFixedDaysDuration(FixedDaysDuration divisor) double
inherited
dividedByWeeks(Weeks divisor) double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remainder(int divisor) Weeks
override
roundToWeeks({Rounding rounding = Rounding.nearestAwayFromZero}) Weeks
inherited
toJson() int
toString() String
A string representation of this object.
override

Operators

operator %(int divisor) Weeks
override
operator *(int factor) Weeks
override
operator +(Weeks duration) Weeks
operator -(Weeks duration) Weeks
operator <(FixedDaysDuration other) bool
inherited
operator <=(FixedDaysDuration other) bool
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(FixedDaysDuration other) bool
inherited
operator >=(FixedDaysDuration other) bool
inherited
operator unary-() Weeks
override
operator ~/(int divisor) Weeks
override