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

Merged
VladimirZarayskiy merged 1 commits from 59-filter-conference into dev 2019-04-19 18:46:24 +04:00

View File

@ -18,8 +18,8 @@ import static ru.ulstu.core.util.StreamApiUtils.convert;
public class ConferenceDto {
String BEGINDATESTRING = "Начало: ";
String ENDDATESTRING = "Конец: ";
private final static String BEGIN_DATE = "Начало: ";
private final static String END_DATE = "Конец: ";
private Integer id;
@NotEmpty
@ -215,7 +215,7 @@ public class ConferenceDto {
}
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];
}
}