DurationWeeks extension

Extension on Duration to add methods to enters weeks.

on

Properties

inWeeks int

Available on Duration, provided by the DurationWeeks extension

The number of entire weeks spanned by this Duration.
no setter

Constants

daysPerWeek → const int
The number of day per week.
microsecondsPerWeek → const int
The number of microseconds per week.