Sunrise, sunset and twlight calculations in Java