Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /*
2 *******************************************************************************
3 * Copyright (C) 2009-2013, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
6 *
7 * This file contains declarations for the class SimpleDateFormatStaticSets
8 *
9 * SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
10 * parsing of literal characters in date/time strings.
11 ********************************************************************************
12 */
14 #ifndef SMPDTFST_H
15 #define SMPDTFST_H
17 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_FORMATTING
21 #include "unicode/udat.h"
23 U_NAMESPACE_BEGIN
25 class UnicodeSet;
28 class SimpleDateFormatStaticSets : public UMemory
29 {
30 public:
31 SimpleDateFormatStaticSets(UErrorCode &status);
32 ~SimpleDateFormatStaticSets();
34 static void initSets(UErrorCode *status);
35 static UBool cleanup();
37 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
39 private:
40 UnicodeSet *fDateIgnorables;
41 UnicodeSet *fTimeIgnorables;
42 UnicodeSet *fOtherIgnorables;
43 };
46 U_NAMESPACE_END
48 #endif // #if !UCONFIG_NO_FORMATTING
49 #endif // SMPDTFST_H