|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.RelativeTime
public class RelativeTime
Describes the timing information of a programme, both billed and actual relative to its parent
Constructor Summary | |
---|---|
RelativeTime(org.joda.time.Duration billedTime,
org.joda.time.Duration billedDuration)
Create a new relative programme time |
|
RelativeTime(org.joda.time.Duration billedTime,
org.joda.time.Duration billedDuration,
org.joda.time.Duration actualTime,
org.joda.time.Duration actualDuration)
Create a new programme time |
|
RelativeTime(org.joda.time.ReadableInstant parent,
org.joda.time.Period timePeriod,
org.joda.time.Period billedPeriod)
Create a new relative programme time |
Method Summary | |
---|---|
org.joda.time.Duration |
getActualDuration()
|
org.joda.time.Duration |
getActualTime()
|
org.joda.time.Duration |
getBilledDuration()
|
org.joda.time.Duration |
getBilledTime()
|
void |
setActualDuration(org.joda.time.Duration actualDuration)
|
void |
setActualTime(org.joda.time.Duration actualTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelativeTime(org.joda.time.Duration billedTime, org.joda.time.Duration billedDuration)
billedTime
- Billed programme time relative to its parentbilledDuration
- Billed programme durationpublic RelativeTime(org.joda.time.ReadableInstant parent, org.joda.time.Period timePeriod, org.joda.time.Period billedPeriod)
billedTime
- Billed programme time relative to its parentbilledDuration
- Billed programme durationpublic RelativeTime(org.joda.time.Duration billedTime, org.joda.time.Duration billedDuration, org.joda.time.Duration actualTime, org.joda.time.Duration actualDuration)
billedTime
- Billed programme time relative to its parentbilledDuration
- Billed programme durationactualTime
- Actual start time of the programme relative to its parentactualDuration
- 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.Duration getActualTime()
public void setActualTime(org.joda.time.Duration actualTime)
actualTime
- Sets the actual start time of the programme
relative to its parentpublic org.joda.time.Duration getBilledDuration()
public org.joda.time.Duration getBilledTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |