private static Date add(final Date date, final int calendarField, final int amount) {
        if (date == null) {
            return null;
        }
        final Calendar c = Calendar.getInstance();
        c.setTime(date);
        c.add(calendarField, amount);
        return c.getTime();
    }
parse date

@param dateString
@param pattern
@return
@throws ParseException
larkmidtable-web/larkmt-core/src/main/java/com/larkmt/core/util/DateUtil.java