You probably would need to write your own writing routines for this. For an example starting point, see: http://weblogs.java.net/blog/felipegaucho/archive/2009/12/06/jaxb- customization-xsddatetime
Dan On Tuesday 13 April 2010 11:57:56 pm Wadi Jalil Maluf wrote: > Hi all, > My app returns some dates from the database, I change > maunally the TimeZone but when serializing it doesnt apply the timezone > setting.I know that for printing a date in a certain locale I have to > use a dateFormatter, but seems that here only uses tostring method when > serializes the Calendar. Does any one have any idea on how to solve > this, if there is a better way of doing this changes?Im using hibernate > and postgres. > Thanks in advance, > Regards -- Daniel Kulp [email protected] http://dankulp.com/blog
