Closed
Description
Kazuki Shimizu (@kazuki43zoo) opened SPR-14839 and commented
I hope to support the @DateTimeFormat
annotation for Joda-Time's YearMonth
, MonthDay
, and Year
types, analogous to the existing support for the corresponding JSR-310 types.
For example:
public class AccountForm {
@DateTimeFormat(pattern="MM/uuuu")
private YearMonth expirationMonth;
@DateTimeFormat(pattern="M/d")
private MonthDay dayOfBirth;
// ...
}
Affects: 4.3.3
Issue Links:
- Conversion support for java.time.YearMonth (as well as MonthDay) [SPR-13518] #18095 Conversion support for java.time.YearMonth (as well as MonthDay)
- ScheduledAnnotationBeanPostProcessor does not support Duration syntax [SPR-15455] #20016 ScheduledAnnotationBeanPostProcessor does not support Duration syntax
- Missing java.time.Year Formatter [SPR-16437] #20983 Missing java.time.Year Formatter
Referenced from: pull request #1215