Revision: 4880
          http://sourceforge.net/p/vexi/code/4880
Author:   clrg
Date:     2016-09-06 10:37:08 +0000 (Tue, 06 Sep 2016)
Log Message:
-----------
Docs for JSInstant.

Modified Paths:
--------------
    branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSInstant.jpp

Modified: 
branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSInstant.jpp
===================================================================
--- branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSInstant.jpp   
2016-08-12 09:24:15 UTC (rev 4879)
+++ branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSInstant.jpp   
2016-09-06 10:37:08 UTC (rev 4880)
@@ -57,16 +57,27 @@
         
         public JS get(JS key) throws JSExn {
             //#switch(JSU.toString(key))
-            case "timezone":
-                       return JSU.S(getTimeZone().getID());
-               case "now":
-                return new JSInstant(new Instant());
-            case "compare": 
-                return METHOD;
-            case "tryParseTimestamp":
-               return METHOD;
-            case "diffMillis":
-               return METHOD;                  
+            /*@PAGE(varname=Instant,humanname=Instant Object)
+             * 
+             * <p>Represents a point in time.</p>
+             * */
+            
+            /* <p>The timezone for this Instant</p>
+             * @type(String) */
+            case "timezone": return JSU.S(getTimeZone().getID());
+            /* <p>An Instant representing the time right now</p>
+             * @type(Instant) */
+               case "now": return new JSInstant(new Instant());
+            /* <p>Compares two Instants to each other, returning 0 if they are 
the same,
+             * 1 if &lsquo;ins1&rsquo; is bigger or -1 if &lsquo;ins2&rsquo; 
is bigger</p>
+             * @param(ins1) @param(ins2) @return(Number) */
+            case "compare": return METHOD;
+            /* <p>Returns the absolute value of &lsquo;num&rsquo;</p>
+             * @param(str) @return(Number) */
+            case "tryParseTimestamp": return METHOD;
+            /* <p>Returns the difference between two Instants in 
milliseconds</p>
+             * @param(ins1) @param(ins2) @return(Number) */
+            case "diffMillis": return METHOD;                  
             //#end
             return super.get(key);
         }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to