@Test public void testZeroFirstDisplayedDate() { JXMonthView monthView = new JXMonthView(); Date first = monthView.getUI().getLastDisplayedDay(); monthView.updateUI(); assertEquals(first, monthView.getUI().getLastDisplayedDay()); }
@Override public Date getLastDisplayedDay() { return lastDisplayedDate; }
BasicMonthViewUI extends MonthViewUI { @Override public Date getLastDisplayedDay() { return lastDisplayedDate; } }
BasicMonthViewUI extends MonthViewUI { @Override public Date getLastDisplayedDay() { return lastDisplayedDate; }  }
BasicMonthViewUI extends MonthViewUI { @Override public Date getLastDisplayedDay() { return lastDisplayedDate; }  @SuppressWarnings({ "UnusedDeclaration" }) static ComponentUI createUI(JComponent c); @Override void installUI(JComponent c); @Override void uninstallUI(JComponent c); @Override String[] getDaysOfTheWeek(); boolean isUsingKeyboard(); void setUsingKeyboard(boolean val); @Override Date getDayAtLocation(int x, int y); boolean isWeekOfYearCell(int x, int y); @Override void update(Graphics g, JComponent c); @Override void paint(Graphics g, JComponent c); @Override Date getLastDisplayedDay(); }
BasicMonthViewUI extends MonthViewUI { @Override public Date getLastDisplayedDay() { return lastDisplayedDate; }  @SuppressWarnings({ "UnusedDeclaration" }) static ComponentUI createUI(JComponent c); @Override void installUI(JComponent c); @Override void uninstallUI(JComponent c); @Override String[] getDaysOfTheWeek(); boolean isUsingKeyboard(); void setUsingKeyboard(boolean val); @Override Date getDayAtLocation(int x, int y); boolean isWeekOfYearCell(int x, int y); @Override void update(Graphics g, JComponent c); @Override void paint(Graphics g, JComponent c); @Override Date getLastDisplayedDay(); static final int MONTH_DOWN; static final int MONTH_UP; }