weeks property

Duration get weeks

Returns a Duration with the given number of weeks.

Implementation

Duration get weeks =>
    Duration(microseconds: this * DurationWeeks.microsecondsPerWeek);