Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseEra.java129 static final int ERA_OFFSET = 2; field in JapaneseEra
164 private static final int N_ERA_CONSTANTS = REIWA.getValue() + ERA_OFFSET;
187 KNOWN_ERAS[i] = new JapaneseEra(i - ERA_OFFSET + 1, isoDate);
298 if (getValue() > N_ERA_CONSTANTS - ERA_OFFSET) { in getDisplayName()
357 return eraValue + ERA_OFFSET - 1; in ordinal()
DJapaneseDate.java394 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in lengthOfYear()
450 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in range()
483 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in getLong()