]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/shareddateformatsymbols.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / shareddateformatsymbols.h
CommitLineData
b331163b
A
1/*
2******************************************************************************
3* Copyright (C) 2014, International Business Machines
4* Corporation and others. All Rights Reserved.
5******************************************************************************
6* shareddateformatsymbols.h
7*/
8
9#ifndef __SHARED_DATEFORMATSYMBOLS_H__
10#define __SHARED_DATEFORMATSYMBOLS_H__
11
12#include "unicode/utypes.h"
13#include "sharedobject.h"
14#include "unicode/dtfmtsym.h"
15
16U_NAMESPACE_BEGIN
17
18
19class U_I18N_API SharedDateFormatSymbols : public SharedObject {
20public:
21 SharedDateFormatSymbols(
22 const Locale &loc, const char *type, UErrorCode &status)
23 : dfs(loc, type, status) { }
24 virtual ~SharedDateFormatSymbols();
25 const DateFormatSymbols &get() const { return dfs; }
26private:
27 DateFormatSymbols dfs;
28 SharedDateFormatSymbols(const SharedDateFormatSymbols &);
29 SharedDateFormatSymbols &operator=(const SharedDateFormatSymbols &);
30};
31
32U_NAMESPACE_END
33
34#endif