pl.add(new DtStart(timeStandard[0]));
if (timeStandard[1] != null) {
pl.add(new DtEnd(timeStandard[1]));
}
try {
UidGenerator ug = new UidGenerator("1");
pl.add(ug.generateUid());
} catch (SocketException ex) {
Logger.getLogger(ClassVEvent.class).error(
"Error when assigning UID to "
+ course.getCourseName() + " class timetable ", ex);
}