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.java3347 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3348 if (totalSecs == 0) { in format()
3351 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3352 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
3353 int absSeconds = Math.abs(totalSecs % 60); in format()
3356 buf.append(totalSecs < 0 ? "-" : "+") in format()
3490 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3491 if (totalSecs != 0) { in format()
3492 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3493 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
[all …]