}
public static void toMpxExceptionDay(WorkDay day,ProjectCalendarException mpxDay) {
if (day==null)
return;
WorkingHours workingHours=day.getWorkingHours();
WorkRange range;
range=workingHours.getInterval(0);
if (range!=null){
mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime()))); //claur
}
range=workingHours.getInterval(1);
if (range!=null){
mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime())));//claur
}
range=workingHours.getInterval(2);
if (range!=null){
mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime())));//claur
}
}