UNPKG

vremel

Version:

JavaScript date utility library for Temporal API

8 lines 441 B
import type { Temporal } from "../types.js"; /** * Returns the start of a year for the given datetime * @param dt datetime object which includes date info * @returns Temporal object which represents the start of a year */ export declare function startOfYear<DateTime extends Temporal.PlainDate | Temporal.PlainDateTime | Temporal.PlainYearMonth | Temporal.ZonedDateTime>(dt: DateTime): DateTime; //# sourceMappingURL=startOfYear.d.ts.map