GregorianCalendar getNext and getPrevious

Implemented getNext and getPrevious methods in GregorianCalendar and
wrote JavaDoc.