Pali — sunrise and sunset times

Calculate the sunrise and sunset times in Pali, and the day length for any given day of the year.