Parser

Implements the parsing functionality for the parse function. If you are using a custom ParserInfo many times in the same program, you can avoid unnecessary allocations by using the Parser.parse function directly.

Constructors

this
this(const ParserInfo parserInfo = null)

Members

Functions

parse
SysTime parse(Range timeString, Flag!"ignoreTimezone" ignoreTimezone = No.ignoreTimezone, const(TimeZone)[string] timezoneInfos = null, Flag!"dayFirst" dayFirst = No.dayFirst, Flag!"yearFirst" yearFirst = No.yearFirst, Flag!"fuzzy" fuzzy = No.fuzzy, SysTime defaultDate = SysTime(Date(1, 1, 1)))

This function has the same functionality as the free version of parse. The only difference is this will use your custom ParserInfo or allocator if provided.

Meta