We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Or, this seemed to give the next days date and could be inserted as a REST parameter:
${=def now = new Date();now++;now.format("yy-MM-dd")}Or, this seemed to give the next days date and could be inserted as a REST parameter:
${=def now = new Date();now++;now.format("yy-MM-dd")}Beauty, that does it. I think one key miss with my attempt was the "def" keyword.
Presumably that's a Groovy thing. Of Groovy I know pretty much only what looks exactly like Java :-)
Also suprised that Date++ is even possible!
Finally, is there any way to know which classes don't require full package qualification?
Cool, glad it worked! :-)
Yeah, Groovy can be pretty slick!
In terms of the default Groovy imports, please see:
http://groovy-lang.org/structure.html