Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schedule ¶
func MustParse ¶
MustParse returns the same result as Parse but it panic when the syntax of expression is wrong.
func MustParseInLocation ¶ added in v0.2.0
MustParse returns the same result as Parse but it panic when something is wrong.
func Parse ¶
Parse parses the expression and returns a new schedule representing the given spec. And the default location of a schedule is "UTC". It returns an error when the syntax of expression is wrong.
func ParseInLocation ¶ added in v0.2.0
ParseInLocation parse the expression in the location and returns a new schedule representing the given spec. It returns an error when loading the location is failed or the syntax of the expression is wrong.
Click to show internal directories.
Click to hide internal directories.