code: public Calendar getCalendar() {
          if (calendar == null) {
              return guessCalendar();
          }
          Calendar temp = (Calendar) calendar.clone(); // clone for safety
          temp.setTimeZone(getTimeZone());
          temp.setTimeInMillis(System.currentTimeMillis());
          return temp;
      }
docs: Get a copy of the calendar according to the settings.
  
  @return calendar explicit or implicit.
  @hide draft / provisional / internal are hidden on Android