//Get Time Code private string GetOutput(Time time) { string sResult = string.Empty; string sseconds = GetSeconds(time.getSeconds()); string shours = GetHours(time.getHours()); string sminutes = GetMinutes(time.getMinutes()); return(sResult = sseconds.TrimEnd() + "\r\n" + shours.TrimEnd() + "\r\n" + sminutes.TrimEnd()); }
//Accepts Time Object to Output Berlin Clock Format String - L to R public String GetOutput(Time time) { return(getSeconds(time.getSeconds()) + " " + getHours(time.getHours()) + " " + getMinutes(time.getMinutes())); }
public string getOutput(Time time) { return(getSeconds(time.getSeconds()) + Environment.NewLine + getHours(time.getHours()) + Environment.NewLine + getMinutes(time.getMinutes())); }