Converting common DateTime methods to work with ranges