generalized to early and late sunsets

Code now finds earliest and latest sunset for the coming year