Exemplo n.º 1
0
        //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());
        }
Exemplo n.º 2
0
 //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()));
 }
Exemplo n.º 3
0
 public string getOutput(Time time)
 {
     return(getSeconds(time.getSeconds()) + Environment.NewLine + getHours(time.getHours()) + Environment.NewLine + getMinutes(time.getMinutes()));
 }