Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type TimeSlice
 - func (ts TimeSlice) Dedupe() TimeSlice
 - func (ts TimeSlice) Duplicate() TimeSlice
 - func (ts TimeSlice) Equal(compare TimeSlice) bool
 - func (ts TimeSlice) Format(format string) []string
 - func (ts TimeSlice) Len() int
 - func (ts TimeSlice) Less(i, j int) bool
 - func (ts TimeSlice) RangeLower(t time.Time, inclusive bool) (time.Time, error)
 - func (ts TimeSlice) RangeUpper(t time.Time, inclusive bool) (time.Time, error)
 - func (ts TimeSlice) Sort()
 - func (ts TimeSlice) Swap(i, j int)
 
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type TimeSlice ¶
TimeSlice is used for sorting. e.g. sort.Sort(sort.Reverse(timeSlice)) sort.Sort(timeSlice)
func (TimeSlice) RangeLower ¶
RangeLower returns the TimeSlice time value for the range lower than or equal to the supplied time.
func (TimeSlice) RangeUpper ¶
RangeUpper returns the TimeSlice time value for the range lower than or equal to the supplied time. The time `t` must be less than or equal to the upper range.
 Click to show internal directories. 
   Click to hide internal directories.