Interface VDuration<T>

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

public interface VDuration<T> extends VComponent
Interface for DurationProp property
  • Method Details

    • getDuration

      DurationProp getDuration()
      Gets the value of the DurationProp
    • setDuration

      void setDuration(DurationProp duration)
      Sets the value of the DurationProp
    • setDuration

      default void setDuration(String duration)
      Sets the value of the DurationProp by parsing iCalendar content text
    • setDuration

      default void setDuration(TemporalAmount duration)
      Sets the value of the DurationProp by creating new DurationProp from the TemporalAmount parameter
    • withDuration

      default T withDuration(TemporalAmount duration)

      Sets the value of the DurationProp property } by creating a new DurationProp from the TemporalAmount parameter

      Returns:
      - this class for chaining
    • withDuration

      default T withDuration(String duration)

      Sets the value of the DurationProp property } by parsing iCalendar content text

      Returns:
      - this class for chaining
    • withDuration

      default T withDuration(DurationProp duration)

      Sets the value of the DurationProp property}

      Returns:
      - this class for chaining