Allowing only String patterns severely limits the capability of DateTimeFormatter as it prevents features such as variable length tokens, case insensitivity, etc. as well as use of the predefined ISO/RFC formats. These changes add support for setting DateTimeFormatters in Jsr310ModuleConfig and Jsr310ModuleConfigBuilder while retaining as much pattern functionality as possible to avoid breaking existing logic.
Fixes issue #2
Allowing only String patterns severely limits the capability of
DateTimeFormatter
as it prevents features such as variable length tokens, case insensitivity, etc. as well as use of the predefined ISO/RFC formats. These changes add support for settingDateTimeFormatter
s inJsr310ModuleConfig
andJsr310ModuleConfigBuilder
while retaining as much pattern functionality as possible to avoid breaking existing logic.