time_t n = (time_t)(t / 1000);
time_t n = (time_t)(t1 / 1000);
	void testRC1()	{		RollingCalendar rc;		rc.setType(RollingCalendar::TOP_OF_DAY);				// jan, mar, may, july, aug, oct, dec have 31 days		int M31[] = { 0, 2, 4, 6, 7, 9, 11 };				for (int i = 0; i < sizeof(M31)/sizeof(M31[0]); i++)		{			for (int d = 1; d <= 31; d++)			{				for (int h = 0; h < 23; h++)				{					struct tm tm;					memset(&tm, 0, sizeof(tm));					tm.tm_year = 80;					tm.tm_mon = M31[i];					tm.tm_mday = d;					tm.tm_hour = h;					tm.tm_min = 10;					tm.tm_sec = 10;										time_t buff = mktime(&tm);					int64_t t = int64_t(buff) * 1000;					t += 88;					t = rc.getNextCheckMillis(t);										time_t n = (time_t)(t / 1000);					struct tm * nextTime = localtime(&n);					if (d == 31)					{						CPPUNIT_ASSERT_EQUAL((M31[i] + 1) % 12, nextTime->tm_mon);						CPPUNIT_ASSERT_EQUAL(1, nextTime->tm_mday);					} 					else					{						CPPUNIT_ASSERT_EQUAL(M31[i], nextTime->tm_mon);						CPPUNIT_ASSERT_EQUAL(d + 1, nextTime->tm_mday);					}													CPPUNIT_ASSERT_EQUAL(0, nextTime->tm_hour);					CPPUNIT_ASSERT_EQUAL(0, nextTime->tm_min);					CPPUNIT_ASSERT_EQUAL(0, nextTime->tm_sec);					CPPUNIT_ASSERT(0 == (t % 1000));				}			}		}	}