Resolve "Фильтрация списка конференции" #192

Merged
VladimirZarayskiy merged 1 commits from 59-filter-conference into dev 2019-04-19 18:46:24 +04:00
Showing only changes of commit a9f4a326c5 - Show all commits

View File

@ -18,8 +18,8 @@ import static ru.ulstu.core.util.StreamApiUtils.convert;
public class ConferenceDto { public class ConferenceDto {
String BEGINDATESTRING = "Начало: "; private final static String BEGIN_DATE = "Начало: ";
String ENDDATESTRING = "Конец: "; private final static String END_DATE = "Конец: ";
private Integer id; private Integer id;
@NotEmpty @NotEmpty
@ -215,7 +215,7 @@ public class ConferenceDto {
} }
public String getDatesString() { public String getDatesString() {
return BEGINDATESTRING + beginDate.toString().split(" ")[0] + " " + ENDDATESTRING + endDate.toString().split(" ")[0]; return BEGIN_DATE + beginDate.toString().split(" ")[0] + " " + END_DATE + endDate.toString().split(" ")[0];
} }
} }