Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Stopwatch stopWatch = new Stopwatch();

            List.GetWords(read);
            stopWatch.Start();
            var word = List.FindPL("abacie");

            stopWatch.Stop();
            var time = ParseTime.Parse(stopWatch.Elapsed);
        }
Ejemplo n.º 2
0
        public string convertTime(string aTime)
        {
            givenTime = new ParseTime(aTime);

            var firstRow  = givenTime.Hours / 5;
            var secondRow = givenTime.Hours % 5;

            MakeSeconds();

            MakeHours(firstRow);

            MakeHours(secondRow);

            MakeFiveMinutes();

            MakeOneMinutes();

            return(Build());
        }