ECal.Component.get_dtend

### Method

# ECal Componentget_dtend

since: 3.34

#### Declaration [src]

    ECalComponentDateTime*
    e_cal_component_get_dtend (
      ECalComponent* comp
    )

#### Description [src]

Queries the date/time end of a calendar component object. In case there’s no DTEND, but only DTSTART and DURATION, then the end is computed from the later two. Free the returned `ECalComponentDateTime` with e_cal_component_datetime_free(), when no longer needed.

Available since: 3.34

#### Return value

Type: `ECalComponentDateTime`

The date/time end, as an `ECalComponentDateTime`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.