Class GregorianCalendarSerializer


  • public class GregorianCalendarSerializer
    extends com.esotericsoftware.kryo.Serializer<GregorianCalendar>
    A more efficient kryo Serializer for GregorianCalendar instances (which are created via Calendar.getInstance() if the locale is not thai or japanese, so JapaneseImperialCalendar and BuddhistCalendar are not supported by this serializer).

    With the default reflection based serialization, a calendar instance (created via Calendar.getInstance(Locale.ENGLISH)) would take 1323 byte, this one only takes 24 byte.

    Author:
    Martin Grotzke
    • Constructor Detail

      • GregorianCalendarSerializer

        public GregorianCalendarSerializer()