Interface VDateTimeEnd<T>

Type Parameters:
T - concrete subclass
All Superinterfaces:
VChild, VComponent, VElement, VParent
All Known Implementing Classes:
NonStandardComponent, VEvent, VFreeBusy

public interface VDateTimeEnd<T> extends VComponent
Interface for DateTimeEnd property
  • Method Details

    • getDateTimeEnd

      DateTimeEnd getDateTimeEnd()

      This property specifies the date and time that a calendar component ends.

      *

      Example: The following is an example of this property:

      • DTEND:19960401T150000Z
      • DTEND;VALUE=DATE:19980704
    • setDateTimeEnd

      void setDateTimeEnd(DateTimeEnd dtEnd)
    • setDateTimeEnd

      default void setDateTimeEnd(String dtEnd)
    • setDateTimeEnd

      default void setDateTimeEnd(Temporal temporal)
    • withDateTimeEnd

      default T withDateTimeEnd(Temporal dtEnd)
      Sets the value of #DateTimeEnd().
      Returns:
      - this class for chaining
    • withDateTimeEnd

      default T withDateTimeEnd(String dtEnd)
      Sets the value of #DateTimeEnd() by parsing iCalendar text.
      Returns:
      - this class for chaining
    • withDateTimeEnd

      default T withDateTimeEnd(DateTimeEnd dtEnd)
      Sets the value of #DateTimeEnd().
      Returns:
      - this class for chaining
    • getDateTimeStart

      DateTimeStart getDateTimeStart()
    • checkDateTimeEndConsistency

      default void checkDateTimeEndConsistency()
      Ensures DateTimeEnd has same date-time type as DateTimeStart. Should be called by listener after dateTimeEndProperty() is initialized. Intended for internal use only.
    • errorsDateTimeEnd

      static List<String> errorsDateTimeEnd(VDateTimeEnd<?> testObj)
      Creates error string if DateTimeEnd value has an error, null otherwise.
      Parameters:
      testObj - VDateTimeEnd to be tested.
      Returns:
      Error string or null if no error.