/** @return the number of days displayed (0 or greater) */ public int getNumberDaysDisplayed() { if (isCanonical()) { return new Long(CommonDateOperations.approximateDifference(getEndDate(), getStartDate())) .intValue(); } return pathData.getEndDateIndex() - pathData.getStartDateIndex(); }
/** @return */ public String getPrevDatePhrase() { return constructDatePhrase(pathData.getStartDateIndex() - 1, pathData.getEndDateIndex() - 1); }
/** @return */ public String getNextDatePhrase() { return constructDatePhrase(pathData.getStartDateIndex() + 1, pathData.getEndDateIndex() + 1); }