#ifndef LocaleWin_h
#define LocaleWin_h
#include "PlatformLocale.h"
#include <windows.h>
#include <wtf/Forward.h>
#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
class DateComponents;
struct DateFormatToken;
class LocaleWin : public Locale {
public:
static PassOwnPtr<LocaleWin> create(LCID);
~LocaleWin();
#if ENABLE(DATE_AND_TIME_INPUT_TYPES)
virtual String dateFormat() OVERRIDE;
virtual String monthFormat() OVERRIDE;
virtual String shortMonthFormat() OVERRIDE;
virtual String timeFormat() OVERRIDE;
virtual String shortTimeFormat() OVERRIDE;
virtual String dateTimeFormatWithSeconds() OVERRIDE;
virtual String dateTimeFormatWithoutSeconds() OVERRIDE;
virtual const Vector<String>& monthLabels() OVERRIDE;
virtual const Vector<String>& shortMonthLabels() OVERRIDE;
virtual const Vector<String>& standAloneMonthLabels() OVERRIDE;
virtual const Vector<String>& shortStandAloneMonthLabels() OVERRIDE;
virtual const Vector<String>& timeAMPMLabels() OVERRIDE;
static String dateFormat(const String&);
#endif
private:
explicit LocaleWin(LCID);
String getLocaleInfoString(LCTYPE);
void getLocaleInfo(LCTYPE, DWORD&);
void ensureShortMonthLabels();
void ensureMonthLabels();
virtual void initializeLocaleData() OVERRIDE;
LCID m_lcid;
#if ENABLE(DATE_AND_TIME_INPUT_TYPES)
Vector<String> m_shortMonthLabels;
Vector<String> m_monthLabels;
String m_dateFormat;
String m_monthFormat;
String m_shortMonthFormat;
String m_timeFormatWithSeconds;
String m_timeFormatWithoutSeconds;
String m_dateTimeFormatWithSeconds;
String m_dateTimeFormatWithoutSeconds;
Vector<String> m_timeAMPMLabels;
#endif
bool m_didInitializeNumberData;
};
} #endif