ICalGLib.Datetimeperiod.get_period

### Method

# ICalGLib Datetimeperiodget_period

since: 1.0

#### Declaration [src]

    ICalPeriod*
    i_cal_datetimeperiod_get_period (
      ICalDatetimeperiod* dtp
    )

#### Description [src]

Gets the period attribute of `ICalDatetimeperiod`.

Available since: 1.0

#### Return value

Type: `ICalPeriod`

The period attribute of `dtp`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.