Method

ICalGLibTimesubtract

since: 2.0

Declaration [src]

ICalDuration*
i_cal_time_subtract (
  ICalTime* t1,
  ICalTime* t2
)

Description [src]

Gets the duration between two time.

Available since: 2.0

Parameters

t2

Type: ICalTime

The subtracting ICalTime.

The data is owned by the caller of the method.

Return value

Type: ICalDuration

The ICalDuration between two ICalTime.

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