endDate.plusDays(1);
endDate = endDate.plusDays(1);
    public Duration getDuration() {        DateTime startDate = getStartTime().toDateTimeToday();        DateTime endDate = getEndTime().toDateTimeToday();        if (getNextDay()) {            endDate.plusDays(1);        }        return new Duration(startDate, endDate);    }