double jdn = dt.GetJulianDayNumber();
CPPUNIT_ASSERT( jdn == d.jdn );
+
+ dt.Set(jdn);
+ CPPUNIT_ASSERT( dt.GetJulianDayNumber() == jdn );
}
}
{ { 3, wxDateTime::Dec, 2074 }, -5, wxDateTime::Mon, wxDateTime::Dec, 2074 },
};
- static const wxChar *fmt = _T("%d-%b-%Y");
-
wxDateTime dt;
for ( n = 0; n < WXSIZEOF(weekDatesTestData); n++ )
{