HHMM.prototype.$add(other: ): string
Add two times together, then convert to string. Note that times over "23:59" will be modulo'd back to "00:00" when calling toString
Utility for doing math on strings in the format "hh:mm", such as adding, subtracting, intersection testing and modulo
HHMM.prototype.$add(other: ): string
Add two times together, then convert to string. Note that times over "23:59" will be modulo'd back to "00:00" when calling toString
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";