Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMonthlyOccurrence ¶ added in v1.1.0
FormatMonthlyOccurrence extracts the day and week number from a timestamp and formats it into a human-readable string for when in the month that it occurs.
eg, "first Monday" or "last Saturday"
func NextMonth ¶ added in v1.1.0
NextMonth calculates the timestamp of the next occurrence in the following month from the given timestamp.
func NextWeekday ¶
NextWeekday calculates the timestamp of the next occurring weekday from the given timestamp.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.