diff options
author | Tatu Lund <tatu@vaadin.com> | 2020-02-19 09:18:03 +0200 |
---|---|---|
committer | Zhe Sun <31067185+ZheSun88@users.noreply.github.com> | 2020-02-20 16:23:38 +0200 |
commit | 1b921de27cd77c3149813a3a9a00e9a4dd8c0b5b (patch) | |
tree | 235b6a1b907bc55b2f2de70bd1aed7e3fb22785d | |
parent | 3146bcc73ff6c9e919ed2168eefd664bf7e3c7f8 (diff) | |
download | vaadin-framework-8.10.1.tar.gz vaadin-framework-8.10.1.zip |
Added note to DateField#setRangeStart JavaDoc (#11886)8.10.1
* Added note to DateField#setRangeStart JavaDoc
* Added additional checking of valid startDate
* Reverted previous commit
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractDateField.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java index cb39cf607b..c252655e44 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java @@ -296,6 +296,8 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster & * date (taking the resolution into account), the component will not * validate. If {@code startDate} is set to {@code null}, any value before * {@code endDate} will be accepted by the range + * <p> + * Note: Negative, i.e. BC dates are not supported * * @param startDate * - the allowed range's start date |