public class PreprEventWithDay extends Object
PreprEvent
with LocalDate
object to get a complete small bundle of information which can be used as an entry in lists which represent a schedule.
The utility asRange()
returns the actual range the event is representing.
The append(PreprEventWithDay)
utility targets to be able to 'glue' events together.Modifier and Type | Method and Description |
---|---|
void |
append(PreprEventWithDay next) |
com.google.common.collect.Range<Instant> |
asRange() |
static List<PreprEventWithDay> |
fromSchedule(PreprSchedule unfilteredResult,
ZoneId zoneId) |
static List<PreprEventWithDay> |
fromSchedule(PreprSchedule unfilteredResult,
ZoneId zoneId,
LocalDateTime from,
LocalDateTime until) |
Optional<PreprTimeline> |
getFirstTimeline() |
Instant |
getFrom() |
PreprShow |
getShow() |
List<PreprTimeline> |
getTimelines() |
Instant |
getUntil() |
PreprUsers |
getUsers() |
String |
showId() |
public Instant getFrom()
public Instant getUntil()
public List<PreprTimeline> getTimelines()
public PreprShow getShow()
public Optional<PreprTimeline> getFirstTimeline()
public PreprUsers getUsers()
public com.google.common.collect.Range<Instant> asRange()
public void append(PreprEventWithDay next)
public String showId()
public static List<PreprEventWithDay> fromSchedule(@Nonnull PreprSchedule unfilteredResult, ZoneId zoneId)
public static List<PreprEventWithDay> fromSchedule(@Nonnull PreprSchedule unfilteredResult, @Nonnull ZoneId zoneId, @Nonnull LocalDateTime from, @Nonnull LocalDateTime until)
Copyright © 2018–2019. All rights reserved.