if (choices == null) {
return;
}
for (Choice<GregorianCalendar> choice : choices) {
CmisChoiceDateTime newChoice = new CmisChoiceDateTime();
convertChoiceDateTimeList(choice.getChoice(), newChoice.getChoice());
newChoice.setDisplayName(choice.getDisplayName());
if (choice.getValue() != null) {
for (XMLGregorianCalendar value : convertCalendar(choice.getValue())) {
newChoice.getValue().add(value);
}
}
target.add(newChoice);
}