public class ProgramUtilities extends Object
Constructor and Description |
---|
ProgramUtilities() |
Modifier and Type | Method and Description |
---|---|
static Comparator |
getProgramComparator() |
static boolean |
isNotInTimeRange(int timeFrom,
int timeTo,
Program p)
A helper method to get if a program is not in a time range.
|
static boolean |
isOnAir(Program p)
Helper method to check if a program runs.
|
public static boolean isOnAir(Program p)
p
- The program to check.public static Comparator getProgramComparator()
public static boolean isNotInTimeRange(int timeFrom, int timeTo, Program p)
timeFrom
- The beginning of the time range to checktimeTo
- The ending of the time rangep
- The program to checkTV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)