Package org.jfree.chart.axis
Class DateTickUnitType
java.lang.Object
org.jfree.chart.axis.DateTickUnitType
- All Implemented Interfaces:
Serializable
public class DateTickUnitType extends Object implements Serializable
An enumeration of the unit types for a
DateTickUnit instance.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static DateTickUnitTypeDAYDay.static DateTickUnitTypeHOURHour.static DateTickUnitTypeMILLISECONDMillisecond.static DateTickUnitTypeMINUTEMinute.static DateTickUnitTypeMONTHMonth.static DateTickUnitTypeSECONDSecond.static DateTickUnitTypeYEARYear. -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)Returnstrueif this object is equal to the specified object, andfalseotherwise.intgetCalendarField()Returns the calendar field.StringtoString()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.
-