]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/smpdtfst.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / smpdtfst.h
CommitLineData
4388f060
A
1/*
2*******************************************************************************
57a6839d 3* Copyright (C) 2009-2013, International Business Machines Corporation and *
4388f060
A
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*/
46f4442e
A
13
14#ifndef SMPDTFST_H
15#define SMPDTFST_H
16
17#include "unicode/utypes.h"
18
19#if !UCONFIG_NO_FORMATTING
20
21#include "unicode/udat.h"
22
23U_NAMESPACE_BEGIN
24
25class UnicodeSet;
26
27
28class SimpleDateFormatStaticSets : public UMemory
29{
30public:
57a6839d 31 SimpleDateFormatStaticSets(UErrorCode &status);
46f4442e
A
32 ~SimpleDateFormatStaticSets();
33
34 static void initSets(UErrorCode *status);
35 static UBool cleanup();
36
37 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
38
39private:
40 UnicodeSet *fDateIgnorables;
41 UnicodeSet *fTimeIgnorables;
42 UnicodeSet *fOtherIgnorables;
43};
44
45
46U_NAMESPACE_END
47
48#endif // #if !UCONFIG_NO_FORMATTING
49#endif // SMPDTFST_H