HHMM.prototype.intervals(): Generator<HHMM>
Generate all intervals between a start time and end time. If end is less than start, generate all intervals between start and end + 24h
Utility for doing math on strings in the format "hh:mm", such as adding, subtracting, intersection testing and modulo
HHMM.prototype.intervals(): Generator<HHMM>
Generate all intervals between a start time and end time. If end is less than start, generate all intervals between start and end + 24h
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";