Java org.jfree.data.time RegularTimePeriod fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.time RegularTimePeriod fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.time RegularTimePeriod.

The text is from its open source code.

Subclass

org.jfree.data.time.RegularTimePeriod has subclasses.
Click this link to see all its subclasses.

Field

TimeZoneDEFAULT_TIME_ZONE
The default time zone.

Method

intcompareTo(T o)
Compares this object with the specified object for order.
RegularTimePeriodcreateInstance(Class c, Date millisecond, TimeZone zone)
Creates a time period that includes the specified millisecond, assuming the given time zone.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
DategetEnd()
Returns the date/time that marks the end of the time period.
longgetFirstMillisecond()
Returns the first millisecond of the time period.
longgetFirstMillisecond(TimeZone zone)
Returns the first millisecond of the time period, evaluated within a specific time zone.
longgetFirstMillisecond(Calendar calendar)
Returns the first millisecond of the time period, evaluated using the supplied calendar (which incorporates a timezone).
longgetLastMillisecond()
Returns the last millisecond of the time period.
longgetLastMillisecond(TimeZone zone)
Returns the last millisecond of the time period, evaluated within a specific time zone.
longgetLastMillisecond(Calendar calendar)
Returns the last millisecond of the time period, evaluated using the supplied calendar (which incorporates a timezone).
longgetMiddleMillisecond()
Returns the millisecond closest to the middle of the time period.
longgetMiddleMillisecond(TimeZone zone)
Returns the millisecond closest to the middle of the time period, evaluated within a specific time zone.
longgetMiddleMillisecond(Calendar calendar)
Returns the millisecond closest to the middle of the time period, evaluated using the supplied calendar (which incorporates a timezone).
longgetSerialIndex()
Returns a serial index number for the time unit.
DategetStart()
Returns the date/time that marks the start of the time period.
RegularTimePeriodnext()
Returns the time period following this one, or null if some limit has been reached.
voidpeg(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).
RegularTimePeriodprevious()
Returns the time period preceding this one, or null if some lower limit has been reached.
StringtoString()
Returns a string representation of the time period.