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.java103 static final int ERA_OFFSET = 2; field in JapaneseEra
130 private static final int N_ERA_CONSTANTS = HEISEI.getValue() + ERA_OFFSET;
151 KNOWN_ERAS[i] = new JapaneseEra(i - ERA_OFFSET + 1, isoDate);
198 if (japaneseEra < MEIJI.eraValue || japaneseEra + ERA_OFFSET > KNOWN_ERAS.length) { in of()
286 return eraValue + ERA_OFFSET - 1; in ordinal()
DJapaneseDate.java393 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in lengthOfYear()
449 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in range()
482 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in getLong()