validUnitWeek property

bool validUnitWeek

Returns whether the difference can be converted into the time unit week.

Implementation

bool get validUnitWeek =>
    differenceMsAbs < MS_PER_MONTH &&
    (differenceMsAbs / MS_PER_WEEK).abs().round() != WKS_PER_MNTH;