Implementation Note
This class is mutable and should be created once per serialization.
| Modifier and Type | Field and Description |
|---|---|
| private Serializable | object
The object being serialized. |
| private static final long | serialVersionUID
Serialization version. |
| private byte | type
The type being serialized. |
| pack-priv static final byte | ZOT
Type for ZoneOffsetTransition. |
| pack-priv static final byte | ZOTRULE
Type for ZoneOffsetTransitionRule. |
| pack-priv static final byte | ZRULES
Type for ZoneRules. |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Serializable | |
| pack-priv static long | Returns: the epoch seconds, not nullthe input stream, not null in)Reads the state from the stream. |
| public void | readExternal(ObjectInput
the data to read, not null in)Implements java. Implements the |
| private static Serializable | |
| pack-priv static ZoneOffset | Returns: the created object, not nullthe input stream, not null in)Reads the state from the stream. |
| private Object | Returns: the read object, should never be nullReturns the object that will replace this one. |
| pack-priv static void | |
| pack-priv static void | writeEpochSec(long
the epoch seconds, not null epochSec, DataOutput the output stream, not null out)Writes the state to the stream. |
| public void | writeExternal(ObjectOutput
the data stream to write to, not null out)Implements java. Implements the |
| private static void | |
| pack-priv static void | writeOffset(ZoneOffset
the offset, not null offset, DataOutput the output stream, not null out)Writes the state to the stream. |
| object | back to summary |
|---|---|
| private Serializable object The object being serialized. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serialization version. | |
| type | back to summary |
|---|---|
| private byte type The type being serialized. | |
| ZOT | back to summary |
|---|---|
| pack-priv static final byte ZOT Type for ZoneOffsetTransition. | |
| ZOTRULE | back to summary |
|---|---|
| pack-priv static final byte ZOTRULE Type for ZoneOffsetTransitionRule. | |
| ZRULES | back to summary |
|---|---|
| pack-priv static final byte ZRULES Type for ZoneRules. | |
| Ser | back to summary |
|---|---|
| public Ser() Constructor for deserialization. | |
| Ser | back to summary |
|---|---|
| pack-priv Ser(byte type, Serializable object) Creates an instance for serialization.
| |
| read | back to summary |
|---|---|
| pack-priv static Serializable read(DataInput in) throws IOException, ClassNotFoundException | |
| readEpochSec | back to summary |
|---|---|
| pack-priv static long readEpochSec(DataInput in) throws IOException Reads the state from the stream.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Implements the
| |
| readInternal | back to summary |
|---|---|
| private static Serializable readInternal(byte type, DataInput in) throws IOException, ClassNotFoundException | |
| readOffset | back to summary |
|---|---|
| pack-priv static ZoneOffset readOffset(DataInput in) throws IOException Reads the state from the stream.
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() Returns the object that will replace this one.
| |
| write | back to summary |
|---|---|
| pack-priv static void write(Object object, DataOutput out) throws IOException | |
| writeEpochSec | back to summary |
|---|---|
| pack-priv static void writeEpochSec(long epochSec, DataOutput out) throws IOException Writes the state to the stream.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Implements the
| |
| writeInternal | back to summary |
|---|---|
| private static void writeInternal(byte type, Object object, DataOutput out) throws IOException | |
| writeOffset | back to summary |
|---|---|
| pack-priv static void writeOffset(ZoneOffset offset, DataOutput out) throws IOException Writes the state to the stream.
| |