diff options
author | lado <herrlado@gmail.com> | 2013-05-16 14:51:18 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-05-16 14:51:18 +0200 |
commit | 35de10e93fa69cf3ffe440195b37427d664749ad (patch) | |
tree | fe8803fce546e6f7569cb25af9e9e596313d2b81 /vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java | |
parent | 612cf3729bf532e100b520118e4fa7d567b13f41 (diff) | |
download | vdr-manager-35de10e93fa69cf3ffe440195b37427d664749ad.tar.gz vdr-manager-35de10e93fa69cf3ffe440195b37427d664749ad.tar.bz2 |
Bug #1372
Diffstat (limited to 'vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java index 1fb8ed7..c64990c 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java @@ -4,7 +4,7 @@ import java.util.Date; import de.bjusystems.vdrmanager.StringUtils; import de.bjusystems.vdrmanager.app.C; - +import de.bjusystems.vdrmanager.gui.Utils; import static de.bjusystems.vdrmanager.gui.Utils.mapSpecialChars; /** @@ -46,13 +46,7 @@ public class Epg extends Event implements Timerable { public void setTimer(final Timer timer) { this.timer = timer; - if (start.before(timer.getStart())) { - timerMatch = TimerMatch.End; - } else if (stop.after(timer.getStop())) { - timerMatch = TimerMatch.Begin; - } else { - timerMatch = TimerMatch.Full; - } + timerMatch = Utils.getTimerMatch(this, timer); } public TimerState getTimerState() { |