程序包的使用
org.springframework.format.annotation
使用org.springframework.format.annotation的程序包 程序包 说明 org.springframework.format.annotation Annotations for declaratively configuring field formatting rules.org.springframework.format.datetime Formatters forjava.util.Date
properties.org.springframework.format.datetime.joda Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.org.springframework.format.datetime.standard Integration with the JSR-310java.time
package in JDK 8.org.springframework.format.number Formatters forjava.lang.Number
properties.org.springframework.format.number.money Integration with the JSR-354javax.money
package.org.springframework.format.annotation使用的org.springframework.format.annotation中的类 类 说明 DateTimeFormat.ISO Common ISO date time format patterns.NumberFormat.Style Common number format styles.org.springframework.format.datetime使用的org.springframework.format.annotation中的类 类 说明 DateTimeFormat Declares that a field or method parameter should be formatted as a date or time.DateTimeFormat.ISO Common ISO date time format patterns.org.springframework.format.datetime.joda使用的org.springframework.format.annotation中的类 类 说明 DateTimeFormat Declares that a field or method parameter should be formatted as a date or time.DateTimeFormat.ISO Common ISO date time format patterns.org.springframework.format.datetime.standard使用的org.springframework.format.annotation中的类 类 说明 DateTimeFormat Declares that a field or method parameter should be formatted as a date or time.DateTimeFormat.ISO Common ISO date time format patterns.org.springframework.format.number使用的org.springframework.format.annotation中的类 类 说明 NumberFormat Declares that a field or method parameter should be formatted as a number.org.springframework.format.number.money使用的org.springframework.format.annotation中的类 类 说明 NumberFormat Declares that a field or method parameter should be formatted as a number.