With the java date, I want to be able to get the year, month, day, hour, minute, and seconds from the java date type and compare the the gregoriancalendar date. I saw that at the moment the Java date is stored as a long and the only methods available seem to just write the long as a formatted date string.