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

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