internal static String DateToLocaleTimeString(double time){ if (Double.IsNaN(time)) return "NaN"; StringBuilder result = new StringBuilder(); AppendTime(time, result); return result.ToString(); }