void (@NotNull ChangeBrowserSettings settings) { settings.USE_DATE_BEFORE_FILTER = myUseDateBeforeFilter.isSelected(); settings.USE_DATE_AFTER_FILTER = myUseDateAfterFilter.isSelected(); settings.setDateBefore(myDateBefore.getDate()); settings.setDateAfter(myDateAfter.getDate()); }