Class PreprEventWithDay

  • public class PreprEventWithDay
    extends Object
    The guides call returns data in format which is often unsuitable for processing. It will group by day, but broadcasts may span days. Also, the contained event objects are not self contained, and need the day to calculate the actual time. I don't know yet how it works with time zones. This class wraps the 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.
    Michiel Meeuwissen