protected Project project;
public Object exportProject(Project in){
return null;
}
protected void exportOptions(CalendarOptions options) {
CalendarOption opOptions = CalendarOption.getInstance();
CalendarOptions pOptions = project.getCalendarOptions();
opOptions.setHoursPerDay(pOptions.getHoursPerDay());
opOptions.setHoursPerWeek(pOptions.getHoursPerWeek());
opOptions.setDaysPerMonth(pOptions.getDaysPerMonth());
if (pOptions.getDefaultStart() > 0L){
GregorianCalendar defaultStart = new GregorianCalendar();
defaultStart.setTimeInMillis(pOptions.getDefaultStart());
opOptions.setDefaultStartTime(defaultStart);
}
if (pOptions.getDefaultEnd() > 0L){
GregorianCalendar defaultEnd = new GregorianCalendar();
defaultEnd.setTimeInMillis(pOptions.getDefaultEnd());
opOptions.setDefaultStartTime(defaultEnd);
}
}