users@jaxb.java.net

Re: Date subtypes

From: Dmitri Colebatch <colebatchd_at_gmail.com>
Date: Sat, 2 Jul 2005 13:02:42 +1000

Yep - that's what I'm doing. Have an adapter that takes a Date and
returns an XMLGregorianCalendar. Works quite nicely.

cheers
dim

On 7/2/05, Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com> wrote:
> Dmitri Colebatch wrote:
> > <BirthDate>1975-06-15T00:00:00+10:00</BirthDate>
>
> Meanwhile you can probably use @XmlJavaTypeAdapter to manually override
> the print code.
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
>