Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6201270

Factory method to create an XMLGregorianCalendar instance filled with the current time

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 1.4.0
    • 5.0
    • xml
    • generic
    • generic

      DatatypeFactory.newGregorianCalendar() method creates an uninitialized XMLGregorianCalendar object, and there's not convenient way to fill the XMLGregorianCalendar object with the current time.

      Such a factory method should be provided.
      In fact newXMLGregorianCalendar(new GregorianCalendar()) already satisfies the
      requesed feature. The submitter concurs.

            nwalshsunw Norman Walsh (Inactive)
            kkawagucsunw Kohsuke Kawaguchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: