2014-07-14 15:03:46 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* CultureInfo.h *
|
|
|
|
* *
|
|
|
|
* XFX System::Globalization::CultureInfo class definition file. *
|
|
|
|
* Copyright (c) XFX Team. All Rights Reserved. *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _SYSTEM_GLOBALIZATION_CULTUREINFO_
|
|
|
|
#define _SYSTEM_GLOBALIZATION_CULTUREINFO_
|
|
|
|
|
2013-10-09 11:52:41 +02:00
|
|
|
#include <System/Interfaces.h>
|
|
|
|
|
2013-05-05 18:18:41 +02:00
|
|
|
namespace System
|
|
|
|
{
|
2013-10-09 11:52:41 +02:00
|
|
|
class String;
|
|
|
|
|
2013-05-05 18:18:41 +02:00
|
|
|
namespace Globalization
|
|
|
|
{
|
2013-10-09 11:52:41 +02:00
|
|
|
/**
|
|
|
|
* Provides information about a specific culture (called a "locale" for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, and formatting for dates and sort strings.
|
|
|
|
*/
|
|
|
|
class CultureInfo : public IFormatProvider, public Object
|
2013-05-05 18:18:41 +02:00
|
|
|
{
|
|
|
|
public:
|
2014-07-14 15:03:46 +02:00
|
|
|
static CultureInfo * const InvariantCulture;
|
2013-10-09 11:52:41 +02:00
|
|
|
|
|
|
|
CultureInfo(int culture);
|
|
|
|
CultureInfo(int culture, bool useUserOverride);
|
|
|
|
CultureInfo(const String& name);
|
|
|
|
CultureInfo(const String& name, bool useUserOverride);
|
|
|
|
|
2013-05-05 18:18:41 +02:00
|
|
|
void ClearCacheData();
|
2013-10-09 11:52:41 +02:00
|
|
|
bool Equals(Object const * const obj) const;
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_SYSTEM_GLOBALIZATION_CULTUREINFO_
|