Resolve "Фильтрация списка конференции" #192
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user