-//
-// smpdtfst.h
-//
-// Copyright (C) 2009, International Business Machines Corporation and others.
-// All Rights Reserved.
-//
-// This file contains declarations for the class SimpleDateFormatStaticSets
-//
-// SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
-// parsing of literal characters in date/time strings.
-//
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+*******************************************************************************
+* Copyright (C) 2009-2013, International Business Machines Corporation and *
+* others. All Rights Reserved. *
+*******************************************************************************
+*
+* This file contains declarations for the class SimpleDateFormatStaticSets
+*
+* SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
+* parsing of literal characters in date/time strings.
+********************************************************************************
+*/
#ifndef SMPDTFST_H
#define SMPDTFST_H
+#include "unicode/uobject.h"
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
class SimpleDateFormatStaticSets : public UMemory
{
public:
- static SimpleDateFormatStaticSets *gStaticSets; // Ptr to all lazily initialized constant
- // shared sets.
-
- SimpleDateFormatStaticSets(UErrorCode *status);
+ SimpleDateFormatStaticSets(UErrorCode &status);
~SimpleDateFormatStaticSets();
static void initSets(UErrorCode *status);