4 // Copyright (C) 2009, International Business Machines Corporation and others.
5 // All Rights Reserved.
7 // This file contains declarations for the class SimpleDateFormatStaticSets
9 // SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
10 // parsing of literal characters in date/time strings.
16 #include "unicode/utypes.h"
18 #if !UCONFIG_NO_FORMATTING
20 #include "unicode/udat.h"
27 class SimpleDateFormatStaticSets
: public UMemory
30 static SimpleDateFormatStaticSets
*gStaticSets
; // Ptr to all lazily initialized constant
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