Java XML Date Create xmlCalendarToCalendar(XMLGregorianCalendar xmlCalendar)

Here you can find the source of xmlCalendarToCalendar(XMLGregorianCalendar xmlCalendar)

Description

xml Calendar To Calendar

License

Open Source License

Declaration

public static Calendar xmlCalendarToCalendar(XMLGregorianCalendar xmlCalendar) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Calendar;

import javax.xml.datatype.XMLGregorianCalendar;

public class Main {
    public static Calendar xmlCalendarToCalendar(XMLGregorianCalendar xmlCalendar) {
        if (xmlCalendar == null) {
            return null;
        }//from  www .  j  av  a 2s  . c  om

        return xmlCalendar.toGregorianCalendar();
    }
}

Related

  1. toXMLGregorianCalendar(long dateInMillis)
  2. toXMLGregorianCalendar(long timestamp)
  3. toXMLGregorianCalendar(String stringTypeDate)
  4. toXMLGregorianCalendar(Timestamp timestamp)
  5. xmlCalendarToCalendar(XMLGregorianCalendar cal)
  6. xmlDateToDate(XMLGregorianCalendar xmlCalendar)
  7. xmlDateToLong(String s)
  8. xmlGCtoMillis(XMLGregorianCalendar gc)
  9. xmlGregorian2Gregorian(XMLGregorianCalendar xmlGC)