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 DateTickUnitType
DAY
Day.static DateTickUnitType
HOUR
Hour.static DateTickUnitType
MILLISECOND
Millisecond.static DateTickUnitType
MINUTE
Minute.static DateTickUnitType
MONTH
Month.static DateTickUnitType
SECOND
Second.static DateTickUnitType
YEAR
Year. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.int
getCalendarField()
Returns the calendar field.String
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.
-