def METHOD_NAME(serial_dt: float) -> Optional[datetime.datetime]:
    if serial_dt is None:
        return None
    time_struct = time.localtime(serial_dt)
    return datetime.datetime(*time_struct[0:6])