ParserInfo

Class which handles what inputs are accepted. Subclass this to customize the language and acceptable values for each parameter.

Constructors

this
this(bool dayFirst, bool yearFirst)

Ctor

Members

Functions

ampm
int ampm(S name)
hms
int hms(S name)

Tests for presence of name in each of the AAs

jump
bool jump(S name)
month
int month(S name)
pertain
bool pertain(S name)
tzoffset
int tzoffset(S name)
utczone
bool utczone(S name)
weekday
int weekday(S name)

Tests for presence of name in each of the AAs

Static functions

convert
int[string] convert(Range list)

Take a range of character ranges or a range of ranges of character ranges and converts it to an associative array that the internal parser info methods can use.

Variables

ampmAA
int[string] ampmAA;
hmsAA
int[string] hmsAA;

AAs used for matching strings to calendar numbers, e.g. Jan is 1

jumpAA
int[string] jumpAA;
monthsAA
int[string] monthsAA;
pertainAA
int[string] pertainAA;
utczoneAA
int[string] utczoneAA;
weekdaysAA
int[string] weekdaysAA;

AAs used for matching strings to calendar numbers, e.g. Jan is 1

Meta