]> git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/shareddateformatsymbols.h
ICU-62109.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / shareddateformatsymbols.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
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"
15 #include "sharedobject.h"
16 #include "unicode/dtfmtsym.h"
17
18 U_NAMESPACE_BEGIN
19
20
21 class U_I18N_API SharedDateFormatSymbols : public SharedObject {
22 public:
23 SharedDateFormatSymbols(
24 const Locale &loc, const char *type, UErrorCode &status)
25 : dfs(loc, type, status) { }
26 virtual ~SharedDateFormatSymbols();
27 const DateFormatSymbols &get() const { return dfs; }
28 private:
29 DateFormatSymbols dfs;
30 SharedDateFormatSymbols(const SharedDateFormatSymbols &);
31 SharedDateFormatSymbols &operator=(const SharedDateFormatSymbols &);
32 };
33
34 U_NAMESPACE_END
35
36 #endif