Home
last modified time | relevance | path

Searched refs:offsetByte (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DSer.java225 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72 in writeOffset() local
226 out.writeByte(offsetByte); in writeOffset()
227 if (offsetByte == 127) { in writeOffset()
240 int offsetByte = in.readByte(); in readOffset() local
241 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of… in readOffset()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java785 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72
786 out.writeByte(offsetByte);
787 if (offsetByte == 127) {
793 int offsetByte = in.readByte();
794 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of…