Skip to main content
Module

x/durationjs/mod.ts>Duration#setMinutes

Get the formated time duration
Go to Latest
method Duration.prototype.setMinutes
import { Duration } from "https://deno.land/x/durationjs@v4.1.0/mod.ts";

Set minutes of the duration.

Parameters

n: number

Number of minutes to set.

Returns

The updated duration.