Home
last modified time | relevance | path

Searched refs:getProlepticYear (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DMinguoDate.java235 return (getProlepticYear() >= 1 ? MinguoEra.ROC : MinguoEra.BEFORE_ROC); in getEra()
264 …long max = (getProlepticYear() <= 0 ? -range.getMinimum() + 1 + YEARS_DIFFERENCE : range.getMaximu… in range()
282 int prolepticYear = getProlepticYear(); in getLong()
286 return getProlepticYear(); in getLong()
288 return (getProlepticYear() >= 1 ? 1 : 0); in getLong()
296 return getProlepticYear() * 12L + isoDate.getMonthValue() - 1; in getProlepticMonth()
299 private int getProlepticYear() { in getProlepticYear() method in MinguoDate
321 …return with(isoDate.withYear(getProlepticYear() >= 1 ? nvalue + YEARS_DIFFERENCE : (1 - nvalue) +… in with()
325 … return with(isoDate.withYear((1 - getProlepticYear()) + YEARS_DIFFERENCE)); in with()
DThaiBuddhistDate.java235 return (getProlepticYear() >= 1 ? ThaiBuddhistEra.BE : ThaiBuddhistEra.BEFORE_BE); in getEra()
264 …long max = (getProlepticYear() <= 0 ? -(range.getMinimum() + YEARS_DIFFERENCE) + 1 : range.getMaxi… in range()
282 int prolepticYear = getProlepticYear(); in getLong()
286 return getProlepticYear(); in getLong()
288 return (getProlepticYear() >= 1 ? 1 : 0); in getLong()
296 return getProlepticYear() * 12L + isoDate.getMonthValue() - 1; in getProlepticMonth()
299 private int getProlepticYear() { in getProlepticYear() method in ThaiBuddhistDate
321 …return with(isoDate.withYear((getProlepticYear() >= 1 ? nvalue : 1 - nvalue) - YEARS_DIFFERENCE)); in with()
325 … return with(isoDate.withYear((1 - getProlepticYear()) - YEARS_DIFFERENCE)); in with()