| java.lang.Object | ||
| ↳ | org.jfree.data.time.RegularTimePeriod | |
| ↳ | org.jfree.data.time.FixedMillisecond | |
Wrapper for a java.util.Date object that allows it to be used
as a RegularTimePeriod. This class is immutable, which is a
requirement for all RegularTimePeriod subclasses.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.time.RegularTimePeriod
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a millisecond based on the current system time.
| |||||||||||
Constructs a millisecond.
| |||||||||||
Constructs a millisecond.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns an integer indicating the order of this Millisecond object
relative to the specified
object: negative == before, zero == same, positive == after.
| |||||||||||
Tests the equality of this object against an arbitrary Object.
| |||||||||||
Returns the first millisecond of the time period.
| |||||||||||
Returns the first millisecond of the time period.
| |||||||||||
Returns the last millisecond of the time period.
| |||||||||||
Returns the last millisecond of the time period.
| |||||||||||
Returns the millisecond closest to the middle of the time period.
| |||||||||||
Returns the millisecond closest to the middle of the time period.
| |||||||||||
Returns a serial index number for the millisecond.
| |||||||||||
Returns the date/time.
| |||||||||||
Returns a hash code for this object instance.
| |||||||||||
Returns the millisecond following this one.
| |||||||||||
This method is overridden to do nothing.
| |||||||||||
Returns the millisecond preceding this one.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.time.RegularTimePeriod
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
From interface
org.jfree.data.time.TimePeriod
| |||||||||||
Constructs a millisecond based on the current system time.
Constructs a millisecond.
| millisecond | the millisecond (same encoding as java.util.Date). |
|---|
Returns an integer indicating the order of this Millisecond object relative to the specified object: negative == before, zero == same, positive == after.
| o1 | the object to compare. |
|---|
Tests the equality of this object against an arbitrary Object.
| object | the object to compare |
|---|
Returns the first millisecond of the time period.
| calendar | the calendar. |
|---|
Returns the first millisecond of the time period.
Returns the last millisecond of the time period.
| calendar | the calendar. |
|---|
Returns the last millisecond of the time period.
Returns the millisecond closest to the middle of the time period.
| calendar | the calendar. |
|---|
Returns the millisecond closest to the middle of the time period.
Returns a serial index number for the millisecond.
Returns a hash code for this object instance.
Returns the millisecond following this one.
This method is overridden to do nothing.
| calendar | ignored |
|---|
Returns the millisecond preceding this one.