michael@0: /* michael@0: ******************************************************************************* michael@0: * Copyright (C) 2009-2013, International Business Machines Corporation and * michael@0: * others. All Rights Reserved. * michael@0: ******************************************************************************* michael@0: * michael@0: * This file contains declarations for the class SimpleDateFormatStaticSets michael@0: * michael@0: * SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient michael@0: * parsing of literal characters in date/time strings. michael@0: ******************************************************************************** michael@0: */ michael@0: michael@0: #ifndef SMPDTFST_H michael@0: #define SMPDTFST_H michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_FORMATTING michael@0: michael@0: #include "unicode/udat.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: class UnicodeSet; michael@0: michael@0: michael@0: class SimpleDateFormatStaticSets : public UMemory michael@0: { michael@0: public: michael@0: SimpleDateFormatStaticSets(UErrorCode &status); michael@0: ~SimpleDateFormatStaticSets(); michael@0: michael@0: static void initSets(UErrorCode *status); michael@0: static UBool cleanup(); michael@0: michael@0: static UnicodeSet *getIgnorables(UDateFormatField fieldIndex); michael@0: michael@0: private: michael@0: UnicodeSet *fDateIgnorables; michael@0: UnicodeSet *fTimeIgnorables; michael@0: UnicodeSet *fOtherIgnorables; michael@0: }; michael@0: michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif // #if !UCONFIG_NO_FORMATTING michael@0: #endif // SMPDTFST_H