util_generate_alarms_for_comp


Description:


public ComponentAlarms? util_generate_alarms_for_comp (Component comp, long start, long end, ComponentAlarmAction omit, RecurResolveTimezoneCb resolve_tzid, Timezone default_timezone)

Generates alarm instances for a calendar component.

Returns the instances structure, or null if no alarm instances occurred in the specified time range. Free the returned structure with e_cal_component_alarms_free, when no longer needed.

Parameters:

comp

The Component to generate alarms from

start

Start time

end

End time

omit

Alarm types to omit

resolve_tzid

Callback for resolving timezones

default_timezone

The timezone used to resolve DATE and floating DATE-TIME values.

user_data

Data to be passed to the resolve_tzid callback

Returns:

a list of all the alarms found for the given component in the given time range.


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org