if (date.AddDays(1).Month == date.Month && date.AddDays(2).Month == date.AddMonths(1).Month)
int day = date.Day; if(day == date.AddDays(1-day).AddMonths(1).AddDays(-2).Day)