/// <summary> /// This is used to add an even to the DS maintained /// </summary> /// <param name="inputFromPipe"></param> public static void AddEventToDs(string inputFromPipe) { var date = DateTime.Parse(inputFromPipe); CountSetters.SetHourCount(date); CountSetters.SetDayCount(date); }
/// <summary> /// This is used to add an even to the DS maintained /// </summary> /// <param name="inputFromPipe"></param> private static void AddEventToDs(string inputFromPipe) { var date = DateTime.Parse(inputFromPipe); Console.WriteLine("Data obtained:Date = {0}, Time = {1}", date.Date, date.TimeOfDay); CountSetters.SetHourCount(date); CountSetters.SetDayCount(date); }