Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set 2011-11-06T14:34:16.679+02:00 into XMLGregorianCalendar

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im building JAXWS client , one of the methods get XMLGregorianCalendar . now i need to format this data 2011-11-06T14:34:16.679+02:00 to be set into XMLGregorianCalendar. how can it be done .
the date is taken from sniffing other clients that connecting to the WS server .
 
John Jai
Rancher
Posts: 1776
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have removed a ':' from the input string timezone indicator to parse into Date.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic