MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / _Interval

Class _Interval

src/pendulum/parsing/__init__.py:194–207  ·  view source on GitHub ↗

Special class to handle ISO 8601 intervals

Source from the content-addressed store, hash-verified

192
193
194class _Interval:
195 """
196 Special class to handle ISO 8601 intervals
197 """
198
199 def __init__(
200 self,
201 start: datetime | None = None,
202 end: datetime | None = None,
203 duration: Duration | None = None,
204 ) -> None:
205 self.start = start
206 self.end = end
207 self.duration = duration
208
209
210def _parse_iso8601_interval(text: str) -> _Interval:

Callers 1

_parse_iso8601_intervalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…