removed unused methods from sun
convert time of sunrise and sunset in days to time of day