Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java28 private int[] startDates; field in EraRules
32 private EraRules(int[] startDates, int numEras) { in EraRules() argument
33 this.startDates = startDates; in EraRules()
47 int[] startDates = new int[numEras]; in getInstance() local
63 if (isSet(startDates[eraIdx])) { in getInstance()
81 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
91 if (isSet(startDates[eraIdx])) { in getInstance()
105 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()
125 return new EraRules(startDates, firstTentativeIdx); in getInstance()
128 return new EraRules(startDates, numEras); in getInstance()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DEraRules.java30 private int[] startDates; field in EraRules
34 private EraRules(int[] startDates, int numEras) { in EraRules() argument
35 this.startDates = startDates; in EraRules()
49 int[] startDates = new int[numEras]; in getInstance() local
65 if (isSet(startDates[eraIdx])) { in getInstance()
83 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in getInstance()
93 if (isSet(startDates[eraIdx])) { in getInstance()
107 startDates[eraIdx] = MIN_ENCODED_START; in getInstance()
127 return new EraRules(startDates, firstTentativeIdx); in getInstance()
130 return new EraRules(startDates, numEras); in getInstance()
[all …]
/external/icu/icu4c/source/i18n/
Derarules.cpp107 startDates = std::move(eraStartDates); in EraRules()
130 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance() local
131 if (startDates.isNull()) { in createInstance()
135 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
153 if (isSet(startDates[eraIdx])) { in createInstance()
177 startDates[eraIdx] = encodeDate(fields[0], fields[1], fields[2]); in createInstance()
188 if (isSet(startDates[eraIdx])) { in createInstance()
202 startDates[eraIdx] = MIN_ENCODED_START; in createInstance()
223 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
[all …]
Derarules.h92 LocalMemory<int32_t> startDates; variable
/external/icu/libicu/cts_headers/
Derarules.h92 LocalMemory<int32_t> startDates; variable