+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
-* Copyright (C) 1997-2005, International Business Machines Corporation and *
+* Copyright (C) 1997-2010, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*
// This is just a grandfathered API.
Formattable::Formattable(const char* stringToCopy)
- : UObject(), fType(kString)
{
- fBogus.setToBogus();
+ init();
+ fType = kString;
fValue.fString = new UnicodeString(stringToCopy);
}