Parser.parse

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.

class Parser(Allocator)
SysTime
parse
(
Range
)
(
,
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))
)
if (
isForwardRange!Range &&
!isInfinite!Range
&&
isSomeChar!(ElementEncodingType!Range)
)
if (
hasMember!(Allocator, "allocate") &&
hasMember!(Allocator, "deallocate")
)

Meta