HHMM.prototype.round(): HHMM
Round a time to nearest interval using flooring or rounding.
Utility for doing math on strings in the format "hh:mm", such as adding, subtracting, intersection testing and modulo
HHMM.prototype.round(): HHMM
Round a time to nearest interval using flooring or rounding.
Add Package
deno add jsr:@revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";
Import directly with a jsr specifier
import { HHMM } from "jsr:@revosw/hhmm";
Add Package
pnpm i jsr:@revosw/hhmm
pnpm dlx jsr add @revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";
Add Package
yarn add jsr:@revosw/hhmm
yarn dlx jsr add @revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";
Add Package
vlt install jsr:@revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";
Add Package
npx jsr add @revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";
Add Package
bunx jsr add @revosw/hhmm
Import symbol
import { HHMM } from "@revosw/hhmm";