ZoneTextPrinterParser

Prints or parses a zone ID.

Constructors

this
this(TextStyle textStyle, Set!(ZoneId) preferredZones, bool isGeneric)
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.

Inherited Members

From ZoneIdPrinterParser

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.

Meta