Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/source/i18n/
Djapancal.cpp157 int32_t eraStart[3] = { 0,0,0 }; in getDefaultMonthInYear() local
159 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultMonthInYear()
161 if(eyear == eraStart[0]) { in getDefaultMonthInYear()
163 return eraStart[1] // month in getDefaultMonthInYear()
175 int32_t eraStart[3] = { 0,0,0 }; in getDefaultDayInMonth() local
177 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultDayInMonth()
179 if(eyear == eraStart[0]) { in getDefaultDayInMonth()
180 if(month == eraStart[1] - 1) { in getDefaultDayInMonth()
181 return eraStart[2]; in getDefaultDayInMonth()
/third_party/skia/third_party/externals/icu/source/i18n/
Djapancal.cpp157 int32_t eraStart[3] = { 0,0,0 }; in getDefaultMonthInYear() local
159 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultMonthInYear()
161 if(eyear == eraStart[0]) { in getDefaultMonthInYear()
163 return eraStart[1] // month in getDefaultMonthInYear()
175 int32_t eraStart[3] = { 0,0,0 }; in getDefaultDayInMonth() local
177 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultDayInMonth()
179 if(eyear == eraStart[0]) { in getDefaultDayInMonth()
180 if(month == eraStart[1] - 1) { in getDefaultDayInMonth()
181 return eraStart[2]; in getDefaultDayInMonth()
/third_party/icu/icu4c/source/i18n/
Djapancal.cpp157 int32_t eraStart[3] = { 0,0,0 }; in getDefaultMonthInYear() local
159 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultMonthInYear()
161 if(eyear == eraStart[0]) { in getDefaultMonthInYear()
163 return eraStart[1] // month in getDefaultMonthInYear()
175 int32_t eraStart[3] = { 0,0,0 }; in getDefaultDayInMonth() local
177 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultDayInMonth()
179 if(eyear == eraStart[0]) { in getDefaultDayInMonth()
180 if(month == eraStart[1] - 1) { in getDefaultDayInMonth()
181 return eraStart[2]; in getDefaultDayInMonth()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DJapaneseCalendar.java297 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear() local
298 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear()
299 return eraStart[1] // month.. in getDefaultMonthInYear()
318 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth() local
320 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth()
321 if (month == (eraStart[1] - 1)) { // if it is the emperor's first month.. in getDefaultDayInMonth()
322 return eraStart[2]; // return the D_O_M of accession in getDefaultDayInMonth()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java308 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear() local
309 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear()
310 return eraStart[1] // month.. in getDefaultMonthInYear()
329 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth() local
331 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth()
332 if (month == (eraStart[1] - 1)) { // if it is the emperor's first month.. in getDefaultDayInMonth()
333 return eraStart[2]; // return the D_O_M of accession in getDefaultDayInMonth()