diff options
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java index 553e82a57e..30f8c71159 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java @@ -49,17 +49,21 @@ public class AbstractDateFieldState extends AbstractFieldState { /** * Start range that has been cleared, depending on the resolution of the - * date field. + * date field. The format is "2018-05-27" or "2018-05-27 14:38:39" + * + * @see com.vaadin.ui.AbstractDateField#RANGE_FORMATTER */ @NoLayout - public Date rangeStart; + public String rangeStart; /** - * End range that has been cleared, depending on the resolution of the date - * field. + * End range that has been cleared, depending on the resolution of the + * date field. The format is "2018-05-27" or "2018-05-27 14:38:39" + * + * @see com.vaadin.ui.AbstractDateField#RANGE_FORMATTER */ @NoLayout - public Date rangeEnd; + public String rangeEnd; /** * The JSON used to construct a TimeZone on the client side, can be |