Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Djapancal.cpp150 int32_t eraStart[3] = { 0,0,0 }; in getDefaultMonthInYear() local
152 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultMonthInYear()
154 if(eyear == eraStart[0]) { in getDefaultMonthInYear()
156 return eraStart[1] // month in getDefaultMonthInYear()
168 int32_t eraStart[3] = { 0,0,0 }; in getDefaultDayInMonth() local
170 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultDayInMonth()
172 if(eyear == eraStart[0]) { in getDefaultDayInMonth()
173 if(month == eraStart[1] - 1) { in getDefaultDayInMonth()
174 return eraStart[2]; in getDefaultDayInMonth()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java300 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear() local
301 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear()
302 return eraStart[1] // month.. in getDefaultMonthInYear()
322 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth() local
324 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth()
325 if (month == (eraStart[1] - 1)) { // if it is the emperor's first month.. in getDefaultDayInMonth()
326 return eraStart[2]; // return the D_O_M of accession in getDefaultDayInMonth()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DJapaneseCalendar.java288 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear() local
289 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear()
290 return eraStart[1] // month.. in getDefaultMonthInYear()
309 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth() local
311 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth()
312 if (month == (eraStart[1] - 1)) { // if it is the emperor's first month.. in getDefaultDayInMonth()
313 return eraStart[2]; // return the D_O_M of accession in getDefaultDayInMonth()