Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DailyRange ¶
DailyRange represents a daily schedule.
func NewDailyRange ¶
func NewDailyRange(startTime, endTime string) (*DailyRange, error)
NewDailyRange returns a DailyRange with the given range. If endTime < startTime, it treats the endTime as the next day. For example, if startTime=23:00:00 and endTime=01:00:00 are given, endTime will be 25:00:00.
Click to show internal directories.
Click to hide internal directories.