Home | History | Annotate | Download | only in chrono

Lines Matching defs:ERA

72 import static java.time.temporal.ChronoField.ERA;
377 * <li>{@code YEAR_OF_ERA} and {@code ERA} - If both are present, then they
379 * range is not validated, in smart and strict mode it is. The {@code ERA} is
381 * present, and the mode is smart or lenient, then the last available era
382 * is assumed. In strict mode, no era is assumed and the {@code YEAR_OF_ERA} is
383 * left untouched. If only the {@code ERA} is present, then it is left untouched.
440 * If {@link java.time.temporal.ChronoField#YEAR_OF_ERA} is found without an {@link java.time.temporal.ChronoField#ERA}
441 * then the last era in {@link #eras()} is used.
454 // check epoch-day before inventing era
459 // fix proleptic month before inventing era
462 // invent era if necessary to resolve year-of-era
516 Long eraLong = fieldValues.remove(ERA);
524 Era eraObj = eraOf(range(ERA).checkValidIntValue(eraLong, ERA));
532 // do not invent era if strict
536 List<Era> eras = eras();
540 Era eraObj = eras.get(eras.size() - 1);
545 } else if (fieldValues.containsKey(ERA)) {
546 range(ERA).checkValidValue(fieldValues.get(ERA), ERA); // always validated