Example usage for Java org.jfree.data.time RegularTimePeriod fields, constructors, methods, implement or subclass
The text is from its open source code.
TimeZone | DEFAULT_TIME_ZONE The default time zone. |
int | compareTo(T o) Compares this object with the specified object for order. |
RegularTimePeriod | createInstance(Class c, Date millisecond, TimeZone zone) Creates a time period that includes the specified millisecond, assuming the given time zone. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
Date | getEnd() Returns the date/time that marks the end of the time period. |
long | getFirstMillisecond() Returns the first millisecond of the time period. |
long | getFirstMillisecond(TimeZone zone) Returns the first millisecond of the time period, evaluated within a specific time zone. |
long | getFirstMillisecond(Calendar calendar) Returns the first millisecond of the time period, evaluated using the supplied calendar (which incorporates a timezone). |
long | getLastMillisecond() Returns the last millisecond of the time period. |
long | getLastMillisecond(TimeZone zone) Returns the last millisecond of the time period, evaluated within a specific time zone. |
long | getLastMillisecond(Calendar calendar) Returns the last millisecond of the time period, evaluated using the supplied calendar (which incorporates a timezone). |
long | getMiddleMillisecond() Returns the millisecond closest to the middle of the time period. |
long | getMiddleMillisecond(TimeZone zone) Returns the millisecond closest to the middle of the time period, evaluated within a specific time zone. |
long | getMiddleMillisecond(Calendar calendar) Returns the millisecond closest to the middle of the time period, evaluated using the supplied calendar (which incorporates a timezone). |
long | getSerialIndex() Returns a serial index number for the time unit. |
Date | getStart() Returns the date/time that marks the start of the time period. |
RegularTimePeriod | next() Returns the time period following this one, or null if some limit has been reached. |
void | peg(Calendar calendar) Recalculates the start date/time and end date/time for this time period relative to the supplied calendar (which incorporates a time zone). |
RegularTimePeriod | previous() Returns the time period preceding this one, or null if some lower limit has been reached. |
String | toString() Returns a string representation of the time period. |