package
Version:
v0.0.0-...-8269def
Opens a new window with list of versions in this module.
Published: Jan 26, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
*
Function IsOpen testing schedule and return true if function found some event in day
@var string scheduleString
@var []int day
@return bool
*
Function StartInDay testing schedule and return true if function found event which start in day
@var string scheduleString
@var []int day
@return bool
type Event struct {
Open []int
Close []int
}
*
Function EventsInRange add to dateTime variable time
@var string scheduleString
@var []int start
@var []int end
@return []Event
*
Function GetRules returns One of plain rules generated by schedule string
@var string scheduleString
@return []Rule
type Value struct {
One []int
Many [][]int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.