public class DateTickUnitType extends java.lang.Object implements java.io.Serializable
DateTickUnit instance.| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
getCalendarField()
Returns the calendar field.
|
java.lang.String |
toString()
Returns a string representing the object.
|
public static final DateTickUnitType YEAR
public static final DateTickUnitType MONTH
public static final DateTickUnitType DAY
public static final DateTickUnitType HOUR
public static final DateTickUnitType MINUTE
public static final DateTickUnitType SECOND
public static final DateTickUnitType MILLISECOND
public int getCalendarField()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
true if this object is equal to the specified
object, and false otherwise.equals in class java.lang.Objectobj - the other object.