diff options
author | Anna Miroshnik <anna.miroshnik@arcadia.spb.ru> | 2014-09-04 13:32:35 +0400 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2014-09-12 16:27:40 +0300 |
commit | acec953fd47b63b1a7ea411d8680ba0b921f2b0f (patch) | |
tree | 0568ca60a46422bfe09272e5644c27d235ad2398 /shared | |
parent | ef79ed198865410618320bbf3af1e691cac32760 (diff) | |
download | vaadin-framework-acec953fd47b63b1a7ea411d8680ba0b921f2b0f.tar.gz vaadin-framework-acec953fd47b63b1a7ea411d8680ba0b921f2b0f.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.java | 3 |
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; + } |