Class DateAxis

All Implemented Interfaces:
Serializable, Cloneable, PublicCloneable

public class DateAxis
extends ValueAxis
implements Cloneable, Serializable
The base class for axes that display dates. You will find it easier to understand how this axis works if you bear in mind that it really displays/measures integer (or long) data, where the integers are milliseconds since midnight, 1-Jan-1970. When displaying tick labels, the millisecond values are converted back to dates using a DateFormat instance.

You can also create a Timeline and supply in the constructor to create an axis that only contains certain domain values. For example, this allows you to create a date axis that only contains working days.

See Also:
Serialized Form