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