Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MIME4J-298 Convert DateTimeFieldLenientImpl to DateTimeFormatter (#44)
This allows: - Specifying all patterns at once, avoiding one parsing pass per pattern - DateTimeFormatter is thread safe, thus can be initialized once and reused Special care have been taken to preserve previous behaviour (missing tests were added): - Accept extra input after the date - Relax cross-validation
- Loading branch information
Showing
2 changed files
with
115 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters