Class JsonDateTimeConverter

  • All Implemented Interfaces:

    public class JsonDateTimeConverter
    extends java.lang.Object
    implements org.bson.json.Converter<java.lang.Long>
    • Field Summary

      Modifier and Type Field Description
      (package private) static java.time.format.DateTimeFormatter DATE_TIME_FORMATTER  
      private static org.slf4j.Logger LOGGER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void convert​(java.lang.Long value, org.bson.json.StrictJsonWriter writer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER

        static final java.time.format.DateTimeFormatter DATE_TIME_FORMATTER
    • Constructor Detail

      • JsonDateTimeConverter

        public JsonDateTimeConverter()
    • Method Detail

      • convert

        public void convert​(java.lang.Long value,
                            org.bson.json.StrictJsonWriter writer)
        Specified by:
        convert in interface org.bson.json.Converter<java.lang.Long>