private Calendar estimateDay(final String dateString) {
        final Calendar c = parseCalendar(dateString);
        if (approximation == DateParser.Approximation.BEFORE) {
            subtractDay(c);
        } else if (approximation == DateParser.Approximation.AFTER) {
            addDay(c);
        }
        return c;
    }
private Calendar estimateDay ( final String dateString ) { final Calendar c = parseCalendar ( dateString ) ; if ( approximation == DateParser . Approximation . BEFORE ) { subtractDay ( c ) ; } else if ( approximation == DateParser . Approximation . AFTER ) { addDay ( c ) ; } return c ; }
@param dateString input date string
@return adjusted date