Searched refs:offsetSecs (Results 1 – 5 of 5) sorted by relevance
222 final int offsetSecs = offset.getTotalSeconds(); in writeOffset() local223 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72 in writeOffset()226 out.writeInt(offsetSecs); in writeOffset()
780 final int offsetSecs = totalSeconds;781 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72784 out.writeInt(offsetSecs);
333 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstantFields() local334 if (offsetSecs != null) { in resolveInstantFields()335 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstantFields()593 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstant() local594 if (offsetSecs != null) { in resolveInstant()595 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstant()
3352 Long offsetSecs = context.getValue(OFFSET_SECONDS); in format() local3353 if (offsetSecs == null) { in format()3356 int totalSecs = Math.toIntExact(offsetSecs); in format()3413 long offsetSecs = negative * (array[1] * 3600L + array[2] * 60L + array[3]); in parse() local3414 return context.setParsedField(OFFSET_SECONDS, offsetSecs, position, array[0]); in parse()3491 Long offsetSecs = context.getValue(OFFSET_SECONDS); in format() local3492 if (offsetSecs == null) { in format()3499 int totalSecs = Math.toIntExact(offsetSecs); in format()3619 long offsetSecs = negative * (h * 3600L + m * 60L + s); in parse() local3620 return context.setParsedField(OFFSET_SECONDS, offsetSecs, position, pos); in parse()
323 …public void test_parse_bigOffsets(String pattern, String parse, long offsetSecs) throws Exception { in test_parse_bigOffsets() argument327 assertEquals(parsed.getLong(OFFSET_SECONDS), offsetSecs); in test_parse_bigOffsets() local