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

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