Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Specification ¶
Specification contains occurrence information.
func New ¶
func New(specification string) (*Specification, error)
New creates a new occurrence data instance.
func NewFromDate ¶
func NewFromDate(date time.Time, yearMode bool) *Specification
NewFromDate creates a new occurrence data instance from the provided date.
func (Specification) FriendlyStrings ¶
func (t Specification) FriendlyStrings(yearMode bool) (results []string)
FriendlyStrings provides more human-readable output about a Specification.
func (Specification) Intersects ¶
func (t Specification) Intersects(other *Specification) bool
Intersects returns true if the other Data instance intersects this instance.
func (Specification) String ¶
func (t Specification) String() string
String returns a string representation of the Occurrences structure.
Click to show internal directories.
Click to hide internal directories.