1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
5 * Copyright (C) 2009-2013, International Business Machines Corporation and *
6 * others. All Rights Reserved. *
7 *******************************************************************************
9 * This file contains declarations for the class SimpleDateFormatStaticSets
11 * SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
12 * parsing of literal characters in date/time strings.
13 ********************************************************************************
19 #include "unicode/utypes.h"
21 #if !UCONFIG_NO_FORMATTING
23 #include "unicode/udat.h"
30 class SimpleDateFormatStaticSets : public UMemory
33 SimpleDateFormatStaticSets(UErrorCode &status);
34 ~SimpleDateFormatStaticSets();
36 static void initSets(UErrorCode *status);
37 static UBool cleanup();
39 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
42 UnicodeSet *fDateIgnorables;
43 UnicodeSet *fTimeIgnorables;
44 UnicodeSet *fOtherIgnorables;
50 #endif // #if !UCONFIG_NO_FORMATTING