UNPKG

date-fns

Version:

Modern JavaScript date utility library

22 lines (21 loc) 685 B
import type { Match } from "../../../locale/types.ts"; import { Parser } from "../Parser.ts"; import type { ParseFlags, ParseResult, ParserOptions } from "../types.ts"; export declare class StandAloneLocalDayParser extends Parser<number> { priority: number; parse( dateString: string, token: string, match: Match, options: ParserOptions, ): ParseResult<number>; validate<DateType extends Date>(_date: DateType, value: number): boolean; set<DateType extends Date>( date: DateType, _flags: ParseFlags, value: number, options: ParserOptions, ): DateType; incompatibleTokens: string[]; } //# sourceMappingURL=StandAloneLocalDayParser.d.ts.map