Function that extracts the time component value from a TimeOfDay.
final int Function(TimeOfDay time) getter;