Instant as UTC datetime.
(self)
| 47 | return Duration(start=self, stop=Instant()) |
| 48 | |
| 49 | def as_utc(self) -> datetime: |
| 50 | """Instant as UTC datetime.""" |
| 51 | return datetime.fromtimestamp(self.time, timezone.utc) |
| 52 | |
| 53 | |
| 54 | @dataclasses.dataclass(frozen=True) |
no outgoing calls
no test coverage detected