I am trying to compile a project that was compiled in a newer versin of java. But want to compile it with an older version since the newer version of Java is TOO slow with the application. I get this error when compiling...
cannot resolve symbol
symbol: method compareTo (java.util.Calendar)
location: class java.util.Calendar
int test = calednar_one.compareTo(calendar_two);
The java.util.Calendar is probably an older version and doesn't have compareTo? Can anyone help me figure out a way to update the java.util.Calendar or get a similar method?
Thanks.
cannot resolve symbol
symbol: method compareTo (java.util.Calendar)
location: class java.util.Calendar
int test = calednar_one.compareTo(calendar_two);
The java.util.Calendar is probably an older version and doesn't have compareTo? Can anyone help me figure out a way to update the java.util.Calendar or get a similar method?
Thanks.