Class DeltaTimeValueTranscoder

    • Field Detail

      • ONE_HUNDRED_NANOSECOND_INTERVAL

        private static final long ONE_HUNDRED_NANOSECOND_INTERVAL
        Delta time uses 100-nanosecond intervals. For conversion purposes this is 1x10^6 / 100.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeltaTimeValueTranscoder

        public DeltaTimeValueTranscoder()
    • Method Detail

      • decodeStringValue

        public Long decodeStringValue​(String value)
        Description copied from interface: ValueTranscoder
        Decodes the supplied ldap attribute value into a custom type.
        Parameters:
        value - to decode
        Returns:
        decoded value
      • encodeStringValue

        public String encodeStringValue​(Long value)
        Description copied from interface: ValueTranscoder
        Encodes the supplied value into an ldap attribute value.
        Parameters:
        value - to encode
        Returns:
        encoded value
      • getType

        public Class<Long> getType()
        Description copied from interface: ValueTranscoder
        Returns the type produced by this value transcoder.
        Returns:
        type produced by this value transcoder