dateparser

Undocumented in source.

Members

Classes

Parser
class Parser(Allocator)

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.

ParserInfo
class ParserInfo

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

Functions

parse
SysTime parse(Range timeString, Flag!"ignoreTimezone" ignoreTimezone, const(TimeZone)[string] timezoneInfos, Flag!"dayFirst" dayFirst, Flag!"yearFirst" yearFirst, Flag!"fuzzy" fuzzy, SysTime defaultDate)

This function offers a generic date/time string Parser which is able to parse most known formats to represent a date and/or time.

Meta