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