method Duration.prototype.toWeeks
Duration.prototype.toWeeks(): number

Converts the duration to weeks.

Return Type

number

Usage

import { Duration } from ".";