JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
javax.xml.datatype.XMLGregorianCalendar

Packages that use XMLGregorianCalendar
javax.xml.datatype XML/Java Type Mappings. 
 

Uses of XMLGregorianCalendar in javax.xml.datatype
 

Methods in javax.xml.datatype that return XMLGregorianCalendar
abstract  XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendar()
          Create a new instance of an XMLGregorianCalendar.
abstract  XMLGregorianCalendar DatatypeFactory.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  XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendar(GregorianCalendar cal)
          Create an XMLGregorianCalendar from a GregorianCalendar.
 XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)
          Constructor of value spaces that a java.util.GregorianCalendar instance would need to convert to an XMLGregorianCalendar instance.
abstract  XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendar(String lexicalRepresentation)
          Create a new XMLGregorianCalendar by parsing the String as a lexical representation.
 XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendarDate(int year, int month, int day, int timezone)
          Create a Java representation of XML Schema builtin datatype date or g*.
 XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)
          Create a Java instance of XML Schema builtin datatype time.
 XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)
          Create a Java instance of XML Schema builtin datatype time.
 XMLGregorianCalendar DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)
          Create a Java instance of XML Schema builtin datatype time.
abstract  XMLGregorianCalendar XMLGregorianCalendar.normalize()
          Normalize this instance to UTC.
 

Methods in javax.xml.datatype with parameters of type XMLGregorianCalendar
abstract  int XMLGregorianCalendar.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  GregorianCalendar XMLGregorianCalendar.toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)
          Convert this XMLGregorianCalendar along with provided parameters to a GregorianCalendar instance.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.