Home
last modified time | relevance | path

Searched refs:startDates (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DEraRules.java29 private int[] startDates; field in EraRules
33 private EraRules(int[] startDates, int numEras) { in EraRules() argument
34 this.startDates = startDates; in EraRules()
48 int[] startDates = new int[numEras]; in getInstance() local
64 if (isSet(startDates[eraIdx])) { in getInstance()
82 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
92 if (isSet(startDates[eraIdx])) { in getInstance()
106 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()
126 return new EraRules(startDates, firstTentativeIdx); in getInstance()
129 return new EraRules(startDates, numEras); in getInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java27 private int[] startDates; field in EraRules
31 private EraRules(int[] startDates, int numEras) { in EraRules() argument
32 this.startDates = startDates; in EraRules()
46 int[] startDates = new int[numEras]; in getInstance() local
62 if (isSet(startDates[eraIdx])) { in getInstance()
80 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
90 if (isSet(startDates[eraIdx])) { in getInstance()
104 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()
124 return new EraRules(startDates, firstTentativeIdx); in getInstance()
127 return new EraRules(startDates, numEras); in getInstance()
[all …]
/external/icu/icu4c/source/i18n/
Derarules.cpp104 startDates.moveFrom(eraStartDates); in EraRules()
127 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance() local
128 if (startDates.isNull()) { in createInstance()
132 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
150 if (isSet(startDates[eraIdx])) { in createInstance()
174 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in createInstance()
185 if (isSet(startDates[eraIdx])) { in createInstance()
199 startDates[eraIdx] = MIN_ENCODED_START; in createInstance()
220 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
222 result = new EraRules(startDates, numEras); in createInstance()
[all …]
Derarules.h87 LocalMemory<int32_t> startDates; variable