1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 ******************************************************************************
5 * Copyright (C) 2014, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 ******************************************************************************
8 * shareddateformatsymbols.h
11 #ifndef __SHARED_DATEFORMATSYMBOLS_H__
12 #define __SHARED_DATEFORMATSYMBOLS_H__
14 #include "unicode/utypes.h"
16 #if !UCONFIG_NO_FORMATTING
18 #include "sharedobject.h"
19 #include "unicode/dtfmtsym.h"
24 class U_I18N_API SharedDateFormatSymbols
: public SharedObject
{
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
; }
32 DateFormatSymbols dfs
;
33 SharedDateFormatSymbols(const SharedDateFormatSymbols
&);
34 SharedDateFormatSymbols
&operator=(const SharedDateFormatSymbols
&);
39 #endif /* !UCONFIG_NO_FORMATTING */