IterationDays() static private method

find the separator and get the value to the left of it.
static private IterationDays ( string iterationLength ) : int
iterationLength string
return int
コード例 #1
0
        public void TestIterationDays1HourNoPoint()
        {
            int result = VistaDateTimeIterator.IterationDays("100000");

            Assert.AreEqual(0, result);
        }
コード例 #2
0
        public void TestIterationDays()
        {
            int result = VistaDateTimeIterator.IterationDays("1.000000");

            Assert.AreEqual(1, result);
        }