fill_culture_data() private method

private fill_culture_data ( int datetimeIndex ) : void
datetimeIndex int
return void
Esempio n. 1
0
        public static CultureData GetCultureData(string cultureName, bool useUserOverride, int datetimeIndex, int calendarId, string iso2lang)
        {
            if (string.IsNullOrEmpty(cultureName))
            {
                return(Invariant);
            }

            var cd = new CultureData(cultureName);

            cd.fill_culture_data(datetimeIndex);
            cd.bUseOverrides   = useUserOverride;
            cd.calendarId      = calendarId;
            cd.sISO639Language = iso2lang;
            return(cd);
        }
Esempio n. 2
0
        public static CultureData GetCultureData(string cultureName, bool useUserOverride, int datetimeIndex, int calendarId, int numberIndex, string iso2lang,
                                                 int ansiCodePage, int oemCodePage, int macCodePage, int ebcdicCodePage, bool rightToLeft, string listSeparator)
        {
            if (string.IsNullOrEmpty(cultureName))
            {
                return(Invariant);
            }

            var cd = new CultureData(cultureName);

            cd.fill_culture_data(datetimeIndex);
            cd.bUseOverrides          = useUserOverride;
            cd.calendarId             = calendarId;
            cd.numberIndex            = numberIndex;
            cd.sISO639Language        = iso2lang;
            cd.iDefaultAnsiCodePage   = ansiCodePage;
            cd.iDefaultOemCodePage    = oemCodePage;
            cd.iDefaultMacCodePage    = macCodePage;
            cd.iDefaultEbcdicCodePage = ebcdicCodePage;
            cd.isRightToLeft          = rightToLeft;
            cd.sListSeparator         = listSeparator;
            return(cd);
        }
Esempio n. 3
0
		public static CultureData GetCultureData (string cultureName, bool useUserOverride, int datetimeIndex, int calendarId, string iso2lang)
		{
			if (string.IsNullOrEmpty (cultureName))
				return Invariant;

			var cd = new CultureData (cultureName);
			cd.fill_culture_data (datetimeIndex);
			cd.bUseOverrides = useUserOverride;
			cd.calendarId = calendarId;
			cd.sISO639Language = iso2lang;
			return cd;
		}
Esempio n. 4
0
		public static CultureData GetCultureData (string cultureName, bool useUserOverride, int datetimeIndex, int calendarId, int numberIndex, string iso2lang,
			int ansiCodePage, int oemCodePage, int macCodePage, int ebcdicCodePage, bool rightToLeft, string listSeparator)
		{
			if (string.IsNullOrEmpty (cultureName))
				return Invariant;

			var cd = new CultureData (cultureName);
			cd.fill_culture_data (datetimeIndex);
			cd.bUseOverrides = useUserOverride;
			cd.calendarId = calendarId;
			cd.numberIndex = numberIndex;
			cd.sISO639Language = iso2lang;
			cd.iDefaultAnsiCodePage = ansiCodePage;
			cd.iDefaultOemCodePage = oemCodePage;
			cd.iDefaultMacCodePage = macCodePage;
			cd.iDefaultEbcdicCodePage = ebcdicCodePage;
			cd.isRightToLeft = rightToLeft;
			cd.sListSeparator = listSeparator;
			return cd;
		}