title: How to check if data is in range
body: <p>I was wondering if there is any neat way to check is data is in allowed range. I mean in c# we can represent data from 0001-01-01 to (I think) 9999-01-01. However if we try to do something like that</p>
  
  <pre><code> DateTime result = DateTime.Parse("0001-01-01").Subtract(TimeSpan.FromDays(1)) 
  </code></pre>
  
  <p>I get an exception. Is there any neat way to check is it is possible to do DateTime operations (addition subtraction etc)</p>