Class DateTimeLabelFormats

  • All Implemented Interfaces:
    Serializable

    public class DateTimeLabelFormats
    extends AbstractConfigurationObject
    For a DATETIME axis, the scale will automatically adjust to the appropriate unit. This member gives the default string representations used for each unit. For an overview of the replacement codes, see DateFormat. Defaults to: { second: '%H:%M:%S', minute: '%H:%M', hour: '%H:%M', day: '%e. %b', week: '%e. %b', month: '%b \'%y', year: '%Y' }
    See Also:
    Serialized Form
    • Constructor Detail

      • DateTimeLabelFormats

        public DateTimeLabelFormats()
      • DateTimeLabelFormats

        public DateTimeLabelFormats​(String month,
                                    String year)
        Constructs a DateTimeLabelFormats with the given format strings for month and year
        Parameters:
        month -
        year -
    • Method Detail

      • getSecond

        public String getSecond()
        Returns:
        The format string for second resolution.
        See Also:
        setSecond(String)
      • setSecond

        public void setSecond​(String second)
        Sets the format String for second resolution.
        Parameters:
        second -
      • getMinute

        public String getMinute()
        Returns:
        The format string for minute resolution.
        See Also:
        setMinute(String)
      • setMinute

        public void setMinute​(String minute)
        Sets the format String for minute resolution.
        Parameters:
        minute -
      • getHour

        public String getHour()
        Returns:
        The format string for hour resolution.
        See Also:
        setHour(String)
      • setHour

        public void setHour​(String hour)
        Sets the format String for hour resolution
        Parameters:
        hour -
      • getDay

        public String getDay()
        Returns:
        The format string for day resolution
        See Also:
        setDay(String)
      • setDay

        public void setDay​(String day)
        Sets the format String for day resolution.
        Parameters:
        day -
      • getWeek

        public String getWeek()
        Returns:
        The format string for week resolution.
        See Also:
        setWeek(String)
      • setWeek

        public void setWeek​(String week)
        Sets the format String for week resolution.
        Parameters:
        week -
      • getMonth

        public String getMonth()
        Returns:
        The format string for month resolution.
        See Also:
        setMonth(String)
      • setMonth

        public void setMonth​(String month)
        Sets the format String for month resolution.
        Parameters:
        month -
      • getYear

        public String getYear()
        Returns:
        The format string for year resolution
        See Also:
        setYear(String)
      • setYear

        public void setYear​(String year)
        Sets the format String for year resolution.
        Parameters:
        year -