Check if xsd datetime had a defined timezone before conversion to Java object
This question already has an answer here:
I posted the answer to this question on my other question: java - How to check if a Calendar instance was originally a wrong date.
The principle is to use JodaTime API and a custom Adapter and a custom wrapper type for the DateTime object.
链接地址: http://www.djcxy.com/p/394.html