vremel
Version:
JavaScript date utility library for Temporal API
8 lines • 433 B
TypeScript
import type { Temporal } from "../types.js";
/**
* Returns the end of a year for the given datetime
* @param dt datetime object which includes date info
* @returns Temporal object which represents the end of a year
*/
export declare function endOfYear<DateTime extends Temporal.PlainDate | Temporal.PlainDateTime | Temporal.PlainYearMonth | Temporal.ZonedDateTime>(dt: DateTime): DateTime;
//# sourceMappingURL=endOfYear.d.ts.map