Search code examples
javaserializationxmlbeans

xml beans: error "date before year -4713"


I have next xml

                  <b:Recording>
                      <b:startTime>2010-08-03T08:39:31.132625</b:startTime>
                      <b:stopTime>2010-08-03T08:40:50.132625</b:stopTime>
                      <b:timeDiff>PT3M10.867375S</b:timeDiff>
                   </b:Recording>

during process of serializetion this xml to the beans (I use xml beans framework ) I receive error date before year -4713 How to fix this error ? Thanks.

P.S. type of start and stop times are: xsd:dateTime and for timeDiff is: xsd:duration


Solution

  • This sounds like the dates are in another format than expected by the active locale.