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