Home
last modified time | relevance | path

Searched refs:absHours (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java445 int absHours = absTotalSeconds / SECONDS_PER_HOUR; in buildId() local
448 .append(absHours < 10 ? "0" : "").append(absHours) in buildId()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3671 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format() local
3675 int output = absHours; in format()
3677 if (isPaddedHour() || absHours >= 10) { in format() argument
3678 formatZeroPad(false, absHours, buf); in format()
3680 buf.append((char) (absHours + '0')); in format()
3976 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format() local
3981 appendHMS(buf, absHours); in format()
3989 if (absHours >= 10) { in format() argument
3990 buf.append((char)(absHours / 10 + '0')); in format()
3992 buf.append((char)(absHours % 10 + '0')); in format()