public static XMLGregorianCalendar timeStamp(Date date) {
		GregorianCalendar gc = new GregorianCalendar();
		gc.setTime(date);
		return xmlDatatypeFactory.newXMLGregorianCalendar(gc);
	}
public static XMLGregorianCalendar timeStamp ( Date date ) { GregorianCalendar gc = new GregorianCalendar ( ) ; gc . setTime ( date ) ; return xmlDatatypeFactory . newXMLGregorianCalendar ( gc ) ; }
timestamp

Convenience method to setup an XML dateTime (XMLGregorianCalendar) with passed in Date
@param date
@return