Class VPrimary<T>

Type Parameters:
T - - implementation subclass
All Implemented Interfaces:
VComponent, VChild, VElement, VParent
Direct Known Subclasses:
VPersonal, VRepeatableBase

public abstract class VPrimary<T> extends VCommon<T>
Components with the following properties: COMMENT, DTSTART
See Also:
  • Field Details

    • comments

      private List<Comment> comments
    • dateTimeStart

      private DateTimeStart dateTimeStart
    • DTSTART_COMPARATOR

      public static final Comparator<? super VPrimary<?>> DTSTART_COMPARATOR
      Sorts VComponents by DTSTART date/time
  • Constructor Details

    • VPrimary

      VPrimary()
    • VPrimary

      public VPrimary(VPrimary<T> source)
  • Method Details

    • getComments

      public List<Comment> getComments()
      COMMENT: RFC 5545 iCalendar 3.8.1.12. page 83 This property specifies non-processing information intended to provide a comment to the calendar user. Example: COMMENT:The meeting really needs to include both ourselves and the customer. We can't hold this meeting without them. As a matter of fact\, the venue for the meeting ought to be at their site. - - John
    • setComments

      public void setComments(List<Comment> comments)
    • withComments

      public T withComments(List<Comment> comments)
    • withComments

      public T withComments(String... comments)
    • withComments

      public T withComments(Comment... comments)
    • dateTimeStartListenerHook

      @Deprecated void dateTimeStartListenerHook()
      Deprecated.
      DTSTART: Date-Time Start, from RFC 5545 iCalendar 3.8.2.4 page 97 Start date/time of repeat rule. Used as a starting point for making the Stream of valid start date/times of the repeating events. Can contain either a LocalDate (DATE) or LocalDateTime (DATE-TIME)
    • getDateTimeStart

      public DateTimeStart getDateTimeStart()
    • setDateTimeStart

      public void setDateTimeStart(DateTimeStart dateTimeStart)
    • setDateTimeStart

      public void setDateTimeStart(String dateTimeStart)
    • setDateTimeStart

      public void setDateTimeStart(Temporal temporal)
    • withDateTimeStart

      public T withDateTimeStart(DateTimeStart dateTimeStart)
    • withDateTimeStart

      public T withDateTimeStart(String dateTimeStart)
    • withDateTimeStart

      public T withDateTimeStart(Temporal dateTimeStart)
    • isWholeDay

      public boolean isWholeDay()
      Component is whole day if dateTimeStart (DTSTART) only contains a date (no time)