(
DataInput in,
byte header
)
| 452 | } |
| 453 | |
| 454 | private Object readMoment( |
| 455 | DataInput in, |
| 456 | byte header |
| 457 | ) throws IOException { |
| 458 | |
| 459 | int lsBit = (header & 1); |
| 460 | int fractionBit = ((header & 2) >>> 1); |
| 461 | |
| 462 | boolean positiveLS = (lsBit != 0); |
| 463 | boolean hasNanos = (fractionBit != 0); |
| 464 | |
| 465 | return Moment.readTimestamp(in, positiveLS, hasNanos); |
| 466 | |
| 467 | } |
| 468 | |
| 469 | private void writeTimestamp(DataOutput out) |
| 470 | throws IOException { |
no test coverage detected