@@ -0,0 +1,302 @@
+package util;%0A%0Aimport java.util.Calendar;%0Aimport java.util.Date;%0A%0Apublic class DateUtil %7B%0A%0A    public static Date calc(Date origin, int timeUnit, int amount) %7B%0A        Calendar c = Calendar.getInstance();%0A        c.setTime(origin);%0A        c.add(timeUnit, amount);%0A        return c.getTime();%0A    %7D%0A%0A%7D%0A

date util