@Test public void assertGetCurrentStatisticTime() { assertThat(getTimeStr(StatisticTimeUtils.getCurrentStatisticTime(StatisticInterval.MINUTE), StatisticInterval.MINUTE), is(getTimeStr(getNow(), StatisticInterval.MINUTE))); assertThat(getTimeStr(StatisticTimeUtils.getCurrentStatisticTime(StatisticInterval.HOUR), StatisticInterval.HOUR), is(getTimeStr(getNow(), StatisticInterval.HOUR))); assertThat(getTimeStr(StatisticTimeUtils.getCurrentStatisticTime(StatisticInterval.DAY), StatisticInterval.DAY), is(getTimeStr(getNow(), StatisticInterval.DAY))); }
public static Date getCurrentStatisticTime(final StatisticInterval interval) { return getStatisticTime(interval, 0); }
StatisticTimeUtils { public static Date getCurrentStatisticTime(final StatisticInterval interval) { return getStatisticTime(interval, 0); } }
StatisticTimeUtils { public static Date getCurrentStatisticTime(final StatisticInterval interval) { return getStatisticTime(interval, 0); }  }
StatisticTimeUtils { public static Date getCurrentStatisticTime(final StatisticInterval interval) { return getStatisticTime(interval, 0); }  static Date getCurrentStatisticTime(final StatisticInterval interval); static Date getStatisticTime(final StatisticInterval interval, final int offset); }
StatisticTimeUtils { public static Date getCurrentStatisticTime(final StatisticInterval interval) { return getStatisticTime(interval, 0); }  static Date getCurrentStatisticTime(final StatisticInterval interval); static Date getStatisticTime(final StatisticInterval interval, final int offset);  }