read_times


Description:

[ Version ( since = "3.58" ) ]
public bool read_times (uint min_duration_minutes, Timezone? timezone)

Reads the start time and the duration from the set component, returning whether any of it changed.

The min_duration_minutes is used to define the minimum duration, in minutes, the item should have set. Any smaller duration is increased to it.

Parameters:

this

an ComponentBagItem

min_duration_minutes

minimum duration, in minutes

timezone

an Timezone to calculate the start time for, or null

Returns:

true when any of the stored times changed, false if not