日期适配器,配置在 bindings 文件中
CXF 3.x 后,DataTypeAdapter 迁移了,为了保持老版的兼容性,这里重写两个:
| Type | Name and description |
|---|---|
static Date |
parseDateTime(String s)将字符串转为日期 |
static String |
printDateTime(Date dt) |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |