summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAnna Miroshnik <anna.miroshnik@arcadia.spb.ru>2014-09-04 13:32:35 +0400
committerVaadin Code Review <review@vaadin.com>2014-09-05 07:04:48 +0000
commitfa855d99842e2a0cb316df0986c6090f6a3c0a8e (patch)
tree281b0f87eadcbfb51ed76acf8a69d773d074c62a /shared
parente38a4c3e21f3fcefe658216f769dd7b0c6c36383 (diff)
downloadvaadin-framework-fa855d99842e2a0cb316df0986c6090f6a3c0a8e.tar.gz
vaadin-framework-fa855d99842e2a0cb316df0986c6090f6a3c0a8e.zip
calendar visible hours shows invalid dates(week/day view) (#12521)
Fix: test fails on phantomJs. Change-Id: I70179c249a180a795e14683e4185068d5395762b
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/calendar/DateConstants.java3
1 files changed, 3 insertions, 0 deletions
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;
+
}