ICalGLib.Period.new_from_string
Description: Reference for ICalGLib.Period.new_from_string

### Constructor

# ICalGLib Periodnew_from_string

since: 1.0

#### Declaration [src]

    ICalPeriod*
    i_cal_period_new_from_string (
      const gchar* str
    )

#### Description [src]

Creates a `ICalPeriod` from a string.

Available since: 1.0

#### Parameters

`str`

  Type: `const gchar*`

  The string used to create the `ICalPeriod`.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `ICalPeriod`

The newly created `ICalPeriod`.

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