public class JodaIntervalSerializer
extends com.esotericsoftware.kryo.Serializer<org.joda.time.Interval>
Interval, that stores the start and end millis, and chronology
as separate attributes. If the chronology is ISOChronology,
the attribute is omitted, thus ISOChronology is seen as default.
The following chronologies are supported:
ISOChronologyCopticChronologyEthiopicChronologyGregorianChronologyJulianChronologyIslamicChronologyBuddhistChronologyGJChronology| Constructor and Description |
|---|
JodaIntervalSerializer() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.Interval |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<org.joda.time.Interval> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
org.joda.time.Interval obj) |
public org.joda.time.Interval read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<org.joda.time.Interval> type)
read in class com.esotericsoftware.kryo.Serializer<org.joda.time.Interval>public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
org.joda.time.Interval obj)
write in class com.esotericsoftware.kryo.Serializer<org.joda.time.Interval>Copyright © 2010–2015. All rights reserved.