Class InstantSerializerBase<T extends java.time.temporal.Temporal>

    • Field Detail

      • defaultFormat

        private final java.time.format.DateTimeFormatter defaultFormat
      • getEpochMillis

        private final java.util.function.ToLongFunction<T extends java.time.temporal.Temporal> getEpochMillis
      • getEpochSeconds

        private final java.util.function.ToLongFunction<T extends java.time.temporal.Temporal> getEpochSeconds
      • getNanoseconds

        private final java.util.function.ToIntFunction<T extends java.time.temporal.Temporal> getNanoseconds
    • Constructor Detail

      • InstantSerializerBase

        protected InstantSerializerBase​(java.lang.Class<T> supportedType,
                                        java.util.function.ToLongFunction<T> getEpochMillis,
                                        java.util.function.ToLongFunction<T> getEpochSeconds,
                                        java.util.function.ToIntFunction<T> getNanoseconds,
                                        java.time.format.DateTimeFormatter formatter)
      • InstantSerializerBase

        protected InstantSerializerBase​(InstantSerializerBase<T> base,
                                        java.lang.Boolean useTimestamp,
                                        java.time.format.DateTimeFormatter dtf)
      • InstantSerializerBase

        protected InstantSerializerBase​(InstantSerializerBase<T> base,
                                        java.lang.Boolean useTimestamp,
                                        java.lang.Boolean useNanoseconds,
                                        java.time.format.DateTimeFormatter dtf)
      • InstantSerializerBase

        protected InstantSerializerBase​(InstantSerializerBase<T> base,
                                        java.lang.Boolean useTimestamp,
                                        java.lang.Boolean useNanoseconds,
                                        java.time.format.DateTimeFormatter dtf,
                                        com.fasterxml.jackson.annotation.JsonFormat.Shape shape)
        Since:
        2.14