Returns a DateRange that starts at the CalculationDate and continues to the specified date.
var date = now.valueOf('2017-03-15');
var nextMonth = date.nextMonth();
var range = date.until(nextMonth);
console.log('range = %s', range);
//range = 2017-03-15 00:00:00 -> 2017-04-15 00:00:00