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