Class MonthOrDayNameFunctionModifier

  • public class MonthOrDayNameFunctionModifier
    extends FunctionModifier
    Convert the MONTHNAME etc. function into an equivalent Oracle function. Format: to_char(timestampvalue/dayvalue, 'Month'/'Day')
    • Constructor Detail

      • MonthOrDayNameFunctionModifier

        public MonthOrDayNameFunctionModifier​(LanguageFactory langFactory,
                                              String format)
    • Method Detail

      • translate

        public List<?> translate​(Function function)
        Description copied from class: FunctionModifier
        Return a List of translated parts (LanguageObjects and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.
        Specified by:
        translate in class FunctionModifier
        function - IFunction to be translated
        List of translated parts, or null