private static Date asDate(Object object) {
        if (object == null) {
            return null;
        }
        Number n = (Number) object;
        return new Date(n.longValue());
    }
private static Date asDate ( Object object ) { if ( object == null ) { return null ; } Number n = ( Number ) object ; return new Date ( n . longValue ( ) ) ; }
@param object