timepiece/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.d.mts

13 lines
391 B
TypeScript

import { Parser } from "../Parser.js";
import type { ParseFlags, ParseResult } from "../types.js";
export declare class ExtendedYearParser extends Parser<number> {
priority: number;
parse(dateString: string, token: string): ParseResult<number>;
set<DateType extends Date>(
date: DateType,
_flags: ParseFlags,
value: number,
): DateType;
incompatibleTokens: string[];
}