Class DayTimeIntervalDurationConverter

    • Constructor Detail

      • DayTimeIntervalDurationConverter

        public DayTimeIntervalDurationConverter()
    • Method Detail

      • toInternal

        public Long toInternal​(java.time.Duration external)
        Description copied from interface: DataStructureConverter
        Converts to internal data structure.

        Note: Parameter must not be null. Output must not be null.

        Specified by:
        toInternal in interface DataStructureConverter<Long,​java.time.Duration>
      • toExternal

        public java.time.Duration toExternal​(Long internal)
        Description copied from interface: DataStructureConverter
        Converts to external data structure.

        Note: Parameter must not be null. Output must not be null.

        Specified by:
        toExternal in interface DataStructureConverter<Long,​java.time.Duration>