You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
839 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Expedience.Models
{
public class CompletionTimeInfo
{
public CompletionTimeInfo()
{
}
public CompletionTimeInfo(TimeSpan completionTime)
{
Hours = completionTime.Hours;
Minutes = completionTime.Minutes;
Seconds = completionTime.Seconds;
Milliseconds = completionTime.Milliseconds;
CompletionTimeText = completionTime.ToString(@"hh\:mm\:ss\.fff");
}
public int Hours { get; set; }
public int Minutes { get; set; }
public int Seconds { get; set; }
public int Milliseconds { get; set; }
public string CompletionTimeText { get; set; }
}
}