timepiece/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.d.ts

13 lines
394 B
TypeScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
import { Parser } from "../Parser.js";
import type { ParseFlags, ParseResult } from "../types.js";
export declare class ISOTimezoneWithZParser 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[];
}