예제 #1
0
        public static string Translate(int value, string translator)
        {
            switch (translator)
            {
            case "date": return(Date.Convert(value));

            case "day": return(Day.Convert(value));

            case "minute": return(Minute.Convert(value));

            case "year": return(Year.Convert(value));

            default: return("");
            }
        }