Hi Dave,

You're probably looking for this method [1] or any of the other variations
of newXMLGregorianCalendarTime().

Thanks.

[1]
http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/datatype/DatatypeFactory.html#newXMLGregorianCalendarTime(int,%20int,%20int,%20int)

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

"Dave Brosius" <dbros...@apache.org> wrote on 02/12/2009 05:59:50 PM:

> I ran across some code that was using
>
> XMLGregorianCalendarImpl.parse and noticed that this class was out
> of the com.sun.org.apache.... package, which obviously isn't good. I
> see that i should be using DatatypeFactory.newInstance().
> newXMLGregorianCalendar so i'll switch that over.
>
> But i'm trying to find the replacement for
>
> XMLGregorianCalendarImpl.createTime
>
> all i see are methods for creating durations.
>
> Any pointers on what i should be using?

Reply via email to