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.java413 Integer totalSecs = totalSeconds; in ofTotalSeconds() local
414 ZoneOffset result = SECONDS_CACHE.get(totalSecs); in ofTotalSeconds()
417 SECONDS_CACHE.putIfAbsent(totalSecs, result); in ofTotalSeconds()
418 result = SECONDS_CACHE.get(totalSecs); in ofTotalSeconds()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3667 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3668 if (totalSecs == 0) { in format()
3671 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3672 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
3673 int absSeconds = Math.abs(totalSecs % 60); in format()
3676 buf.append(totalSecs < 0 ? "-" : "+"); in format()
3974 int totalSecs = Math.toIntExact(offsetSecs); in format() local
3975 if (totalSecs != 0) { in format()
3976 … int absHours = Math.abs((totalSecs / 3600) % 100); // anything larger than 99 silently dropped in format()
3977 int absMinutes = Math.abs((totalSecs / 60) % 60); in format()
[all …]