Пример #1
0
        public static bool check_crttm(float tm_now, Variant crttmchk, Variant self)
        {
            bool flag = crttmchk == null;
            bool result;

            if (flag)
            {
                result = true;
            }
            else
            {
                bool isArr = crttmchk.isArr;
                if (isArr)
                {
                    foreach (Variant current in crttmchk._arr)
                    {
                        bool flag2 = ConfigUtil.check_crttm_impl(tm_now, current, self);
                        if (flag2)
                        {
                            result = true;
                            return(result);
                        }
                    }
                    result = false;
                }
                else
                {
                    result = ConfigUtil.check_crttm_impl(tm_now, crttmchk, self);
                }
            }
            return(result);
        }