Searched refs:MAX_OFFSET_SECOND (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 389 private static final int MAX_OFFSET_SECOND = 59; field in TimeZoneFormat 1650 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) { 1732 assert(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); 2412 …offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, tmpParsedLen); 2534 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); 2616 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2873 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2972 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 353 private static final int MAX_OFFSET_SECOND = 59; field in TimeZoneFormat 1580 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) { 1662 assert(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); 2342 …offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, tmpParsedLen); 2464 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); 2546 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2803 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2902 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
|
/external/icu/icu4c/source/i18n/ |
D | tzfmt.cpp | 127 static const int32_t MAX_OFFSET_SECOND = 59; variable 1514 U_ASSERT(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); in formatOffsetISO8601() 1576 …ASSERT(offsetH <= MAX_OFFSET_HOUR && offsetM <= MAX_OFFSET_MINUTE && offsetS <= MAX_OFFSET_SECOND); in formatOffsetLocalizedGMT() 1871 … offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, len); in parseOffsetFieldsWithPattern() 1951 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingOffsetFields() 2054 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); in parseDefaultOffsetFields() 2154 U_ASSERT(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); in formatOffsetWithAsciiDigits() 2238 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingAsciiOffsetFields() 2323 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) { in parseAsciiOffsetFields()
|