OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 167 → Rev 168

/trunk/jOpenCalendar/src/org/jopencalendar/ui/JCalendarItemProvider.java
29,10 → 29,23
cal.set(Calendar.YEAR, year);
cal.set(Calendar.DAY_OF_YEAR, dayOfYear);
cal.add(Calendar.HOUR_OF_DAY, 8);
 
int gCount = 0;
JCalendarItemGroup g = new JCalendarItemGroup();
g.setName("Group " + gCount);
Flag flag = new Flag("planned", new ImageIcon(JCalendarItemProvider.class.getResource("calendar_small.png")), "Planned", "planned item");
 
JCalendarItem item0 = new JCalendarItem();
item0.addFlag(flag);
item0.setSummary("5 minutes");
item0.setDtStart(cal);
Calendar c2 = (Calendar) cal.clone();
c2.add(Calendar.MINUTE, 5);
item0.setDtEnd(c2);
item0.setDayOnly(false);
g.addItem(item0);
l.add(item0);
 
for (int d = 0; d < 8; d++) {
JCalendarItem i = new JCalendarItem();
i.addFlag(flag);
80,6 → 93,16
JCalendarItemGroup g = new JCalendarItemGroup();
g.setName("Group " + gCount);
final Flag flag = new Flag("planned", new ImageIcon(JCalendarItemProvider.class.getResource("calendar_small.png")), "Planned", "planned item");
JCalendarItem item0 = new JCalendarItem();
item0.addFlag(flag);
item0.setSummary("5 minutes");
item0.setDtStart(cal);
Calendar cal3 = (Calendar) cal.clone();
cal3.add(Calendar.MINUTE, 5);
item0.setDtEnd(cal3);
item0.setDayOnly(false);
g.addItem(item0);
l.add(item0);
 
for (int d = 1; d < 6; d++) {
{