Imported Upstream version 58.1
[platform/upstream/icu.git] / source / i18n / unicode / tmutfmt.h
index 728ff13..b90d4a0 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 (C) 2008-2014, Google, International Business Machines Corporation
@@ -50,6 +52,8 @@ U_NAMESPACE_BEGIN
 class Hashtable;
 class UVector;
 
+struct TimeUnitFormatReadSink;
+
 /**
  * Format or parse a TimeUnitAmount, using plural rules for the units where available.
  *
@@ -227,6 +231,7 @@ private:
     // UTIMEUNIT_YEAR.
     static const char* getTimeUnitName(TimeUnit::UTimeUnitFields field, UErrorCode& status);
 
+    friend struct TimeUnitFormatReadSink;
 };
 
 inline UBool