I am trying to de-serialize an xml file using JAXB Unmarshaller class containing the following node
The property and getter and setter defined for the above field are
private Date Dateofsubmission = null;
public Date getDateofsubmission()
public void setDateofsubmission(Date Dateofsubmission)
this.Dateofsubmission = Dateofsubmission;
when JAXB unmarshalls, I am getting 'null' for the property when the time is greter than 14:00.
For example if the xml is <dateofsubmission>2011-10-03-14:00</dateofsubmission> and everything works fine.
I was wondering what it takes to make it working for all the times.
Perhaps daylight-saving time started at 14:00 on that date in that timezone, so there are no valid times between 14:00 and 15:00? That could be tested by trying times after 15:00.
That would make it a Southern Hemisphere timezone...