@rr0/time
Version:
EDTF parsing
17 lines • 760 B
text/typescript
export class Level0Month extends Level0Component {
/**
* @param {string} str
* @return {Level0Month}
*/
static fromString(str: string): Level0Month;
/**
* @param {Level0ComponentSpec|number} [spec] The month value spec (current month by default).
* @param {GregorianMonth} [unit] The month unit (GregorianMonth.create(currentMonth) by default).
*/
constructor(spec?: Level0ComponentSpec | number, unit?: GregorianMonth);
toString(renderer?: PaddedComponentRenderer): string;
}
import { Level0Component } from "../component/index.mjs";
import { PaddedComponentRenderer } from "../PaddedComponentRenderer.mjs";
import { GregorianMonth } from "../../calendar/index.mjs";
//# sourceMappingURL=Level0Month.d.mts.map