/**
  * Returns the {@link CalendarView} used by this picker.
  *
  * <p><strong>Note:</strong> This method throws an {@link UnsupportedOperationException} when the
  * {@link android.R.styleable#DatePicker_datePickerMode} attribute is set to {@code calendar}.
  *
  * @return the calendar view
  * @see #getCalendarViewShown()
  * @deprecated Not supported by Material-style {@code calendar} mode
  * @throws UnsupportedOperationException if called when the picker is displayed in {@code
  *     calendar} mode
  */
 @Deprecated
 public CalendarView getCalendarView() {
   return mDelegate.getCalendarView();
 }