UNPKG

@rr0/time

Version:
23 lines 771 B
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