Java XML Date to convertXMLGregorianCalendarToDate(XMLGregorianCalendar xmlGregorianCalendar)

Here you can find the source of convertXMLGregorianCalendarToDate(XMLGregorianCalendar xmlGregorianCalendar)

Description

convert XML Gregorian Calendar To Date

License

Open Source License

Declaration

public static Date convertXMLGregorianCalendarToDate(XMLGregorianCalendar xmlGregorianCalendar) 

Method Source Code

//package com.java2s;

import javax.xml.datatype.XMLGregorianCalendar;

import java.util.Date;

public class Main {
    public static Date convertXMLGregorianCalendarToDate(XMLGregorianCalendar xmlGregorianCalendar) {
        return xmlGregorianCalendar.toGregorianCalendar().getTime();
    }/*  w  ww.  ja v  a2  s. c o  m*/
}

Related

  1. convertToDateTime(XMLGregorianCalendar calendar)
  2. convertToLocalTime(XMLGregorianCalendar calendar)
  3. convertXmlDateToDate(XMLGregorianCalendar date)
  4. convertXmlGregCalToDate(XMLGregorianCalendar xmlCal)
  5. convertXMLGregorianCalendarToDate(final XMLGregorianCalendar calendar)
  6. convertXMLGregorianCalendarToDate(XMLGregorianCalendar xmlGregorianCalendar)
  7. ConvertXMLGregorianCalenderToString(XMLGregorianCalendar Calendar, String Format)
  8. getDate(XMLGregorianCalendar calendar)
  9. getDate(XMLGregorianCalendar calendar)