Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为生日的日期属性的bean:
<property name="birthday" value="06/12/1980"/>
我可以为我的 bean 指定日期格式,以获得 12 月 6 日或 6 月 12 日,还是总是使用默认格式?
有以下选项:
Formatter
DateFormatter
@Formatted