parse method
Parses the given text value according to the rules of this pattern.
This method never throws an exception (barring a bug in Time Machine itself). Even errors such as the argument being null are wrapped in a parse result.
text
: The text value to parse.
Returns: The result of parsing, which may be successful or unsuccessful.
Implementation
@override
ParseResult<LocalDateTime> parse(String text) => _underlyingPattern.parse(text);