UNPKG

@rr0/time

Version:
18 lines 678 B
export class Level1Year extends Level1Component { /** * @param {string} str * @param [unit] * @return {Level1Year | {start: Level1Year, end: Level1Year}} */ static fromString(str: string, unit?: import("../../calendar/index.mjs").CalendarUnit): Level1Year | { start: Level1Year; end: Level1Year; }; /** * @param {Level1ComponentSpec|number} spec The year spec value. * @param [unit] The year unit. */ constructor(spec: Level1ComponentSpec | number, unit?: import("../../calendar/index.mjs").CalendarUnit); } import { Level1Component } from "../component/index.mjs"; //# sourceMappingURL=Level1Year.d.mts.map