Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java124 int fieldVal = get(field); in getDisplayName() local
125 if (fieldVal < array.length) { in getDisplayName()
126 return array[fieldVal]; in getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2838 int[] fieldVal = {0, 0, 0};
2867 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2883 if (fieldVal[0] > MAX_OFFSET_HOUR) {
2884 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2889 offset = fieldVal[0] * MILLIS_PER_HOUR;
2894 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
2897 offset += fieldVal[1] * MILLIS_PER_MINUTE;
2902 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
2905 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2908 int[] fieldVal = {0, 0, 0};
2937 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2953 if (fieldVal[0] > MAX_OFFSET_HOUR) {
2954 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2959 offset = fieldVal[0] * MILLIS_PER_HOUR;
2964 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
2967 offset += fieldVal[1] * MILLIS_PER_MINUTE;
2972 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
2975 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2260 int32_t fieldVal[] = {0, 0, 0}; in parseAsciiOffsetFields() local
2288 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit; in parseAsciiOffsetFields()
2304 if (fieldVal[0] > MAX_OFFSET_HOUR) { in parseAsciiOffsetFields()
2305 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR; in parseAsciiOffsetFields()
2310 offset = fieldVal[0] * MILLIS_PER_HOUR; in parseAsciiOffsetFields()
2315 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { in parseAsciiOffsetFields()
2318 offset += fieldVal[1] * MILLIS_PER_MINUTE; in parseAsciiOffsetFields()
2323 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) { in parseAsciiOffsetFields()
2326 offset += fieldVal[2] * MILLIS_PER_SECOND; in parseAsciiOffsetFields()