public final static Date XMLGregorianCalendarToDate(XMLGregorianCalendar gc) 
			throws DateConverterException {
		
		if(gc == null)
			throw new DateConverterException("The input is null ");
		
		return gc.toGregorianCalendar().getTime();
	}