Yogesh's Blog

Sharing me with blog…

October 25th, 2010

XMLGregorianCalendar to Date

Java, by Yogesh.

Way to get Date object from XMLGregorianCalender object.
Suppose XMLGregorianCalender object is xmlGregCal
To get date object, write following statement:
xmlGregCal.toGregorianCalendar().getTime()

Back Top

Leave a Reply

Your email address will not be published. Required fields are marked *