From c24aa13505837b5893ef3842c4c9154127f4e858 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Fri, 4 Jul 2014 10:36:39 +0300 Subject: [PATCH] Mention Date serialization in javadocs related to JavaScript (#14143) Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac --- server/src/com/vaadin/server/AbstractJavaScriptExtension.java | 2 ++ server/src/com/vaadin/ui/AbstractJavaScriptComponent.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server/src/com/vaadin/server/AbstractJavaScriptExtension.java b/server/src/com/vaadin/server/AbstractJavaScriptExtension.java index acf6a870c6..410eea3c01 100644 --- a/server/src/com/vaadin/server/AbstractJavaScriptExtension.java +++ b/server/src/com/vaadin/server/AbstractJavaScriptExtension.java @@ -103,6 +103,8 @@ import com.vaadin.ui.JavaScriptFunction; *
  • The primitive Java boolean and the boxed Boolean are represented by * JavaScript booleans.
  • *
  • Java Strings are represented by JavaScript strings.
  • + *
  • Java Dates are represented by JavaScript numbers containing the timestamp + *
  • *
  • List, Set and all arrays in Java are represented by JavaScript arrays.
  • *
  • Map in Java is represented by JavaScript object with fields * corresponding to the map keys.
  • diff --git a/server/src/com/vaadin/ui/AbstractJavaScriptComponent.java b/server/src/com/vaadin/ui/AbstractJavaScriptComponent.java index d6e232035b..f3cbf47b62 100644 --- a/server/src/com/vaadin/ui/AbstractJavaScriptComponent.java +++ b/server/src/com/vaadin/ui/AbstractJavaScriptComponent.java @@ -116,6 +116,8 @@ import com.vaadin.shared.ui.JavaScriptComponentState; *
  • The primitive Java boolean and the boxed Boolean are represented by * JavaScript booleans.
  • *
  • Java Strings are represented by JavaScript strings.
  • + *
  • Java Dates are represented by JavaScript numbers containing the timestamp + *
  • *
  • List, Set and all arrays in Java are represented by JavaScript arrays.
  • *
  • Map in Java is represented by JavaScript object with fields * corresponding to the map keys.
  • -- 2.39.5