Closed
Description
Michał Sobkiewicz opened SPR-16437 and commented
Please consider adding some kind of org.springframework.format.datetime.standard.YearFormatter
(similarly to org.springframework.format.datetime.standard.YearMonthFormatter
).
I believe it's more convenient and self-explanatory to use java.time.Year
as param in e.g. handlers whenever it really means a year and so on.
Affects: 5.0.3
Issue Links:
- @DateTimeFormat support for YearMonth, MonthDay, Year [SPR-14839] #19405
@DateTimeFormat
support for YearMonth, MonthDay, Year
Referenced from: commits ef2e169