| Package | Description |
|---|---|
| org.jfree.chart.axis |
Axis classes and interfaces.
|
| Modifier and Type | Field and Description |
|---|---|
static DateTickUnitType |
DateTickUnitType.DAY
Day.
|
static DateTickUnitType |
DateTickUnitType.HOUR
Hour.
|
static DateTickUnitType |
DateTickUnitType.MILLISECOND
Millisecond.
|
static DateTickUnitType |
DateTickUnitType.MINUTE
Minute.
|
static DateTickUnitType |
DateTickUnitType.MONTH
Month.
|
private DateTickUnitType |
DateTickUnit.rollUnitType
The roll unit type.
|
static DateTickUnitType |
DateTickUnitType.SECOND
Second.
|
private DateTickUnitType |
DateTickUnit.unitType
The units.
|
static DateTickUnitType |
DateTickUnitType.YEAR
Year.
|
| Modifier and Type | Method and Description |
|---|---|
DateTickUnitType |
DateTickUnit.getRollUnitType()
Returns the roll unit type.
|
DateTickUnitType |
DateTickUnit.getUnitType()
Returns the unit type.
|
private static DateTickUnitType |
DateTickUnit.intToUnitType(int unit)
A utility method that is used internally to convert the old unit
constants into the corresponding enumerated value.
|
| Modifier and Type | Method and Description |
|---|---|
private static long |
DateTickUnit.getMillisecondCount(DateTickUnitType unit,
int count)
Returns the (approximate) number of milliseconds for the given unit and
unit count.
|
private static int |
DateTickUnit.unitTypeToInt(DateTickUnitType unitType)
Converts a unit type to the corresponding deprecated integer constant.
|
| Constructor and Description |
|---|
DateTickUnit(DateTickUnitType unitType,
int multiple)
Creates a new date tick unit.
|
DateTickUnit(DateTickUnitType unitType,
int multiple,
java.text.DateFormat formatter)
Creates a new date tick unit.
|
DateTickUnit(DateTickUnitType unitType,
int multiple,
DateTickUnitType rollUnitType,
int rollMultiple,
java.text.DateFormat formatter)
Creates a new unit.
|