1 // © 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/uobject.h"
20 #include "unicode/utypes.h"
22 #if !UCONFIG_NO_FORMATTING
24 #include "unicode/udat.h"
31 class SimpleDateFormatStaticSets
: public UMemory
34 SimpleDateFormatStaticSets(UErrorCode
&status
);
35 ~SimpleDateFormatStaticSets();
37 static void initSets(UErrorCode
*status
);
38 static UBool
cleanup();
40 static UnicodeSet
*getIgnorables(UDateFormatField fieldIndex
);
43 UnicodeSet
*fDateIgnorables
;
44 UnicodeSet
*fTimeIgnorables
;
45 UnicodeSet
*fOtherIgnorables
;
51 #endif // #if !UCONFIG_NO_FORMATTING