title: How to test date/time related functionality in Android?
body: <p>I've been wondering how one is supposed to properly test functionality that relies on date or time changes with Android. Lets say I have events that need to be processed on the first of every month and the result of this processing depends on the current date / time. I'm missing the possibility to fake a certain date / time in the Android testing framework. How are we supposed to test that kind of things?</p>
  
  <p>Of course one could use an abstraction from real time by querying the date / time not directly from the framework but from an additional entity. Than one could set a fake date / time on this entity from within the testing code. But is there really no support for such a common need built into the Android testing framework?</p>