Documentation
¶
Overview ¶
Package recurring contains more implementations for recurring.R.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EachSunset ¶
func EachSunset(lat, lon float64) tasks_recurring.R
EachSunset returns the sunsets for a given latitude and longitude. lat is the latitude where north is positive and south is negative. lon is the longitude where east is positive and west is negative.
func OnOrBefore ¶
func OnOrBefore(r tasks_recurring.R, hour, min int) tasks_recurring.R
OnOrBefore ensures that the times in r happen on or before hour:min. If a time is after hour:min, it is moved earlier to be hour:min. If a time is 12 hours or more after hour:min, then it is considered to be before hour:min on the next day, and no adjustment is made.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.