Class JodaIntervalSerializer
java.lang.Object
com.esotericsoftware.kryo.kryo5.Serializer<org.joda.time.Interval>
com.xebialabs.xlrelease.actors.kryoserializers.javakaffee.jodatime.JodaIntervalSerializer
public class JodaIntervalSerializer
extends com.esotericsoftware.kryo.kryo5.Serializer<org.joda.time.Interval>
A format for Joda
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.Intervalread(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends org.joda.time.Interval> type) voidwrite(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.joda.time.Interval obj) Methods inherited from class com.esotericsoftware.kryo.kryo5.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
JodaIntervalSerializer
public JodaIntervalSerializer()
-
-
Method Details
-
read
public org.joda.time.Interval read(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends org.joda.time.Interval> type) - Specified by:
readin classcom.esotericsoftware.kryo.kryo5.Serializer<org.joda.time.Interval>
-
write
public void write(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.joda.time.Interval obj) - Specified by:
writein classcom.esotericsoftware.kryo.kryo5.Serializer<org.joda.time.Interval>
-