public string ParentProjectInfo(DateTime sinceDate = new DateTime()) { return ($"{NearestParentProject.label} :\n {TreeController.TimeSpanFmt(NearestParentProject.TimeSpentWithChilds(sinceDate))}"); }
public Node(TreeController parentTree) { _parentTree = parentTree; }
private string ReportLine(TreeController.Node.TimePeriod timePeriod) { return($"{timePeriod.Since.ToString()};{timePeriod.Till.ToString()};" + $"{TreeController.TimeSpanFmt(timePeriod.Till-timePeriod.Since)};{timePeriod.Node.PathWithProjects(false,";")}"); }