Return a naive DateTime.
(
year: int,
month: int,
day: int,
hour: int = 0,
minute: int = 0,
second: int = 0,
microsecond: int = 0,
fold: int = 1,
)
| 170 | |
| 171 | |
| 172 | def naive( |
| 173 | year: int, |
| 174 | month: int, |
| 175 | day: int, |
| 176 | hour: int = 0, |
| 177 | minute: int = 0, |
| 178 | second: int = 0, |
| 179 | microsecond: int = 0, |
| 180 | fold: int = 1, |
| 181 | ) -> DateTime: |
| 182 | """ |
| 183 | Return a naive DateTime. |
| 184 | """ |
| 185 | return DateTime(year, month, day, hour, minute, second, microsecond, fold=fold) |
| 186 | |
| 187 | |
| 188 | def date(year: int, month: int, day: int) -> Date: |
nothing calls this directly
no test coverage detected
searching dependent graphs…