@Test public void isMoreThanOneDayBefore() { Calendar cal = Calendar.getInstance(); cal.add(Calendar.DATE, -2); assertTrue(DateUtil.isMoreThanOneDayBefore(cal.getTime())); }
public static boolean isMoreThanOneDayBefore(Date date) { return date.before(getYesterday()); }
DateUtil { public static boolean isMoreThanOneDayBefore(Date date) { return date.before(getYesterday()); } }
DateUtil { public static boolean isMoreThanOneDayBefore(Date date) { return date.before(getYesterday()); }  }
DateUtil { public static boolean isMoreThanOneDayBefore(Date date) { return date.before(getYesterday()); }  static boolean isMoreThanOneDayBefore(Date date); static Date getYesterday(); static Date getDayBefore(Date date); static Date getDayBefore(Date date, int numberOfDays); static String extractDate(Date date, Locale locale); static String extractTime(Date date, Locale locale); static DateFilter getDateFilterFromDDaysBeforeToToday(int days); static String getEndDate(String startDateString, int noDays, Locale locale); static int getRemainingDays(String startDateString, int noDays); }
DateUtil { public static boolean isMoreThanOneDayBefore(Date date) { return date.before(getYesterday()); }  static boolean isMoreThanOneDayBefore(Date date); static Date getYesterday(); static Date getDayBefore(Date date); static Date getDayBefore(Date date, int numberOfDays); static String extractDate(Date date, Locale locale); static String extractTime(Date date, Locale locale); static DateFilter getDateFilterFromDDaysBeforeToToday(int days); static String getEndDate(String startDateString, int noDays, Locale locale); static int getRemainingDays(String startDateString, int noDays);  }