Home
last modified time | relevance | path

Searched refs:MAX_OFFSET_MINUTE (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java356 private static final int MAX_OFFSET_MINUTE = 59; field in TimeZoneFormat
1584 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) {
1665 assert(fields[1] >= 0 && fields[1] <= MAX_OFFSET_MINUTE);
2363 …offsetM = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_MINUTE, tmpParsedLen);
2480 … min = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_MINUTE, 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) {
2917 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java392 private static final int MAX_OFFSET_MINUTE = 59; field in TimeZoneFormat
1654 … if (offsetH > MAX_OFFSET_HOUR || offsetM > MAX_OFFSET_MINUTE || offsetS > MAX_OFFSET_SECOND) {
1735 assert(fields[1] >= 0 && fields[1] <= MAX_OFFSET_MINUTE);
2433 …offsetM = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_MINUTE, tmpParsedLen);
2550 … min = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_MINUTE, 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) {
2987 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp132 static const int32_t MAX_OFFSET_MINUTE = 59; variable
1519 U_ASSERT(fields[1] >= 0 && fields[1] <= MAX_OFFSET_MINUTE); in formatOffsetISO8601()
1582 …U_ASSERT(offsetH <= MAX_OFFSET_HOUR && offsetM <= MAX_OFFSET_MINUTE && offsetS <= MAX_OFFSET_SECON… in formatOffsetLocalizedGMT()
1898 … offsetM = parseOffsetFieldWithLocalizedDigits(text, idx, 2, 2, 0, MAX_OFFSET_MINUTE, len); in parseOffsetFieldsWithPattern()
1980 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingOffsetFields()
2076 … min = parseOffsetFieldWithLocalizedDigits(text, idx + 1, 2, 2, 0, MAX_OFFSET_MINUTE, len); in parseDefaultOffsetFields()
2182 U_ASSERT(fields[1] >= 0 && fields[1] <= MAX_OFFSET_MINUTE); in formatOffsetWithAsciiDigits()
2267 if (hour <= MAX_OFFSET_HOUR && min <= MAX_OFFSET_MINUTE && sec <= MAX_OFFSET_SECOND) { in parseAbuttingAsciiOffsetFields()
2344 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { in parseAsciiOffsetFields()