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.java223 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72 in writeOffset() local
224 out.writeByte(offsetByte); in writeOffset()
225 if (offsetByte == 127) { in writeOffset()
238 int offsetByte = in.readByte(); in readOffset() local
239 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of… in readOffset()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java781 int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72
782 out.writeByte(offsetByte);
783 if (offsetByte == 127) {
789 int offsetByte = in.readByte();
790 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of…