Padding class now suggests only strict options. You either have NONE or ZERO or SPACE. Same for formating and parsing.
It looks like a common usecase to have a flexible parser but strict formatted.
This can be implemented now as
alternativeParsing({ year(Padding.NONE) }) { year(Padding.ZERO) }
But this is quite verbose and probably suboptimal. I suggest to add Padding.OPTIONAL_ZERO and maybe something else similar. to fix it.
Padding class now suggests only strict options. You either have NONE or ZERO or SPACE. Same for formating and parsing.
It looks like a common usecase to have a flexible parser but strict formatted.
This can be implemented now as
But this is quite verbose and probably suboptimal. I suggest to add Padding.OPTIONAL_ZERO and maybe something else similar. to fix it.