Searched refs:offsetSecs (Results 1 – 5 of 5) sorted by relevance
224 final int offsetSecs = offset.getTotalSeconds(); in writeOffset() local225 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72 in writeOffset()228 out.writeInt(offsetSecs); in writeOffset()
226 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in query() local227 if (offsetSecs != null) { in query()228 return (R) ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in query()347 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstantFields() local348 if (offsetSecs != null) { in resolveInstantFields()349 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstantFields()648 Long offsetSecs = fieldValues.get(OFFSET_SECONDS); in resolveInstant() local649 if (offsetSecs != null) { in resolveInstant()650 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstant()
3663 Long offsetSecs = context.getValue(OFFSET_SECONDS); in format() local3664 if (offsetSecs == null) { in format()3667 int totalSecs = Math.toIntExact(offsetSecs); in format()3807 long offsetSecs = negative * (array[1] * 3600L + array[2] * 60L + array[3]); in parse() local3808 return context.setParsedField(OFFSET_SECONDS, offsetSecs, position, array[0]); in parse()3962 Long offsetSecs = context.getValue(OFFSET_SECONDS); in format() local3963 if (offsetSecs == null) { in format()3974 int totalSecs = Math.toIntExact(offsetSecs); in format()4098 long offsetSecs = negative * (h * 3600L + m * 60L + s); in parse() local4099 return context.setParsedField(OFFSET_SECONDS, offsetSecs, position, pos); in parse()
784 final int offsetSecs = totalSeconds;785 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72788 out.writeInt(offsetSecs);
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