示例#1
0
        public static string GetPrettyString(int seconds, TypeOfPrint type)
        {
            string print = "";

            switch (type)
            {
            case TypeOfPrint.LongHand:
                print = GetLongHandString(seconds);
                break;

            case TypeOfPrint.ShortHand:
                print = GetShortHandPrint(seconds);
                break;
            }

            return(print);
        }
 // [Button]
 public void PrettyPrint(int seconds, TypeOfPrint type)
 {
     PrettyPrintFromSeconds.GetPrettyString(seconds, type);
 }