public SpecificRangeTimeEntry(string description, string employeeName, DateTime startTime, DateTime stopTime, Authority authority) : base(description, stopTime - startTime, employeeName, authority) { StartTime = startTime; StopTime = stopTime; }
public string GetBossReportRow() => $"{GetBossReportRowCore()} was {Authority.GetAuthorityVerb()} by authority {Authority.Name}";
public DurationOnlyTimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority) : base(description, timeInterval, employeeName, authority) { }
protected TimeEntry(string description, TimeSpan timeInterval, string employeeName, Authority authority) { Description = description; TimeInterval = timeInterval; EmployeeName = employeeName; Authority = authority; }