@rr0/time
Version:
EDTF parsing
14 lines • 545 B
text/typescript
export class Level0Year extends Level0Component {
/**
* @param {string} str
* @return {Level0Year}
*/
static fromString(str: string): Level0Year;
/**
* @param {Level0ComponentSpec|number} [spec] The year value spec (current year by default).
* @param {CalendarUnit} [unit] The year unit (GregorianCalendar.year by default).
*/
constructor(spec?: Level0ComponentSpec | number, unit?: CalendarUnit);
}
import { Level0Component } from "../component/index.mjs";
//# sourceMappingURL=Level0Year.d.mts.map