ECal.Component.get_due

### Method

# ECal Componentget_due

since: 3.34

#### Declaration [src]

    ECalComponentDateTime*
    e_cal_component_get_due (
      ECalComponent* comp
    )

#### Description [src]

Queries the due date/time of a calendar component object. In case there’s no DUE, but only DTSTART and DURATION, then the due 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 due date/time, 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`.