google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Support for XMLGregorianCalendar #335

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to see XMLGregorianCalendar being supported by morphia. I've 
already written the attached Converter.

The reason to support XMLGregorianCalendar is to get closer of supporting all 
datatypes defined in the XML schema specification:
http://www.w3schools.com/schema/

Please take in to consideration. Notice any flaws in the decoding and encoding 
methods!?

Original issue reported on code.google.com by henning....@gmail.com on 27 Oct 2011 at 3:25

Attachments:

GoogleCodeExporter commented 9 years ago
In general we do add support like this since it adds dependencies. We, or you, 
can create a sep. project to add support for this with the extra deps. but it 
will not go into the main jar.

Original comment by scotthernandez on 28 Oct 2011 at 2:06

GoogleCodeExporter commented 9 years ago
I understand. AFAIK it's part of JDK6 Core. So I suppose you aim at supporting 
below JDK6.

I have started my own project, since I also would need support for BigDecimal 
and BigInteger.... And I am not going down this path here... ;)

Original comment by henning....@gmail.com on 30 Oct 2011 at 9:39