code: public final void stopBatchUpdates() {
          batchUpdates = false;
  
          if (dirty) {
              dirty = false;
              fireEvent(new CalendarEvent(CalendarEvent.CALENDAR_CHANGED, this));
          }
      }
docs: Tells the calendar that the application is done making big changes. Invoking
  this method will trigger a calendar event of type {@link CalendarEvent#CALENDAR_CHANGED} which
  will then force an update of the views.