]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/datefmt/util.h
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / samples / datefmt / util.h
CommitLineData
b75a7d8f 1/********************************************************************
f3c0d7a5
A
2 * © 2016 and later: Unicode, Inc. and others.
3 * License & terms of use: http://www.unicode.org/copyright.html#License
4 *************************************************************************
5 *************************************************************************
b75a7d8f 6 * COPYRIGHT:
f3c0d7a5 7 * Copyright (c) 1999-2003, International Business Machines Corporation and
b75a7d8f 8 * others. All Rights Reserved.
f3c0d7a5 9 *************************************************************************/
b75a7d8f
A
10
11#include "unicode/unistr.h"
12
0f5d89e8
A
13using namespace icu;
14
b75a7d8f
A
15// Verify that a UErrorCode is successful; exit(1) if not
16void check(UErrorCode& status, const char* msg);
17
18// Replace nonprintable characters with unicode escapes
19UnicodeString escape(const UnicodeString &source);
20
21// Print the given string to stdout
22void uprintf(const UnicodeString &str);