public string ConvertTime(string aTime) { if (!IsValid(aTime)) { throw new Exception("Time format is not valid"); } var time = Parse(aTime); var clock = new BerlinClock(new LampRowBuilder(), time); return(clock.ToString()); }
public string convertTime(string aTime) { var berlinClock = new Classes.BerlinClock(aTime); return(berlinClock.ToString()); }