diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-28 11:37:32 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-28 12:37:32 +0300 |
commit | c520767bf156c54a9d1a9f69f0aa78bc3b835b3f (patch) | |
tree | 208c6d8679708a6cc9e8b425d86fe10f2abeedc9 /shared | |
parent | 131601de3693655387313e47e887f593c32fa625 (diff) | |
download | vaadin-framework-c520767bf156c54a9d1a9f69f0aa78bc3b835b3f.tar.gz vaadin-framework-c520767bf156c54a9d1a9f69f0aa78bc3b835b3f.zip |
Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java index 80cd6cbd53..5bd920389e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java @@ -33,17 +33,25 @@ public class AbstractDateFieldState extends AbstractFieldState { primaryStyleName = "v-datefield"; } - /* + /** * Start range that has been cleared, depending on the resolution of the - * date field + * date field. */ @NoLayout - public Date rangeStart = null; + public Date rangeStart; - /* + /** * End range that has been cleared, depending on the resolution of the date - * field + * field. */ @NoLayout - public Date rangeEnd = null; + public Date rangeEnd; + + /** + * The JSON used to construct a TimeZone on the client side, can be + * {@code null}. + * + * @since 8.2 + */ + public String timeZoneJSON; } |