Overheard a colleague at work with an issue re: February and got
curious enough to see what Joda-Time does in handling this scenario:
// if current date is 31st, how will joda-time handle setting month to february?
dt = new DateTime();
println "now: " + dt.toString();
futureDt = dt.plusMonths(4);
println "4 mos in future: " + futureDt.toString();
4 mos in future: 2014-02-28T15:29:53.628+11:00
The Groovy Shell functionality within IntelliJ IDEA makes quick
playing around like this a breeze!