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