lower() public static méthode

public static lower ( long self ) : long
self long
Résultat long
Exemple #1
0
        private Month parseMon()
        {
            StringBuilder s = new StringBuilder();

            while (pos < str.Length)
            {
                int ch = str[pos];
                if ('a' <= ch && ch <= 'z')
                {
                    s.Append((char)ch); pos++; continue;
                }
                if ('A' <= ch && ch <= 'Z')
                {
                    s.Append((char)FanInt.lower(ch)); pos++; continue;
                }
                break;
            }
            Month m = locale().monthByName(s.ToString());

            if (m == null)
            {
                throw new Exception();
            }
            return(m);
        }
Exemple #2
0
 private static bool neic(int a, int b)
 {
     if (a == b)
     {
         return(false);
     }
     if ((a | 0x20) == (b | 0x20))
     {
         return(FanInt.lower(a) != FanInt.lower(b));
     }
     return(true);
 }