JSDOC/Options.js
[app.jsdoc] / Date.js
diff --git a/Date.js b/Date.js
index ceb5292..1653823 100644 (file)
--- a/Date.js
+++ b/Date.js
@@ -106,20 +106,17 @@ document.write(dt.format(Date.patterns.ShortDate));
  
      
      // was in core
-    /**
-     Returns the number of milliseconds between this date and date
-     @param {Date} date (optional) Defaults to now
-     @return {Number} The diff in milliseconds
-     @member Date getElapsed
-     */
+   
 Date = XObject.extend(Date,
     {
-        
-        // private
+        /**
+         * @static
+         * @private
+         */
         parseFunctions : {count:0},
-        // private
+        /** @private */
         parseRegexes : [],
-        // private
+        /** @private */
         formatFunctions : {count:0},
             
             
@@ -396,9 +393,11 @@ Date = XObject.extend(Date,
         formatCodeToRegex : function(character, currentGroup) {
             switch (character) {
             case "D":
-                return {g:0,
-                c:null,
-                s:"(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)"};
+                return {
+                    g:0,
+                    c:null,
+                    s:"(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)"
+                };
             case "j":
                 return {g:1,
                     c:"d = parseInt(results[" + currentGroup + "], 10);\n",
@@ -525,7 +524,12 @@ Date = XObject.extend(Date,
 // now add functions to date..
 XObject.extend(Date.prototype,
     {
-
+        /**
+        Returns the number of milliseconds between this date and date
+        @param {Date} date (optional) Defaults to now
+        @return {Number} The diff in milliseconds
+        @member Date getElapsed
+        */
         getElapsed : function(date) {
             return Math.abs((date || new Date()).getTime()-this.getTime());
         },