commit | 999f319dcfe7786f15177378f4d7e2b028e74809 | [log] [tgz] |
---|---|---|
author | Tellier Benoit <btellier@linagora.com> | Sun Jun 20 09:45:20 2021 +0700 |
committer | GitHub <noreply@github.com> | Sun Jun 20 09:45:20 2021 +0700 |
tree | 090955091988e0a8d215ada7d2a25f380154f958 | |
parent | 566ebcd97124e0a2c33ce554c9c74e075c4f5ff0 [diff] |
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