Spring Formatter类全路径: org.springframework.format.FormatterpublicinterfaceFormatter<T> extendsPrinter<T>, Parser<T> { }该接口继承了 printer 和 parser 两个接口.比较常见的有: DateFormatter 就是继承这个接口.