@rr0/time
Version:
EDTF parsing
19 lines • 682 B
text/typescript
export class Level1Day extends Level1Component {
/**
* @param {string} str
* @return {Level1Day | {start: Level1Day, end: Level1Day}}
*/
static fromString(str: string): Level1Day | {
start: Level1Day;
end: Level1Day;
};
/**
* @param {Level1ComponentSpec|number} spec The day spec value.
* @param [unit] The day unit.
*/
constructor(spec: Level1ComponentSpec | number, unit?: import("../../calendar/index.mjs").CalendarUnit);
toString(): string;
}
import { Level1Component } from "../component/index.mjs";
import type { Level1ComponentSpec } from "../component/index.mjs";
//# sourceMappingURL=Level1Day.d.mts.map