]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/tsdate.cpp
ICU-6.2.4.tar.gz
[apple/icu.git] / icuSources / test / intltest / tsdate.cpp
index c4dd672da147c8802752da1e9f4d069e31a32c20..fed509f5127d555e4cb0f133c125342224e8d0c7 100644 (file)
@@ -1,8 +1,8 @@
-/********************************************************************
+/***********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2001, International Business Machines Corporation and
- * others. All Rights Reserved.
- ********************************************************************/
+ * Copyright (c) 1997-2004, International Business Machines Corporation
+ * and others. All Rights Reserved.
+ ***********************************************************************/
 
 #include "unicode/utypes.h"
 
 #include "unicode/datefmt.h"
 #include "unicode/smpdtfmt.h"
 #include "tsdate.h"
+#include "putilimp.h"
 
 #include <float.h>
 #include <stdlib.h>
 
 const double IntlTestDateFormat::ONEYEAR = 365.25 * ONEDAY; // Approximate
 
+IntlTestDateFormat::~IntlTestDateFormat() {}
+
 /**
  * This test does round-trip testing (format -> parse -> format -> parse -> etc.) of
  * DateFormat.
@@ -150,6 +153,9 @@ void IntlTestDateFormat::tryDate(UDate theDate)
     int32_t dateMatch = 0;
     int32_t stringMatch = 0;
     UBool dump = FALSE;
+#if defined (U_CAL_DEBUG)
+    dump = TRUE;
+#endif
     int32_t i;
 
     date[0] = theDate;