Class DateToSqlTimeConversion

    • Constructor Detail

      • DateToSqlTimeConversion

        public DateToSqlTimeConversion()
    • Method Detail

      • getToExpression

        protected String getToExpression​(ConversionContext conversionContext)
        Description copied from class: SimpleConversion
        Returns the conversion string from source to target. The placeholder <SOURCE> can be used to represent a reference to the source value.
        Specified by:
        getToExpression in class SimpleConversion
        Parameters:
        conversionContext - A context providing optional information required for creating the conversion.
        Returns:
        The conversion string from source to target
      • getToConversionImportTypes

        protected Set<Type> getToConversionImportTypes​(ConversionContext conversionContext)
        Description copied from class: SimpleConversion
        Returns a set with imported types of the "to" conversion. Defaults to an empty set; can be overridden in sub-classes to return the required types.
        Overrides:
        getToConversionImportTypes in class SimpleConversion
        Parameters:
        conversionContext - the conversion context
        Returns:
        conversion types required in the "to" conversion
      • getFromExpression

        protected String getFromExpression​(ConversionContext conversionContext)
        Description copied from class: SimpleConversion
        Returns the conversion string from target to source. The placeholder <SOURCE> can be used to represent a reference to the target value.
        Specified by:
        getFromExpression in class SimpleConversion
        Parameters:
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        Returns:
        The conversion string from target to source