Re: Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Dave Brosius
ah silly me. thank you. -Original Message- From: "Michael Glavassevich" Sent: Thursday, February 12, 2009 6:42pm To: j-users@xerces.apache.org Subject: Re: Proper replacement for XMLGregorianCalendarImpl.createTime Hi Dave, You're probably looking for this method [1

Re: Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Michael Glavassevich
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 X

Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Dave Brosius
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 tryi