(self)
| 259 | |
| 260 | @property |
| 261 | def offset_hours(self) -> float | None: |
| 262 | offset = self.get_offset() |
| 263 | |
| 264 | if offset is None: |
| 265 | return None |
| 266 | |
| 267 | return offset / SECONDS_PER_MINUTE / MINUTES_PER_HOUR |
| 268 | |
| 269 | @property |
| 270 | def timezone(self) -> Timezone | FixedTimezone | None: |
nothing calls this directly
no test coverage detected