*/
private class CalendarInteractiveStrategy implements Calendar {
@Override
public DateTime getDate() {
TextInputComponent input;
if (advanced().isPopup()) {
input = advanced().getPopupCalendar().getInput();
} else {
input = advanced().getInlineCalendar().getInput();
}
return advanced().getDatePattern().parseDateTime(input.getStringValue());
}