File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Setting a date in Java class and I want to convert it into XML Gregorian format
Joined: Nov 20, 2008
Oct 06, 2010 05:25:29
I'm setting a date in
class and i want to convert it into xml georgian format in a single line
is there any method available,how do i solve this problem.
I have this code with me
XMLGregorianCalendar xgc = DatatypeFactory.newInstance().newXMLGregorianCalendar();
xgcCopy = DatatypeFactory.newInstance().newXMLGregorianCalendar(xgc.toXMLFormat());
Joined: Jul 20, 2005
Oct 06, 2010 06:31:18
I agree. Here's the link:
subject: Setting a date in Java class and I want to convert it into XML Gregorian format
how to set 2011-11-06T14:34:16.679+02:00 into XMLGregorianCalendar
How can dateTime field format can be controlled ?
how to get user defined timezone using XMLGregorianCalendar.
Processing & Altering Date XMLGregorianCalendar
Simple Date/Time format question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014