Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / intltest / dtfmapts.cpp
index 54bb1a5..896d5dd 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /***********************************************************************
  * COPYRIGHT: 
  * Copyright (c) 1997-2011, International Business Machines Corporation
@@ -162,7 +164,7 @@ if (fr != NULL && it != NULL && de != NULL)
     Formattable fD(d, Formattable::kIsDate);
 
     UnicodeString res1, res2, res3;
-    FieldPosition pos1(0), pos2(0);
+    FieldPosition pos1(FieldPosition::DONT_CARE), pos2(FieldPosition::DONT_CARE);
     
     status = U_ZERO_ERROR;
     res1 = fr->format(d, res1, pos1, status);