]> source.dussan.org Git - vaadin-framework.git/commitdiff
Mention Date serialization in javadocs related to JavaScript (#14143)
authorLeif Åstrand <leif@vaadin.com>
Fri, 4 Jul 2014 07:36:39 +0000 (10:36 +0300)
committerAnthony Guerreiro <anthony@vaadin.com>
Tue, 15 Jul 2014 12:14:42 +0000 (15:14 +0300)
Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac

server/src/com/vaadin/server/AbstractJavaScriptExtension.java
server/src/com/vaadin/ui/AbstractJavaScriptComponent.java

index acf6a870c68bf6673179aefd318a5b6f7b1c3165..410eea3c0190ddaa4bffd20fc279b97eab57bbd0 100644 (file)
@@ -103,6 +103,8 @@ import com.vaadin.ui.JavaScriptFunction;
  * <li>The primitive Java boolean and the boxed Boolean are represented by
  * JavaScript booleans.</li>
  * <li>Java Strings are represented by JavaScript strings.</li>
+ * <li>Java Dates are represented by JavaScript numbers containing the timestamp
+ * </li>
  * <li>List, Set and all arrays in Java are represented by JavaScript arrays.</li>
  * <li>Map<String, ?> in Java is represented by JavaScript object with fields
  * corresponding to the map keys.</li>
index d6e232035bff504645553f42efc6bbaa03fd1d9d..f3cbf47b623676327716ba3ebdc9ad4237f11d9e 100644 (file)
@@ -116,6 +116,8 @@ import com.vaadin.shared.ui.JavaScriptComponentState;
  * <li>The primitive Java boolean and the boxed Boolean are represented by
  * JavaScript booleans.</li>
  * <li>Java Strings are represented by JavaScript strings.</li>
+ * <li>Java Dates are represented by JavaScript numbers containing the timestamp
+ * </li>
  * <li>List, Set and all arrays in Java are represented by JavaScript arrays.</li>
  * <li>Map<String, ?> in Java is represented by JavaScript object with fields
  * corresponding to the map keys.</li>