public class Periods
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> |
periods
Sortierte und zusammengefasste Zeiträume
|
Constructor and Description |
---|
Periods(java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> periods)
Erzeugt das Objekt.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> |
order(java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> periods)
Sortiert die Zeitbereiche aufsteigend und fasst diejenigen Zeiträume zusammen, die sich überschneiden.
|
public java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> periods
public Periods(java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> periods)
order(List)
.periods
- Liste mit Zeiträumen, die angefragt werden sollen. Wichtig: Der erste Tuple.first MUSS kleiner sein, als Tuple.last!public static java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> order(java.util.List<de.bsvrz.sys.funclib.losb.util.Tuple<java.lang.Long,java.lang.Long>> periods)
periods
- Liste mit Zeiträumen, die angefragt werden sollen. Wichtig: Der erste Tuple.first MUSS kleiner sein, als Tuple.last!