]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/tzoffloc.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / tzoffloc.cpp
index db3d2e60958e25e47f5b92e212f3455e1def9190..1402469507be3942817635d107bb6a0da9327274 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
-* Copyright (C) 2007-2010, International Business Machines Corporation and         *
+* Copyright (C) 2007-2011, International Business Machines Corporation and         *
 * others. All Rights Reserved.                                                *
 *******************************************************************************
 */
@@ -193,7 +195,7 @@ TimeZoneOffsetLocalTest::TestGetOffsetAroundTransition() {
 
     SimpleDateFormat df(UnicodeString("yyyy-MM-dd HH:mm:ss"), status);
     if (U_FAILURE(status)) {
-        errcheckln(status, "Failed to initialize a SimpleDateFormat - %s", u_errorName(status));
+        dataerrln("Failed to initialize a SimpleDateFormat - %s", u_errorName(status));
     }
     df.setTimeZone(*utc);
     UnicodeString dateStr;