|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.Time
public class Time
Describes the timing information of a programme, both billed and actual.
For example, a programme may be billed to start at 18:00 and last 30 minutes but is actually scheduled to start at 18:03 after a 3 minute news bulletin and will therefore last only 27 minutes.
Constructor Summary | |
---|---|
Time(org.joda.time.ReadableInstant billedTime,
org.joda.time.Duration billedDuration)
Create a new programme time |
|
Time(org.joda.time.ReadableInstant billedTime,
org.joda.time.Duration billedDuration,
org.joda.time.ReadableInstant actualTime,
org.joda.time.Duration actualDuration)
Create a new programme time |
|
Time(org.joda.time.ReadableInstant billedTime,
org.joda.time.Period period)
Create a new programme time |
|
Time(org.joda.time.ReadableInstant billedTime,
org.joda.time.Period billedPeriod,
org.joda.time.ReadableInstant actualTime,
org.joda.time.Period actualPeriod)
Create a new programme time |
Method Summary | |
---|---|
org.joda.time.Duration |
getActualDuration()
|
org.joda.time.ReadableInstant |
getActualTime()
|
org.joda.time.Duration |
getBilledDuration()
|
org.joda.time.ReadableInstant |
getBilledTime()
|
void |
setActualDuration(org.joda.time.Duration actualDuration)
|
void |
setActualTime(org.joda.time.ReadableInstant actualTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Time(org.joda.time.ReadableInstant billedTime, org.joda.time.Duration billedDuration)
billedTime
- Billed programme timebilledDuration
- Billed programme durationpublic Time(org.joda.time.ReadableInstant billedTime, org.joda.time.Period period)
billedTime
- Billed programme timebilledDuration
- Billed programme durationpublic Time(org.joda.time.ReadableInstant billedTime, org.joda.time.Duration billedDuration, org.joda.time.ReadableInstant actualTime, org.joda.time.Duration actualDuration)
billedTime
- Billed programme timebilledDuration
- Billed programme durationactualTime
- Actual start time of the programmeactualDuration
- Actual duration of the programmepublic Time(org.joda.time.ReadableInstant billedTime, org.joda.time.Period billedPeriod, org.joda.time.ReadableInstant actualTime, org.joda.time.Period actualPeriod)
billedTime
- Billed programme timebilledDuration
- Billed programme durationactualTime
- Actual start time of the programmeactualDuration
- Actual duration of the programmeMethod Detail |
---|
public org.joda.time.Duration getActualDuration()
public void setActualDuration(org.joda.time.Duration actualDuration)
actualDuration
- Sets the actual duration of the programmepublic org.joda.time.ReadableInstant getActualTime()
public void setActualTime(org.joda.time.ReadableInstant actualTime)
actualTime
- Sets the actual start time of the programmepublic org.joda.time.Duration getBilledDuration()
public org.joda.time.ReadableInstant getBilledTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |