org.dvb.spi.si.simple
Class ProgramReferenceWithTimes

java.lang.Object
  extended by org.dvb.spi.si.simple.ProgramReferenceWithTimes

public final class ProgramReferenceWithTimes
extends java.lang.Object

Wraps a program reference with its start and end times.


Constructor Summary
ProgramReferenceWithTimes(ProgramReference r, java.util.Date start, java.util.Date end)
          Construct the program reference with times.
 
Method Summary
 java.util.Date getEndTime()
          Return the end time of the program as passed in to the constructor
 ProgramReference getProgramReference()
          Return the program reference as passed in to the constructor
 java.util.Date getStartTime()
          Return the start time of the program as passed in to the constructor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramReferenceWithTimes

public ProgramReferenceWithTimes(ProgramReference r,
                                 java.util.Date start,
                                 java.util.Date end)
Construct the program reference with times.

Parameters:
r - the program reference
start - the (inclusive) start time of the program
end - the (exclusive) end time of the program
Method Detail

getProgramReference

public ProgramReference getProgramReference()
Return the program reference as passed in to the constructor

Returns:
a program reference

getStartTime

public java.util.Date getStartTime()
Return the start time of the program as passed in to the constructor

Returns:
a time

getEndTime

public java.util.Date getEndTime()
Return the end time of the program as passed in to the constructor

Returns:
a time