Home
last modified time | relevance | path

Searched refs:resolvePreviousValid (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java133 private static CopticDate resolvePreviousValid(int prolepticYear, int month, int day) { in resolvePreviousValid() method in CopticDate
243 case DAY_OF_MONTH: return resolvePreviousValid(prolepticYear, month, nvalue); in with()
244 …case DAY_OF_YEAR: return resolvePreviousValid(prolepticYear, ((nvalue - 1) / 30) + 1, ((nvalue - 1… in with()
248 case MONTH_OF_YEAR: return resolvePreviousValid(prolepticYear, nvalue, day); in with()
249 …case YEAR_OF_ERA: return resolvePreviousValid(prolepticYear >= 1 ? nvalue : 1 - nvalue, month, day… in with()
250 case YEAR: return resolvePreviousValid(nvalue, month, day); in with()
251 case ERA: return resolvePreviousValid(1 - prolepticYear, month, day); in with()
290 return resolvePreviousValid(newYear, newMonth, day); in plusMonths()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java398 case DAY_OF_MONTH: return resolvePreviousValid(prolepticYear, monthOfYear, nvalue); in with()
403 case MONTH_OF_YEAR: return resolvePreviousValid(prolepticYear, nvalue, dayOfMonth); in with()
405 …case YEAR_OF_ERA: return resolvePreviousValid(prolepticYear >= 1 ? nvalue : 1 - nvalue, monthOfYea… in with()
406 case YEAR: return resolvePreviousValid(nvalue, monthOfYear, dayOfMonth); in with()
407 case ERA: return resolvePreviousValid(1 - prolepticYear, monthOfYear, dayOfMonth); in with()
414 private HijrahDate resolvePreviousValid(int prolepticYear, int month, int day) { in resolvePreviousValid() method in HijrahDate
525 return resolvePreviousValid(newYear, monthOfYear, dayOfMonth); in plusYears()
537 return resolvePreviousValid(newYear, newMonth, dayOfMonth); in plusMonths()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java471 private static LocalDate resolvePreviousValid(int year, int month, int day) { in resolvePreviousValid() method in LocalDate
1083 return resolvePreviousValid(year, month, day); in withYear()
1102 return resolvePreviousValid(year, month, day); in withMonth()
1298 return resolvePreviousValid(newYear, month, day); in plusYears()
1329 return resolvePreviousValid(newYear, newMonth, day); in plusMonths()