Searched refs:ERA_OFFSET (Results 1 – 2 of 2) sorted by relevance
129 static final int ERA_OFFSET = 2; field in JapaneseEra164 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()
394 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()