Class LocalVEvent


  • public class LocalVEvent
    extends Object
    A holder created principally for recurrent events, so we can have one iteration of this event, using a start and end date of this iteration
    • Constructor Detail

      • LocalVEvent

        public LocalVEvent​(VEvent event,
                           Date start,
                           Date end,
                           Tag tag)
        Store an event and a start/end date, the currentDay is used when an event is on multiple days, so we know which day is the one used here
        Parameters:
        event - the event
        start - start of the iteration of this event (around the current day)
        end - end of the iteration of this event (around the current day)
        tag - the tag used for this ICS
    • Method Detail

      • getEvent

        public VEvent getEvent()
        return the event
        Returns:
        the event
      • getStart

        public Date getStart()
        return the start date of this iteration
        Returns:
        the start date of this iteration
      • getEnd

        public Date getEnd()
        return the end date of this iteration
        Returns:
        the end date of this iteration
      • getTag

        public Tag getTag()
        return the tag used for this ICS
        Returns:
        the tag used for this ICS