public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return(StdUtils.ToString((TimeSpan)value)); }
public object Convert(object value, Type targetType, object parameter, string language) { return(StdUtils.ToString(TimeSpan.FromSeconds((double)value))); }