posted 15 years ago
I have tried... the problem is I just don't understand how java works. I've tried to teach myself using resources like "Head First Java" but to no avail. I need to use java to be able to create report variables using JasperReports (specifically using iReport as my development tool), but I can never get any of my questions answered in JasperForge's iReport forum.
I don't believe I have a calendar object of the date in question, but more fundamentally, I'm not sure what that means. At the highest level, I want the user to be able to input any date as a parameter and have Jasper translate convert that date into say the exact same month/day as last year. At lower levels though, I have no idea how to get there. The format of the date would be MM/dd/yyyy. When I try using the set() method in iReport, it tells me the method is not defined. But I don't know if the method is truly undefined, or if there is something I am doing wrong (like not including the right number of arguments or failing to use the set() method in conjunction with whatever else I should be using it with...)