Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DIsoChronology.java509 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); in resolveYearOfEra() local
510 if (yoeLong != null) { in resolveYearOfEra()
512 YEAR_OF_ERA.checkValidValue(yoeLong); in resolveYearOfEra()
520 … addFieldValue(fieldValues, YEAR, (year > 0 ? yoeLong: Math.subtractExact(1, yoeLong))); in resolveYearOfEra()
523 fieldValues.put(YEAR_OF_ERA, yoeLong); in resolveYearOfEra()
527 …ieldValue(fieldValues, YEAR, (year == null || year > 0 ? yoeLong: Math.subtractExact(1, yoeLong))); in resolveYearOfEra()
530 addFieldValue(fieldValues, YEAR, yoeLong); in resolveYearOfEra()
532 addFieldValue(fieldValues, YEAR, Math.subtractExact(1, yoeLong)); in resolveYearOfEra()
DJapaneseChronology.java445 Long yoeLong = fieldValues.get(YEAR_OF_ERA); in resolveYearOfEra() local
447 if (yoeLong != null) { in resolveYearOfEra()
448 yoe = range(YEAR_OF_ERA).checkValidIntValue(yoeLong, YEAR_OF_ERA); // always validated in resolveYearOfEra()
451 …if (era == null && yoeLong != null && fieldValues.containsKey(YEAR) == false && resolverStyle != R… in resolveYearOfEra()
455 if (yoeLong != null && era != null) { in resolveYearOfEra()
DAbstractChronology.java514 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); in resolveYearOfEra() local
515 if (yoeLong != null) { in resolveYearOfEra()
519 yoe = range(YEAR_OF_ERA).checkValidIntValue(yoeLong, YEAR_OF_ERA); in resolveYearOfEra()
521 yoe = Math.toIntExact(yoeLong); in resolveYearOfEra()
534 fieldValues.put(YEAR_OF_ERA, yoeLong); in resolveYearOfEra()