From e118f4d860adeaca1690ef095906ae6be84f3cb5 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Thu, 21 Sep 2017 12:35:06 +0200 Subject: Access static members in a static way (#10054) --- .../com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compatibility-client') 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); -- cgit v1.2.3