Home
last modified time | relevance | path

Searched refs:offsetSecs (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DSer.java222 final int offsetSecs = offset.getTotalSeconds(); in writeOffset() local
223 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72 in writeOffset()
226 out.writeInt(offsetSecs); in writeOffset()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java780 final int offsetSecs = totalSeconds;
781 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72
784 out.writeInt(offsetSecs);
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java333 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstantFields() local
334 if (offsetSecs != null) { in resolveInstantFields()
335 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstantFields()
593 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstant() local
594 if (offsetSecs != null) { in resolveInstant()
595 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstant()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneOffsetParser.java323 …public void test_parse_bigOffsets(String pattern, String parse, long offsetSecs) throws Exception { in test_parse_bigOffsets() argument
327 assertEquals(parsed.getLong(OFFSET_SECONDS), offsetSecs); in test_parse_bigOffsets() local