Пример #1
0
        public void Test2()
        {
            string         expected = "10-11-1977";
            string         resultado;
            CheckDateExist toDate1 = new CheckDateExist("10/11/1977");
            ChangeFormat   date    = new ChangeFormat(toDate1);

            Assert.AreEqual(expected, date.FSlashToDash());
        }
Пример #2
0
 public static void ConsolePrintFSlashToBash(ChangeFormat date)
 {
     Console.WriteLine(date.FSlashToDash());
 }
Пример #3
0
 public static void ConsolePrintChangeOrder(ChangeFormat date)
 {
     Console.WriteLine(date.ChangeOrder());
 }