// Filter returns a new R instance that filters the time.Time Streams // that r creates func Filter(r R, f functional.Filterer) R { if nested, ok := r.(*filterR); ok { return &filterR{ recurring: nested.recurring, filter: functional.All(nested.filter, f)} } return &filterR{recurring: r, filter: f} }
func newEntryFilter(s string) functional.Filterer { s = str_util.Normalize(s) if s == "" { return functional.All() } return entryFilter(s) }