Measure the duration since `Instant` was created.
(self)
| 43 | ) |
| 44 | |
| 45 | def elapsed(self) -> Duration: |
| 46 | """Measure the duration since `Instant` was created.""" |
| 47 | return Duration(start=self, stop=Instant()) |
| 48 | |
| 49 | def as_utc(self) -> datetime: |
| 50 | """Instant as UTC datetime.""" |