/***********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2012, International Business Machines Corporation
+ * Copyright (c) 1997-2014, International Business Machines Corporation
* and others. All Rights Reserved.
***********************************************************************/
#include "intltest.h"
#include "tfsmalls.h"
+#include "cmemory.h"
#include "unicode/msgfmt.h"
#include "unicode/choicfmt.h"
#include "unicode/fieldpos.h"
#include "unicode/fmtable.h"
-#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
-
/*static UBool chkstatus( UErrorCode &status, char* msg = NULL )
{
UBool ok = (status == U_ZERO_ERROR);
ucs,
ucs_ptr
};
- const int32_t ft_cnt = LENGTHOF(ftarray);
+ const int32_t ft_cnt = UPRV_LENGTHOF(ftarray);
Formattable ft_arr( ftarray, ft_cnt );
UnicodeString temp;
if ((ft_arr[0].getType() == Formattable::kDate) && (ft_arr[0].getDate() == 1.0)