A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
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
xgc = DatatypeFactory.newInstance().newXMLGregorianCalendar();
xgcCopy = DatatypeFactory.newInstance().newXMLGregorianCalendar(xgc.toXMLFormat());
Joined: Jul 20, 2005
Oct 06, 2010 06:31:18
It is sorta covered in the
JavaRanch Style Guide
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-2015