docstr: Returns all the occurrences of the rrule between after and before.
  The inc keyword defines what happens if after and/or before are
  themselves occurrences. With inc=True, they will be included in the
  list, if they are found in the recurrence set. 
docstr_tok: ["Returns","all","the","occurrences","of","the","rrule","between","after","and","before",".","The","inc","keyword","defines","what","happens","if","after","and\/or","before","are","themselves","occurrences",".","With","inc=True",",","they","will","be","included","in","the","list",",","if","they","are","found","in","the","recurrence","set","."]
code: def between(self, after, before, inc=False, count=1):
      """Returns all the occurrences of the rrule between after and before.
      The inc keyword defines what happens if after and/or before are
      themselves occurrences. With inc=True, they will be included in the
      list, if they are found in the recurrence set."""
      if self._cache_complete:
          gen = self._cache
      else:
          gen = self
      started = False
      l = []
      if inc:
          for i in gen:
              if i > before:
                  break
              elif not started:
                  if i >= after:
                      started = True
                      l.append(i)
              else:
                  l.append(i)
      else:
          for i in gen:
              if i >= before:
                  break
              elif not started:
                  if i > after:
                      started = True
                      l.append(i)
              else:
                  l.append(i)
      return l
  
imports: import calendar
  import datetime
  import heapq
  import itertools
  import re
  import sys
  from functools import wraps
  from warnings import warn
  from six import advance_iterator, integer_types
  from six.moves import _thread, range
  from ._common import weekday
label_desc: Use image node_id 11 for calling the rrulebase obj's underlying member method code with example usage: obj.between(after, before, inc, count) and returns: l