time_machine_text_patterns library

Classes

AnnualDatePattern
Represents a pattern for parsing and formatting AnnualDate values.
CompositePatternBuilder<T>
A builder for composite patterns.
InstantPattern
Represents a pattern for parsing and formatting Instant values.
IPattern<T>
Generic interface supporting parsing and formatting. Parsing always results in a ParseResult which can represent success or failure.
LocalDatePattern
Represents a pattern for parsing and formatting LocalDate values.
LocalDateTimePattern
Represents a pattern for parsing and formatting LocalDateTime values.
LocalTimePattern
Represents a pattern for parsing and formatting LocalTime values.
OffsetDatePattern
Represents a pattern for parsing and formatting OffsetDate values.
OffsetDateTimePattern
Represents a pattern for parsing and formatting OffsetDateTime values.
OffsetPattern
Represents a pattern for parsing and formatting Offset values.
OffsetTimePattern
Represents a pattern for parsing and formatting OffsetTime values.
ParseResult<T>
The result of a parse operation.
PeriodPattern
Represents a pattern for parsing and formatting Period values.
TimePattern
Represents a pattern for parsing and formatting Time values.
ZonedDateTimePattern
Represents a pattern for parsing and formatting ZonedDateTime values.

Exceptions / Errors

InvalidPatternError
Exception thrown to indicate that the format pattern provided for either formatting or parsing is invalid.
UnparsableValueError
Exception thrown to indicate that the specified value could not be parsed.