annotate modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/smpdtfst.h @ 11038:20a8447c71c6

8207159: Update ICU to version 62.1 Reviewed-by: mbilla, kcr, ghb
author arajkumar
date Fri, 24 Aug 2018 15:06:40 +0530
parents fee4ef5c87df
children
rev   line source
arajkumar@11038 1 // © 2016 and later: Unicode, Inc. and others.
arajkumar@11038 2 // License & terms of use: http://www.unicode.org/copyright.html
ghb@10550 3 /*
ghb@10550 4 *******************************************************************************
arajkumar@11038 5 * Copyright (C) 2009-2013, International Business Machines Corporation and *
ghb@10550 6 * others. All Rights Reserved. *
ghb@10550 7 *******************************************************************************
ghb@10550 8 *
ghb@10550 9 * This file contains declarations for the class SimpleDateFormatStaticSets
ghb@10550 10 *
ghb@10550 11 * SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient
ghb@10550 12 * parsing of literal characters in date/time strings.
ghb@10550 13 ********************************************************************************
ghb@10550 14 */
ghb@10550 15
ghb@10550 16 #ifndef SMPDTFST_H
ghb@10550 17 #define SMPDTFST_H
ghb@10550 18
arajkumar@11038 19 #include "unicode/uobject.h"
ghb@10550 20 #include "unicode/utypes.h"
ghb@10550 21
ghb@10550 22 #if !UCONFIG_NO_FORMATTING
ghb@10550 23
ghb@10550 24 #include "unicode/udat.h"
ghb@10550 25
ghb@10550 26 U_NAMESPACE_BEGIN
ghb@10550 27
ghb@10550 28 class UnicodeSet;
ghb@10550 29
ghb@10550 30
ghb@10550 31 class SimpleDateFormatStaticSets : public UMemory
ghb@10550 32 {
ghb@10550 33 public:
arajkumar@11038 34 SimpleDateFormatStaticSets(UErrorCode &status);
ghb@10550 35 ~SimpleDateFormatStaticSets();
ghb@10550 36
ghb@10550 37 static void initSets(UErrorCode *status);
ghb@10550 38 static UBool cleanup();
ghb@10550 39
ghb@10550 40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
ghb@10550 41
ghb@10550 42 private:
ghb@10550 43 UnicodeSet *fDateIgnorables;
ghb@10550 44 UnicodeSet *fTimeIgnorables;
ghb@10550 45 UnicodeSet *fOtherIgnorables;
ghb@10550 46 };
ghb@10550 47
ghb@10550 48
ghb@10550 49 U_NAMESPACE_END
ghb@10550 50
ghb@10550 51 #endif // #if !UCONFIG_NO_FORMATTING
ghb@10550 52 #endif // SMPDTFST_H