Example usage for Java org.jfree.chart.axis DateTickUnit fields, constructors, methods, implement or subclass
The text is from its open source code.
int | YEAR A constant for years. |
int | MONTH A constant for months. |
int | DAY A constant for days. |
int | HOUR A constant for hours. |
int | MINUTE A constant for minutes. |
int | SECOND A constant for seconds. |
int | MILLISECOND A constant for milliseconds. |
DateTickUnit(DateTickUnitType unitType, int multiple) Creates a new date tick unit. | |
DateTickUnit(int unit, int count) Creates a new date tick unit. | |
DateTickUnit(DateTickUnitType unitType, int multiple, DateFormat formatter) Creates a new date tick unit. | |
DateTickUnit(int unit, int count, DateFormat formatter) Creates a new date tick unit. | |
DateTickUnit(DateTickUnitType unitType, int multiple, DateTickUnitType rollUnitType, int rollMultiple, DateFormat formatter) Creates a new unit. | |
DateTickUnit(int unit, int count, int rollUnit, int rollCount, DateFormat formatter) Creates a new unit. |
Date | addToDate(Date base) Calculates a new date by adding this unit to the base date, with calculations performed in the default timezone and locale. |
Date | addToDate(Date base, TimeZone zone) Calculates a new date by adding this unit to the base date. |
int | getCalendarField() Returns a field code that can be used with the Calendar class. |
int | getUnit() Returns the date unit. |
Date | rollDate(Date base) Rolls the date forward by the amount specified by the roll unit and count. |
Date | rollDate(Date base, TimeZone zone) Rolls the date forward by the amount specified by the roll unit and count. |