Java XML Date Create toDate(XMLGregorianCalendar date)

Here you can find the source of toDate(XMLGregorianCalendar date)

Description

to Date

License

Apache License

Declaration

public static Date toDate(XMLGregorianCalendar date) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.Date;

import javax.xml.datatype.XMLGregorianCalendar;

public class Main {
    public static Date toDate(XMLGregorianCalendar date) {
        return date.toGregorianCalendar().getTime();
    }/*from   ww  w  .  j a  v a  2 s. c  o m*/
}

Related

  1. getXMLGregorianCalenderDate()
  2. toDate(final XMLGregorianCalendar xml)
  3. toDate(long date)
  4. toDate(XMLGregorianCalendar cal)
  5. toDate(XMLGregorianCalendar cal)
  6. toDate(XMLGregorianCalendar dateTime)
  7. toDate(XMLGregorianCalendar xmlCalendar)
  8. toDate(XMLGregorianCalendar xmlGregorianCalendar)
  9. toDateTime()