byeYearTypeList = null;
return null;
}
for (GroupByYearSizeAndCountRow byYear : planetsData.getGroupByYear()) {
YearItemType yearItemType = objFactory.createYearItemType();
yearItemType.setNumFiles(byYear.getCount());
yearItemType.setTotalFileSize(byYear.getSize());
XMLGregorianCalendar xmlCalendar;
try {
xmlCalendar = DatatypeFactory.newInstance()
.newXMLGregorianCalendar();
xmlCalendar.setYear(byYear.getYear());
yearItemType.setYear(xmlCalendar);
byeYearTypeList.add(yearItemType);
} catch (DatatypeConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();