Check if xsd datetime had a defined timezone before conversion to Java object

This question already has an answer here:

  • java - How to check if a Calendar instance was originally a wrong date 2 answers

  • 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

    上一篇: Java和JavaScript时间戳不一样

    下一篇: 检查在转换为Java对象之前xsd datetime是否具有已定义的时区