@rr0/time
Version:
EDTF parsing
19 lines • 691 B
text/typescript
export class Level1Hour extends Level1Component {
/**
* If some digits are unspecified, an inferred hour interval will be returned.
*
* @param {string} str
* @return {Level1Hour | {start: Level1Hour, end: Level1Hour}}
*/
static fromString(str: string): Level1Hour | {
start: Level1Hour;
end: Level1Hour;
};
/**
* @param {Level1ComponentSpec|number} spec The hour spec value.
* @param [unit] The hour unit.
*/
constructor(spec: Level1ComponentSpec | number, unit?: import("../../calendar/index.mjs").CalendarUnit);
}
import { Level1Component } from "../component/index.mjs";
//# sourceMappingURL=Level1Hour.d.mts.map