@Override
public List<FilterConfig> getSerialArgs() {
List<FilterConfig> configs = new ArrayList<FilterConfig>();
if (beforeItem != null && beforeItem.isChecked()) {
FilterConfig c = new BaseDateFilterConfig("date", "before", beforeMenu.getDate());
configs.add(c);
}
if (afterItem != null && afterItem.isChecked()) {
FilterConfig c = new BaseDateFilterConfig("date", "after", afterMenu.getDate());
configs.add(c);
}
if (onItem != null && onItem.isChecked()) {
FilterConfig c = new BaseDateFilterConfig("date", "on", onMenu.getDate());
configs.add(c);
}
return configs;
}