Implementation of eclipse calculation for Gregorian Calendar