Package org.jfree.chart.axis
Class DateTickUnitType
java.lang.Object
org.jfree.chart.axis.DateTickUnitType
- All Implemented Interfaces:
Serializable
An enumeration of the unit types for a
DateTickUnit
instance.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DateTickUnitType
Day.static final DateTickUnitType
Hour.static final DateTickUnitType
Millisecond.static final DateTickUnitType
Minute.static final DateTickUnitType
Month.static final DateTickUnitType
Second.static final DateTickUnitType
Year. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.int
Returns the calendar field.toString()
Returns a string representing the object.
-
Field Details
-
YEAR
Year. -
MONTH
Month. -
DAY
Day. -
HOUR
Hour. -
MINUTE
Minute. -
SECOND
Second. -
MILLISECOND
Millisecond.
-
-
Method Details
-
getCalendarField
Returns the calendar field.- Returns:
- The calendar field.
-
toString
Returns a string representing the object. -
equals
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.
-