Hello Naveen,
I think for this functionality(next consecutive step means 30-10-2010,
30-11-2010), you can use formatInterval(double interval, int count,
Locale locale) method of the UtilDateTime.java.
--
thanks
Brajesh
Naveen Kumar wrote:
> Hi All,
>
> I am writing an automated script which updates payment table to collect
> payment for next consecutive 5 months on the same date, that is, If today is
> the first payment (30-09-2010) then next 4 payment will be on the same date
> of subsequent months(30-10-2010, 30-11-2010, ....), Can anyone suggest me
> how to implement this in groovy.
>
> Regards,
> Naveen.
>
>