Clears the current error. Returns true if an error was cleared, false otherwise.
Returns the current error message, or null if no error.
Formats the stored values using the pattern. Any arguments passed are set as positional values before formatting.
Optionalargs: anyValues to set at positions 0, 1, 2, etc. before formatting.
Gets the parsed value at the given position as a boolean.
The zero-based positional index.
Gets the parsed value at the given position as a Date (date-only, no time component).
The zero-based positional index.
Gets the parsed value at the given position as a DateTime.
The zero-based positional index.
Gets the parsed value at the given position as a floating-point number.
The zero-based positional index.
Gets the parsed value at the given position as an integer.
The zero-based positional index.
Gets the parsed value at the given position as a string.
The zero-based positional index.
Gets the parsed value at the given position as a Time (time-only, no date component).
The zero-based positional index.
Parses a string using the pattern and stores the extracted values. Returns true on success, false on failure.
The string to parse.
Sets a value at the specified positional index. Returns true if the value changed, false if it stayed the same.
The zero-based positional index.
The value to set.
A stateful message formatter that wraps Java's MessageFormat. Supports formatting, parsing, positional value setting, and typed value extraction.