WorkCalendar calendar=new DefaultWorkCalendar();
if (ProjectCalendar.DEFAULT_BASE_CALENDAR_NAME.equals(mpxBaseCalendar.getName())){
state.setMpxStandardBaseCalendar(mpxBaseCalendar);
project.getCalendarManager().setStandardBaseCalendar(calendar);
}
converter.from(mpxBaseCalendar, calendar, state);
try {
project.getCalendarManager().addBaseCalendar(calendar);
state.mapBaseCalendar(calendar,mpxBaseCalendar);
} catch (DuplicateCalendarException e) {
// TODO Auto-generated catch block