Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java412 Integer totalSecs = totalSeconds; in ofTotalSeconds() local
413 ZoneOffset result = SECONDS_CACHE.get(totalSecs); in ofTotalSeconds()
416 SECONDS_CACHE.putIfAbsent(totalSecs, result); in ofTotalSeconds()
417 result = SECONDS_CACHE.get(totalSecs); in ofTotalSeconds()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3356 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3357 if (totalSecs == 0) { in format()
3360 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3361 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
3362 int absSeconds = Math.abs(totalSecs % 60); in format()
3365 buf.append(totalSecs < 0 ? "-" : "+") in format()
3499 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3500 if (totalSecs != 0) { in format()
3501 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3502 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
[all …]