Beispiel #1
0
        public void TestMaximumRange(int location, int length, NSCalendarUnit unit)
        {
            var cal   = new NSCalendar(NSCalendarType.Gregorian);
            var range = cal.MaximumRange(unit);

            Assert.AreEqual(length, range.Length);
            Assert.AreEqual(location, range.Location);
        }