summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2020-02-19 09:18:03 +0200
committerGitHub <noreply@github.com>2020-02-19 09:18:03 +0200
commitf0769be11c8d7d2bdb25b9769602faf826fa2fb8 (patch)
tree2b2e3802a30ddf964531a34027e0d245c5e8034d /server
parent65ea96ea2939f39a772eb23622de44915c5467a1 (diff)
downloadvaadin-framework-f0769be11c8d7d2bdb25b9769602faf826fa2fb8.tar.gz
vaadin-framework-f0769be11c8d7d2bdb25b9769602faf826fa2fb8.zip
Added note to DateField#setRangeStart JavaDoc (#11886)
* Added note to DateField#setRangeStart JavaDoc * Added additional checking of valid startDate * Reverted previous commit
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java2
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