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