header.setStartDate(project.getPlannedStartDate());
List<GlobalPreferencesType> list = apibo.getGlobalPreferences();
if (!list.isEmpty())
{
GlobalPreferencesType prefs = list.get(0);
header.setCreationDate(getValue(prefs.getCreateDate()));
header.setLastSaved(getValue(prefs.getLastUpdateDate()));
header.setMinutesPerDay(Integer.valueOf((int) (NumberUtility.getDouble(prefs.getHoursPerDay()) * 60)));
header.setMinutesPerWeek(Integer.valueOf((int) (NumberUtility.getDouble(prefs.getHoursPerWeek()) * 60)));
header.setWeekStartDay(Day.getInstance(NumberUtility.getInt(prefs.getStartDayOfWeek())));
List<CurrencyType> currencyList = apibo.getCurrency();
for (CurrencyType currency : currencyList)
{
if (currency.getObjectId().equals(prefs.getBaseCurrencyObjectId()))
{
header.setCurrencySymbol(currency.getSymbol());
break;
}
}