The getSunset() description contains a mistake, the description states it gets the sunrise time instead of sunset time:
"Get sunrise time for the provided location and date"
https://developer.garmin.com/connect-iq/api-docs/Toybox/Weather.html#getSunset-instance_function