// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2009-2013, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* * * This file contains the class SimpleDateFormatStaticSets * * SimpleDateFormatStaticSets holds the UnicodeSets that are needed for lenient * parsing of literal characters in date/time strings. ******************************************************************************** */ #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #include "unicode/uniset.h" #include "unicode/udat.h" #include "cmemory.h" #include "uassert.h" #include "ucln_in.h" #include "umutex.h" #include "smpdtfst.h" U_NAMESPACE_BEGIN SimpleDateFormatStaticSets *gStaticSets = …; UInitOnce gSimpleDateFormatStaticSetsInitOnce { … }; SimpleDateFormatStaticSets::SimpleDateFormatStaticSets(UErrorCode &status) : … { … } SimpleDateFormatStaticSets::~SimpleDateFormatStaticSets() { … } //------------------------------------------------------------------------------ // // smpdtfmt_cleanup Memory cleanup function, free/delete all // cached memory. Called by ICU's u_cleanup() function. // //------------------------------------------------------------------------------ UBool SimpleDateFormatStaticSets::cleanup() { … } U_CDECL_BEGIN static UBool U_CALLCONV smpdtfmt_cleanup() { … } static void U_CALLCONV smpdtfmt_initSets(UErrorCode &status) { … } U_CDECL_END UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) { … } U_NAMESPACE_END #endif // #if !UCONFIG_NO_FORMATTING