public static Date getJavaDateOnly(final double excelDate, final boolean use1904windowing) {
        final Calendar javaCalendar = getJavaCalendar(excelDate, use1904windowing);
        if (javaCalendar == null) {
            return null;
        }
        return Utils.blastTime(javaCalendar).getTime();
    }
public static Date getJavaDateOnly ( final double excelDate , final boolean use1904windowing ) { final Calendar javaCalendar = getJavaCalendar ( excelDate , use1904windowing ) ; if ( javaCalendar == null ) { return null ; } return Utils . blastTime ( javaCalendar ) . getTime ( ) ; }
Given an Excel date with either 1900 or 1904 date windowing, converts it
to a java.util.Date.

@param excelDate
The Excel date.
@param use1904windowing
true if date uses 1904 windowing, or false if using 1900 date
windowing.
@return Java representation of the date without any time.

@see java.util.TimeZone