Searched refs:newDayOfMonth (Results 1 – 2 of 2) sorted by relevance
97 int newDayOfMonth = date.getDayOfMonth() + 1; in next() local98 if (newDayOfMonth <= date.getMonth().length(isIsoLeap(date.getYear()))) { in next()99 return date.withDayOfMonth(newDayOfMonth); in next()109 int newDayOfMonth = date.getDayOfMonth() - 1; in previous() local110 if (newDayOfMonth > 0) { in previous()111 return date.withDayOfMonth(newDayOfMonth); in previous()
458 int newDayOfMonth = date.getDayOfMonth() + 1;459 if (newDayOfMonth <= date.getMonth().length(isIsoLeap(date.getYear()))) {460 return date.withDayOfMonth(newDayOfMonth);470 int newDayOfMonth = date.getDayOfMonth() - 1;471 if (newDayOfMonth > 0) {472 return date.withDayOfMonth(newDayOfMonth);