Method
datetime
(
self,
year: int,
month: int,
day: int,
hour: int = 0,
minute: int = 0,
second: int = 0,
microsecond: int = 0,
)
Source from the content-addressed store, hash-verified
| 199 | return cast("_DT", dt.astimezone(self)) |
| 200 | |
| 201 | def datetime( |
| 202 | self, |
| 203 | year: int, |
| 204 | month: int, |
| 205 | day: int, |
| 206 | hour: int = 0, |
| 207 | minute: int = 0, |
| 208 | second: int = 0, |
| 209 | microsecond: int = 0, |
| 210 | ) -> _datetime.datetime: |
| 211 | return self.convert( |
| 212 | _datetime.datetime( |
| 213 | year, month, day, hour, minute, second, microsecond, fold=1 |
| 214 | ) |
| 215 | ) |
| 216 | |
| 217 | @property |
| 218 | def offset(self) -> int: |
Callers
nothing calls this directly
Tested by
no test coverage detected