diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-21 12:35:06 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-21 13:35:06 +0300 |
commit | e118f4d860adeaca1690ef095906ae6be84f3cb5 (patch) | |
tree | 142f8464009b5aeecdea59827ea5980a76932ad4 /compatibility-client | |
parent | a166d6f52bf99d7616959f8e16b3972ed6b074d0 (diff) | |
download | vaadin-framework-e118f4d860adeaca1690ef095906ae6be84f3cb5.tar.gz vaadin-framework-e118f4d860adeaca1690ef095906ae6be84f3cb5.zip |
Access static members in a static way (#10054)
Diffstat (limited to 'compatibility-client')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java index 1c4932e6a4..8f0f9bf1b7 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java @@ -108,7 +108,7 @@ public class AbstractDateFieldConnector extends AbstractFieldConnector // Construct new date for this datefield (only if not null) if (year > -1) { - getWidget().setCurrentDate(new Date((long) getWidget().getTime(year, + getWidget().setCurrentDate(new Date((long) VDateField.getTime(year, month, day, hour, min, sec, 0))); } else { getWidget().setCurrentDate(null); |