@rr0/time
Version:
EDTF parsing
23 lines • 771 B
text/typescript
export class Level1YearParseResult extends Level1ComponentParseResult {
}
export class Level1YearParser extends Level1ComponentParser<any> {
/**
* The Regex pattern to match.
*
* @param {string} [prefix] The group name prefix, if any.
* @return {string}
*/
static format(prefix?: string): string;
/**
* Creates a level-1 EDTF year component parser.
*/
constructor();
/**
* @param {string} str
* @return {Level1ComponentParseResult}
*/
parse(str: string): Level1ComponentParseResult;
}
import { Level1ComponentParseResult } from "../component/Level1ComponentParser.mjs";
import { Level1ComponentParser } from "../component/Level1ComponentParser.mjs";
//# sourceMappingURL=Level1YearParser.d.mts.map