All Implemented Interfaces:
PropDateTime<Temporal>, VProperty<Temporal>, VChild, VElement, VParent

public class DateTimeEnd extends PropBaseDateTime<Temporal,DateTimeEnd>

RFC 5545, 3.8.2.2. Date-Time End

Property Name: DTEND

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

Value Type: The default value type is DATE-TIME. The value type can be set to a DATE value type.

Property Parameters: IANA, non-standard, value data type, and time zone identifier property parameters can be specified on this property.

Conformance: This property can be specified in VEVENT or VFreeBusy calendar components.

Description: Within the VEVENT calendar component, this property defines the date and time by which the event ends. The value type of this property MUST be the same as the DTSTART property, and its value MUST be later in time than the value of the DTSTART property. Furthermore, this property MUST be specified as a date with local time if and only if the DTSTART property is also specified as a date with local time.

Within the VFreeBusy calendar component, this property defines the end date and time for the free or busy time information. The time MUST be specified in the UTC time format. The value MUST be later in time than the value of the DTSTART property.

Format Definition: This property is defined by the following notation:

  • dtend
    • DTEND dtendparam ":" dtendval CRLF
  • dtendparam
    • The following are OPTIONAL, but MUST NOT occur more than once.
    • The following are OPTIONAL, and MAY occur more than once.
      • ";"
        invalid reference
        OtherParameter

Example: The following is an example of this property:

  • DTEND:19960401T150000Z
  • DTEND;VALUE=DATE:19980704
  • Constructor Details

    • DateTimeEnd

      public DateTimeEnd(Temporal temporal)
    • DateTimeEnd

      public DateTimeEnd(DateTimeEnd source)
    • DateTimeEnd

      public DateTimeEnd()
  • Method Details

    • parse

      public static DateTimeEnd parse(String value)
      Parse string to Temporal. Not type safe. Implementation must ensure parameterized type is the same as date-time represented by String parameter
    • parse

      public static DateTimeEnd parse(Class<? extends Temporal> clazz, String value)
      Parse string with Temporal class explicitly provided as parameter