UNPKG

@rr0/time

Version:
21 lines 755 B
export class Level2Day extends Level2Component { /** * If some digits are unspecified, an inferred days interval will be returned. * * @param {string} str * @return {Level2Day | {start: Level2Day, end: Level2Day}} */ static fromString(str: string): Level2Day | { start: Level2Day; end: Level2Day; }; /** * @param {Level2ComponentSpec} spec * @param [unit] The day unit */ constructor(spec: Level2ComponentSpec, unit?: import("../../calendar/index.mjs").CalendarUnit); toString(): string; } import { Level2Component } from "../component/Level2Component.mjs"; import type { Level2ComponentSpec } from "../component/Level2Component.mjs"; //# sourceMappingURL=Level2Day.d.mts.map