@rr0/time
Version:
EDTF parsing
20 lines • 793 B
text/typescript
export class Level2Minute extends Level2Component {
/**
* If some digits are unspecified, an inferred minutes interval will be returned.
*
* @param {string} str
* @return {Level2Minute | {start: Level2Minute, end: Level2Minute}}
*/
static fromString(str: string): Level2Minute | {
start: Level2Minute;
end: Level2Minute;
};
/**
* @param {Level2ComponentSpec} spec The year spec value
* @param {CalendarUnit} [unit] The year unit (calendarUnits.minute by default)
*/
constructor(spec: Level2ComponentSpec, unit?: CalendarUnit);
}
import { Level2Component } from "../component/Level2Component.mjs";
import type { Level2ComponentSpec } from "../component/Level2Component.mjs";
//# sourceMappingURL=Level2Minute.d.mts.map