CompositePrinterParser

Composite printer and parser.

Constructors

this
this(List!(DateTimePrinterParser) printerParsers, bool optional)
Undocumented in source.
this
this(DateTimePrinterParser[] printerParsers, bool optional)
Undocumented in source.

Members

Functions

format
bool format(DateTimePrintContext context, StringBuilder buf)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
int parse(DateTimeParseContext context, string text, int position)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
withOptional
CompositePrinterParser withOptional(bool optional)

Returns a copy of this printer-parser with the optional flag changed.

Inherited Members

From DateTimePrinterParser

format
bool format(DateTimePrintContext context, StringBuilder buf)

Prints the date-time object to the buffer. !(p) The context holds information to use during the format. It also contains the date-time information to be printed. !(p) The buffer must not be mutated beyond the content controlled by the implementation.

parse
int parse(DateTimeParseContext context, string text, int position)

Parses text into date-time information. !(p) The context holds information to use during the parse. It is also used to store the parsed date-time information.

toString
string toString()
Undocumented in source.

Meta