Constructor

ICalGLibDurationnew_from_int

since: 1.0

Declaration [src]

ICalDuration*
i_cal_duration_new_from_int (
  gint t
)

Description [src]

Creates a ICalDuration from the duration in second.

Available since: 1.0

Parameters

t

Type: gint

The duration in second.

Return value

Type: ICalDuration

The newly created ICalDuration.

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