List of usage examples for org.apache.commons.lang3.time Period equals
@Override public boolean equals(Object obj)
From source file:org.amanzi.neo.core.period.PeriodManager.java
@Deprecated public static long getNextStartDate(final Period period, final long endDate, final long currentStartDate) { long nextStartDate = period.addPeriod(currentStartDate); if (!period.equals(Period.HOURLY) && (nextStartDate > endDate)) { nextStartDate = endDate;//from w w w.j a v a 2s . co m } return nextStartDate; }