
public class CalendarDayMarker {
private int _year;
private int _month;
private int _day;
private int _color;
public CalendarDayMarker(int year, int month, int day, int color) {
init(year, month, day, color);
}
public CalendarDayMarker(Date d, int color) {
Calendar c = Calendar.getInstance();
c.setTime(d);
init(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DAY_OF_MONTH), color);
}
public CalendarDayMarker(Calendar c, int color) {
init(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DAY_OF_MONTH),...