ZoneIdPrinterParser

Prints or parses a zone ID.

Constructors

this
this(TemporalQuery!(ZoneId) query, string description)
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.
getTree
PrefixTree getTree(DateTimeParseContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
int parse(DateTimeParseContext context, string text, int position)

This implementation looks for the longest matching string. For example, parsing Etc/GMT-2 will return Etc/GMC-2 rather than just Etc/GMC although both are valid.

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

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