Class DateRenderer

    • Constructor Detail

      • DateRenderer

        public DateRenderer()
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the Date.toString() representation for the default locale.

      • DateRenderer

        public DateRenderer​(Locale locale,
                            String nullRepresentation)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the Date.toString() representation for the given locale.

        Parameters:
        locale - the locale in which to present dates
        nullRepresentation - the textual representation of null value
        Throws:
        IllegalArgumentException - if locale is null
      • DateRenderer

        public DateRenderer​(String formatString)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the given string format, as displayed in the default locale.

        Parameters:
        formatString - the format string with which to format the date
        Throws:
        IllegalArgumentException - if formatString is null
        See Also:
        Format String Syntax
      • DateRenderer

        public DateRenderer​(String formatString,
                            String nullRepresentation)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the given string format, as displayed in the default locale.

        Parameters:
        formatString - the format string with which to format the date
        nullRepresentation - the textual representation of null value
        Throws:
        IllegalArgumentException - if formatString is null
        See Also:
        Format String Syntax
      • DateRenderer

        public DateRenderer​(String formatString,
                            Locale locale)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the given string format, as displayed in the given locale.

        Parameters:
        formatString - the format string to format the date with
        locale - the locale to use
        Throws:
        IllegalArgumentException - if either argument is null
        See Also:
        Format String Syntax
      • DateRenderer

        public DateRenderer​(String formatString,
                            Locale locale,
                            String nullRepresentation)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with the given string format, as displayed in the given locale.

        Parameters:
        formatString - the format string to format the date with
        locale - the locale to use
        nullRepresentation - the textual representation of null value
        Throws:
        IllegalArgumentException - if either argument is null
        See Also:
        Format String Syntax
      • DateRenderer

        public DateRenderer​(DateFormat dateFormat)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with he given date format.

        Parameters:
        dateFormat - the date format to use when rendering dates
        Throws:
        IllegalArgumentException - if dateFormat is null
      • DateRenderer

        public DateRenderer​(DateFormat dateFormat,
                            String nullRepresentation)
                     throws IllegalArgumentException
        Deprecated.
        Creates a new date renderer.

        The renderer is configured to render with he given date format.

        Parameters:
        dateFormat - the date format to use when rendering dates
        Throws:
        IllegalArgumentException - if dateFormat is null