get_datetime_with_component


Description:

[ Version ( since = "3.0.5" ) ]
public Time get_datetime_with_component (Component? comp)

If the property is a DATE-TIME with a TZID parameter and a corresponding VTIMEZONE is present in the component, the returned component will already be in the correct timezone; otherwise the caller is responsible for converting it.

The comp can be NULL, in which case the parent of the this is used to find the corresponding time zone.

Parameters:

this

An Property

comp

An Component

Returns:

Get a DATE or DATE-TIME property as an Time.