Class DateTickUnit

java.lang.Object
org.jfree.chart.axis.TickUnit
org.jfree.chart.axis.DateTickUnit
All Implemented Interfaces:
Serializable, Comparable

public class DateTickUnit
extends TickUnit
implements Serializable
A tick unit for use by subclasses of DateAxis. Instances of this class are immutable.
See Also:
Serialized Form
  • Constructor Details

    • DateTickUnit

      public DateTickUnit​(DateTickUnitType unitType, int multiple)
      Creates a new date tick unit.
      Parameters:
      unitType - the unit type (null not permitted).
      multiple - the multiple (of the unit type, must be > 0).
      Since:
      1.0.13
    • DateTickUnit

      public DateTickUnit​(DateTickUnitType unitType, int multiple, DateFormat formatter)
      Creates a new date tick unit.
      Parameters:
      unitType - the unit type (null not permitted).
      multiple - the multiple (of the unit type, must be > 0).
      formatter - the date formatter (null not permitted).
      Since:
      1.0.13
    • DateTickUnit

      public DateTickUnit​(DateTickUnitType unitType, int multiple, DateTickUnitType rollUnitType, int rollMultiple, DateFormat formatter)
      Creates a new unit.
      Parameters:
      unitType - the unit.
      multiple - the multiple.
      rollUnitType - the roll unit.
      rollMultiple - the roll multiple.
      formatter - the date formatter (null not permitted).
      Since:
      1.0.13
  • Method Details