DateTimeProvider constructor Null safety

DateTimeProvider()