apr_time_t jan2 = MICROSECONDS_PER_DAY * 12419; apr_time_t preStartTime = LoggingEvent::getStartTime();
log4cxx_time_t jan2 = Date::getMicrosecondsPerDay() * 12419; log4cxx_time_t preStartTime = LoggingEvent::getStartTime();
  void test1() {    apr_time_t jan2 = MICROSECONDS_PER_DAY * 12419;    apr_time_t preStartTime = LoggingEvent::getStartTime();    RelativeTimeDateFormat formatter;    Pool p;    LogString actual;    formatter.format(actual, jan2, p);    apr_time_t elapsed = log4cxx::helpers::StringHelper::toInt64(actual);    CPPUNIT_ASSERT(preStartTime + elapsed*1000 > jan2 - 2000);    CPPUNIT_ASSERT(preStartTime + elapsed*1000 < jan2 + 2000);  }