UNPKG

@rr0/time

Version:
21 lines 748 B
export class Level1Month extends Level1Component { /** * If some digits are unspecified, an inferred months interval will be returned. * * @param {string} str A month EDTF string. * @return {Level1Month | {start: Level1Month, end: Level1Month}} */ static fromString(str: string): Level1Month | { start: Level1Month; end: Level1Month; }; /** * @param {Level1ComponentSpec|number} spec * @param [unit] The month unit. */ constructor(spec: Level1ComponentSpec | number, unit?: CalendarUnit); toString(): string; } import { Level1Component } from "../component/index.mjs"; import { CalendarUnit } from "../../calendar/index.mjs"; //# sourceMappingURL=Level1Month.d.mts.map