public interface

TimePeriod

implements Comparable<T>
org.jfree.data.time.TimePeriod
Known Indirect Subclasses

Class Overview

A period of time measured to millisecond precision using two instances of java.util.Date.

Summary

Public Methods
abstract Date getEnd()
Returns the end date/time.
abstract Date getStart()
Returns the start date/time.
[Expand]
Inherited Methods
From interface java.lang.Comparable

Public Methods

public abstract Date getEnd ()

Returns the end date/time. This will always be on or after the start date.

Returns
  • The end date/time (never null).

public abstract Date getStart ()

Returns the start date/time. This will always be on or before the end date.

Returns
  • The start date/time (never null).