Uses of Class
javax.xml.datatype.XMLGregorianCalendar
Packages that use XMLGregorianCalendar
-
Uses of XMLGregorianCalendar in javax.xml.datatype
Methods in javax.xml.datatype that return XMLGregorianCalendarModifier and TypeMethodDescriptionabstract XMLGregorianCalendarDatatypeFactory.newXMLGregorianCalendar()Create a new instance of anXMLGregorianCalendar.DatatypeFactory.newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)Constructor of value spaces that ajava.util.GregorianCalendarinstance would need to convert to anXMLGregorianCalendarinstance.abstract XMLGregorianCalendarDatatypeFactory.newXMLGregorianCalendar(String lexicalRepresentation)Create a new XMLGregorianCalendar by parsing the String as a lexical representation.abstract XMLGregorianCalendarDatatypeFactory.newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)Constructor allowing for complete value spaces allowed by W3C XML Schema 1.0 recommendation for xsd:dateTime and related builtin datatypes.abstract XMLGregorianCalendarDatatypeFactory.newXMLGregorianCalendar(GregorianCalendar cal)Create anXMLGregorianCalendarfrom aGregorianCalendar.DatatypeFactory.newXMLGregorianCalendarDate(int year, int month, int day, int timezone)Create a Java representation of XML Schema builtin datatypedateorg*.DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)Create a Java instance of XML Schema builtin datatypetime.DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)Create a Java instance of XML Schema builtin datatype time.DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)Create a Java instance of XML Schema builtin datatype time.abstract XMLGregorianCalendarXMLGregorianCalendar.normalize()Normalize this instance to UTC.Methods in javax.xml.datatype with parameters of type XMLGregorianCalendarModifier and TypeMethodDescriptionabstract intXMLGregorianCalendar.compare(XMLGregorianCalendar xmlGregorianCalendar)Compare two instances of W3C XML Schema 1.0 date/time datatypes according to partial order relation defined in W3C XML Schema 1.0 Part 2, Section 3.2.7.3, Order relation on dateTime.abstract GregorianCalendarXMLGregorianCalendar.toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)Convert thisXMLGregorianCalendaralong with provided parameters to aGregorianCalendarinstance.