示例#1
0
        public static OpenHours From(String input)
        {
            var oh = new OpenHours();

            oh.BuildTimes(input);
            return(oh);
        }
示例#2
0
 public void InternalTestSimplifyDays(string input, int[] expected) => Assert.Equal(expected, OpenHours.SimplifyDays(input));
示例#3
0
 public void TestCleanInput(string input, string expected) =>
 Assert.Equal(expected, OpenHours.CleanInput(input));