From acec953fd47b63b1a7ea411d8680ba0b921f2b0f Mon Sep 17 00:00:00 2001 From: Anna Miroshnik Date: Thu, 4 Sep 2014 13:32:35 +0400 Subject: calendar visible hours shows invalid dates(week/day view) (#12521) Fix: test fails on phantomJs. Change-Id: I70179c249a180a795e14683e4185068d5395762b --- shared/src/com/vaadin/shared/ui/calendar/DateConstants.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/src') diff --git a/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java b/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java index 75b3d6cf13..48f42eebbe 100644 --- a/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java +++ b/shared/src/com/vaadin/shared/ui/calendar/DateConstants.java @@ -32,4 +32,7 @@ public class DateConstants implements Serializable { public static final long DAYINMILLIS = 24 * HOURINMILLIS; public static final long WEEKINMILLIS = 7 * DAYINMILLIS; + public static final int DAYINMINUTES = 24 * 60; + public static final int HOURINMINUTES = 60; + } -- cgit v1.2.3