Class ZonedDateTimeCodec

java.lang.Object
dev.plex.storage.codec.ZonedDateTimeCodec
All Implemented Interfaces:
org.bson.codecs.Codec<ZonedDateTime>, org.bson.codecs.Decoder<ZonedDateTime>, org.bson.codecs.Encoder<ZonedDateTime>

public class ZonedDateTimeCodec extends Object implements org.bson.codecs.Codec<ZonedDateTime>
  • Constructor Details

    • ZonedDateTimeCodec

      public ZonedDateTimeCodec()
  • Method Details

    • decode

      public ZonedDateTime decode(org.bson.BsonReader reader, org.bson.codecs.DecoderContext decoderContext)
      Specified by:
      decode in interface org.bson.codecs.Decoder<ZonedDateTime>
    • encode

      public void encode(org.bson.BsonWriter writer, ZonedDateTime value, org.bson.codecs.EncoderContext encoderContext)
      Specified by:
      encode in interface org.bson.codecs.Encoder<ZonedDateTime>
    • getEncoderClass

      public Class<ZonedDateTime> getEncoderClass()
      Specified by:
      getEncoderClass in interface org.bson.codecs.Encoder<ZonedDateTime>