Searched refs:MAX_OFFSET_SECOND (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 357 private static final int MAX_OFFSET_SECOND = 59; field in TimeZoneFormat 1584 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) { 1666 assert(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); 2365 …offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, tmpParsedLen); 2487 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); 2569 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2826 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2925 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 393 private static final int MAX_OFFSET_SECOND = 59; field in TimeZoneFormat 1654 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) { 1736 assert(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); 2435 …offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, tmpParsedLen); 2557 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); 2639 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2896 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { 2995 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
|
/external/icu/icu4c/source/i18n/ |
D | tzfmt.cpp | 133 static const int32_t MAX_OFFSET_SECOND = 59; variable 1520 U_ASSERT(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); in formatOffsetISO8601() 1582 …ASSERT(offsetH <= MAX_OFFSET_HOUR && offsetM <= MAX_OFFSET_MINUTE && offsetS <= MAX_OFFSET_SECOND); in formatOffsetLocalizedGMT() 1900 … offsetS = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_SECOND, len); in parseOffsetFieldsWithPattern() 1980 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingOffsetFields() 2083 … sec = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_SECOND, len); in parseDefaultOffsetFields() 2183 U_ASSERT(fields[2] >= 0 && fields[2] <= MAX_OFFSET_SECOND); in formatOffsetWithAsciiDigits() 2267 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingAsciiOffsetFields() 2352 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) { in parseAsciiOffsetFields()
|