code: @SuppressWarnings("unchecked")
      protected void notifyInstantSelected() {
          if (getActivity() instanceof InstantPickerListener) {
              ((InstantPickerListener<TimeInstantT>) getActivity()).onInstantSelected(getPickerId(), getSelectedInstant());
          }
  
          if (getParentFragment() instanceof InstantPickerListener) {
              ((InstantPickerListener<TimeInstantT>) getParentFragment()).onInstantSelected(getPickerId(), getSelectedInstant());
          }
  
          if (getTargetFragment() instanceof InstantPickerListener) {
              ((InstantPickerListener<TimeInstantT>) getTargetFragment()).onInstantSelected(getPickerId(), getSelectedInstant());
          }
      }
docs: ==