示例#1
0
        private static byte GetMonthNumber(string strMonth)
        {
            string su = InvariantTextInfo.ToUpper(strMonth);

            int month = Algorithms.IndexOf(GDMCustomDate.GEDCOMMonthArray, su);

            return((byte)(month + 1));
        }
        protected char ToLower(char c)
        {
            int cInt = c;

            if (c < 128 && IsAsciiCasingSameAsInvariant)
            {
                if (65 <= cInt && cInt <= 90)
                {
                    c |= ' ';
                }

                return(c);
            }
            return(InvariantTextInfo.ToLower(c));
        }