if (formatted != LOG4CXX_STR("11 avr. 2004 00:00:00,000")) { CPPUNIT_ASSERT_EQUAL((LogString)  LOG4CXX_STR("11 avr 2004 00:00:00,000"), formatted ); }
std::locale localeFR(LOCALE_FR); struct tm avr11tm = { 0, 0, 0, 11, 03, 104 }; LogString expected(formatDate(localeFR, avr11tm, LOG4CXX_STR("%b")));  CPPUNIT_ASSERT_EQUAL(expected, formatted);
  void test7()  {    apr_time_t avr11 = MICROSECONDS_PER_DAY * 12519;    LocaleChanger localeChange(LOCALE_FR);    if (localeChange.isEffective()) {        LogString formatted;        Pool p;        DateTimeDateFormat formatter;        formatter.setTimeZone(TimeZone::getGMT());        formatter.format(formatted, avr11, p);        //        //   abbreviation for Avril varies        //        if (formatted != LOG4CXX_STR("11 avr. 2004 00:00:00,000")) {            CPPUNIT_ASSERT_EQUAL((LogString)  LOG4CXX_STR("11 avr 2004 00:00:00,000"), formatted );        }    }  }