Variable ParseEngineConst
ParseEngine: {
conform: (
this: any,
...args:
| [
tempo: DateTime,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
]
| [
State,
tempo: DateTime,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
],
) =>
| { calendar?: undefined; type: string; value: any; zone?: undefined }
| { calendar: string; type: string; value: ZonedDateTime; zone: string };
isZonedDateTimeLike: (
this: any,
...args: [tempo: Options | DateTime] | [State, tempo: Options | DateTime],
) => boolean;
parse: (
this: any,
...args:
| [tempo: DateTime, dateTime?: ZonedDateTime, term?: string]
| [State, tempo: DateTime, dateTime?: ZonedDateTime, term?: string],
) => any;
parseLayout: (
this: any,
...args:
| [
value: string
| number,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
]
| [
State,
value: string
| number,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
],
) => TypeValue;
parseMatch: (
this: any,
...args:
| [pat: RegExp, value: string | number]
| [State, pat: RegExp, value: string | number],
) => R;
result: (
this: any,
...args: Partial<Match>[] | [State, ...Partial<Match>[]],
) => void;
} = ...
Type Declaration
isZonedDateTimeLike: (
this: any,
...args: [tempo: Options | DateTime] | [State, tempo: Options | DateTime],
) => boolean
parse: (
this: any,
...args:
| [tempo: DateTime, dateTime?: ZonedDateTime, term?: string]
| [State, tempo: DateTime, dateTime?: ZonedDateTime, term?: string],
) => any
parseLayout: (
this: any,
...args:
| [
value: string
| number,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
]
| [
State,
value: string
| number,
dateTime: ZonedDateTime,
isAnchored: boolean,
resolvingKeys: Set<string>,
],
) => TypeValue
parseMatch: (
this: any,
...args:
| [pat: RegExp, value: string | number]
| [State, pat: RegExp, value: string | number],
) => R
result: (this: any, ...args: Partial<Match>[] | [State, ...Partial<Match>[]]) => void
Public Parse Engine (wrapped for dual-mode support)