protected void widgetDateChanged(Date date) {
    Date baseDate = date == null ? new Date() : date;

    headerPanel.setDate(baseDate);
    classicPanel.setDate(baseDate);
    modernPanel.setDate(baseDate);

    gridPanel.setBaseDate(baseDate);
    gridPanel.setDate(date);
    numberOfWeekPanel.setBaseDate(baseDate);
  }
protected void widgetDateChanged(Date date)