I am creating a report in iReport
The user enters a date eg. 2014-09-14
The report then needs to print 2014-09-01 and 2014-09-30
(\"First day of
Try this out:
Calendar abc = new GregorianCalendar(); System.out.println(abc.getActualMaximum(Calendar.DAY_OF_MONTH) + " and " + abc.getActualMinimum(Calendar.DAY_OF_MONTH));