You might be able to use kind_of here to simplify this?

```
DateTime.new.kind_of?(Date) #=> true
```