private TimeSpan monthTimeToAdd()
{
foreach (var daysInMonth in new[] { 31, 30, 28, 29 })
{
var theSpan = TimeSpan.FromDays(daysInMonth);
if ((pastToPresentCursor + theSpan).Day == pastToPresentCursor.Day)
return theSpan;
}
// can happen when past lies on the last day of a e.g. a 31 day month
// return a reasonable amount of days
return TimeSpan.FromDays(30);
}