com.ijchart.xychart.constant
Class DateTickUnitType

java.lang.Object
  extended by com.ijchart.xychart.constant.DateTickUnitType
All Implemented Interfaces:
java.io.Serializable

public final class DateTickUnitType
extends java.lang.Object
implements java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

Defines tokens used to indicate a date tick unit type.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
static DateTickUnitType DATE_UNIT_DAY
           A constant for days.
static DateTickUnitType DATE_UNIT_HOUR
           A constant for hours.
static DateTickUnitType DATE_UNIT_MILLISECOND
           A constant for milliseconds.
static DateTickUnitType DATE_UNIT_MINUTE
           A constant for minutes.
static DateTickUnitType DATE_UNIT_MONTH
           A constant for months.
static DateTickUnitType DATE_UNIT_SECOND
           A constant for seconds.
static DateTickUnitType DATE_UNIT_YEAR
           A constant for years.
 
Method Summary
 boolean equals(java.lang.Object obj)
           Returns true if this object is equal to the specified object, and false otherwise.
 int hashCode()
           Returns a hash code value for the object.
 java.lang.String toString()
           Returns a string representing the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DATE_UNIT_MILLISECOND

public static final DateTickUnitType DATE_UNIT_MILLISECOND
A constant for milliseconds.


DATE_UNIT_SECOND

public static final DateTickUnitType DATE_UNIT_SECOND
A constant for seconds.


DATE_UNIT_MINUTE

public static final DateTickUnitType DATE_UNIT_MINUTE
A constant for minutes.


DATE_UNIT_HOUR

public static final DateTickUnitType DATE_UNIT_HOUR
A constant for hours.


DATE_UNIT_DAY

public static final DateTickUnitType DATE_UNIT_DAY
A constant for days.


DATE_UNIT_MONTH

public static final DateTickUnitType DATE_UNIT_MONTH
A constant for months.


DATE_UNIT_YEAR

public static final DateTickUnitType DATE_UNIT_YEAR
A constant for years.

Method Detail

toString

public java.lang.String toString()
Returns a string representing the object.

Overrides:
toString in class java.lang.Object
Returns:
The string.

equals

public boolean equals(java.lang.Object obj)
Returns true if this object is equal to the specified object, and false otherwise.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
The hashcode.