Revision: 4571 http://sourceforge.net/p/vexi/code/4571 Author: clrg Date: 2013-11-12 14:40:40 +0000 (Tue, 12 Nov 2013) Log Message: ----------- Add JSDoc for Date.addPeriod
Modified Paths: -------------- branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp Modified: branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp =================================================================== --- branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp 2013-11-06 16:05:15 UTC (rev 4570) +++ branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp 2013-11-12 14:40:40 UTC (rev 4571) @@ -181,7 +181,18 @@ case "seconds": throw new JSExn("Unsupported: "+key); case "scheme": return JSU.S(date.getScheme().name); - + + /* <p>Adds period*number to the given date, returning + * the calculated date as a new date object.</p> + * + * <p>Valid values for the period are: + * <code>"year"</code>, <code>"quarter"</code>, <code>"month"</code>, + * <code>"week"</code>, <code>"weekday"</code>, <code>"day"</code>, + * <code>"hour"</code>, <code>"minute"</code></p> + * + * @param(name=period) + * @param(name=number) + * @returns(Date) */ case "addPeriod": return METHOD; case "as": return METHOD; case "asInstant": return METHOD; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn