public void TestCompareSimple()
        {
            Debug.WriteLine(">> TestCompareSimple");

            IComparer <object> comparer = NumberComparator.getComparator();
            var result = comparer.Compare(1, 2);
            //Assert.AreEqual(1, result);
        }
        } //  getName()

        // public override Comparator<object> getComparator()
        public IComparer <object> getComparator()
        {
            if (isTimeBased())
            {
                return(TimeComparator.getComparator());
            }
            if (isNumber())
            {
                return(NumberComparator.getComparator());
            }
            if (isLiteral())
            {
                return(ToStringComparator.getComparator());
            }
            return(ObjectComparator.getComparator());
        } // getComparator()