Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java22 public static final int MIN_ENCODED_START = encodeDate(MIN_ENCODED_START_YEAR, 1, 1);
81 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
220 … int currentEncodedDate = encodeDate(fields[0], fields[1] + 1 /* changes to 1-base */, fields[2]); in initCurrentEra()
256 private static int encodeDate(int year, int month, int day) { in encodeDate() method in EraRules
305 int tmp = encodeDate(year, month, day); in compareEncodedDateWithYMD()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DEraRules.java24 public static final int MIN_ENCODED_START = encodeDate(MIN_ENCODED_START_YEAR, 1, 1);
83 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
222 … int currentEncodedDate = encodeDate(fields[0], fields[1] + 1 /* changes to 1-base */, fields[2]); in initCurrentEra()
258 private static int encodeDate(int year, int month, int day) { in encodeDate() method in EraRules
307 int tmp = encodeDate(year, month, day); in compareEncodedDateWithYMD()
/external/icu/icu4c/source/i18n/
Derarules.cpp56 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate() function
94 int tmp = encodeDate(year, month, day); in compareEncodedDateWithYMD()
177 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in createInstance()
310 int currentEncodedDate = encodeDate(year, month0 + 1 /* changes to 1-base */, dom); in initCurrentEra()