Returns the number of recurrences in this set. It will have go through the whole recurrence, if this hasn't been done before.
(self)
| 196 | |
| 197 | # __len__() introduces a large performance penalty. |
| 198 | def count(self): |
| 199 | """ Returns the number of recurrences in this set. It will have go |
| 200 | through the whole recurrence, if this hasn't been done before. """ |
| 201 | if self._len is None: |
| 202 | for x in self: |
| 203 | pass |
| 204 | return self._len |
| 205 | |
| 206 | def before(self, dt, inc=False): |
| 207 | """ Returns the last recurrence before the given datetime instance. The |
no outgoing calls