]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b331163b A |
3 | /* |
4 | ****************************************************************************** | |
5 | * Copyright (C) 2014, International Business Machines | |
6 | * Corporation and others. All Rights Reserved. | |
7 | ****************************************************************************** | |
8 | * shareddateformatsymbols.h | |
9 | */ | |
10 | ||
11 | #ifndef __SHARED_DATEFORMATSYMBOLS_H__ | |
12 | #define __SHARED_DATEFORMATSYMBOLS_H__ | |
13 | ||
14 | #include "unicode/utypes.h" | |
3d1f044b A |
15 | |
16 | #if !UCONFIG_NO_FORMATTING | |
17 | ||
b331163b A |
18 | #include "sharedobject.h" |
19 | #include "unicode/dtfmtsym.h" | |
20 | ||
21 | U_NAMESPACE_BEGIN | |
22 | ||
23 | ||
24 | class U_I18N_API SharedDateFormatSymbols : public SharedObject { | |
25 | public: | |
26 | SharedDateFormatSymbols( | |
27 | const Locale &loc, const char *type, UErrorCode &status) | |
28 | : dfs(loc, type, status) { } | |
29 | virtual ~SharedDateFormatSymbols(); | |
30 | const DateFormatSymbols &get() const { return dfs; } | |
31 | private: | |
32 | DateFormatSymbols dfs; | |
33 | SharedDateFormatSymbols(const SharedDateFormatSymbols &); | |
34 | SharedDateFormatSymbols &operator=(const SharedDateFormatSymbols &); | |
35 | }; | |
36 | ||
37 | U_NAMESPACE_END | |
38 | ||
3d1f044b A |
39 | #endif /* !UCONFIG_NO_FORMATTING */ |
40 | ||
b331163b | 41 | #endif |