codjo/codjo-gui-toolkit — pull request #7 by codjo-sandbox (2012-06-18 15:22:36+00:00)
Title: JCalendarYear enhancement

### Context
We need to highlight a set of dates when displaying the ```JCalendarYear``` component (these dates are neither holidays nor week-ends).

### Description
A new method ```setDateHighlighter``` has been added. It allows to define which date to highlight and what colors to use for background and foreground, as follows:

```
public interface DateHighlighter {

boolean highlight(Date date);

Color getHighlightForeground();

Color getHighlightBackground();
}
```