Documentation
¶
Overview ¶
Package dateseq creates a sequence series of daily dates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}
Sequence represents a slice of dates.
func (*Sequence) Duration ¶
Duration creates a date sequence with the specified length of days ending now. Calls to Duration will reset the sequence slice to nil before generating an new sequence.
func (*Sequence) ExclWeekends ¶
func (s *Sequence) ExclWeekends()
ExclWeekends excludes Saturday and Sunday from the sequence. This is the default setting for weekends.
func (*Sequence) InclWeekends ¶
func (s *Sequence) InclWeekends()
InclWeekends includes Saturday and Sunday into the sequence.
Click to show internal directories.
Click to hide internal directories.