set_component


Description:

[ Version ( since = "1.0" ) ]
public int set_component (Component comp)

Sets the VTIMEZONE component of Timezone, initializing the tzid, location and tzname fields.

It returns 1 on success or 0 on failure, i.e. no TZID was found.

note The this assumes ownership of the comp, thus make sure you pass an unowned Component.

Parameters:

this

The Timezone to be set

comp

The VTIMEZONE component of an Timezone, initializing the tzid, location and tzname fields

Returns:

Whether the action is successful. 1 for success, 0 for failure.