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
FieldsModifier and TypeFieldDescriptionstatic final DateTickUnitTypeDay.static final DateTickUnitTypeHour.static final DateTickUnitTypeMillisecond.static final DateTickUnitTypeMinute.static final DateTickUnitTypeMonth.static final DateTickUnitTypeSecond.static final DateTickUnitTypeYear. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this object is equal to the specified object, andfalseotherwise.intReturns 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
Returnstrueif this object is equal to the specified object, andfalseotherwise.
-