Exemplo n.º 1
0
 public bool ToStartTSCertainty()
 {
     if (HistoricalPnrs.Count > 0)
     {
         // Rely on other objects to get interval start date uncertainty
         // TODO: Is this correct?
         return(HistoricalPnrs.OrderByDescending(p => p.ToEndTS()).Select(p => p.ToStartTSCertainty()).FirstOrDefault());
     }
     else
     {
         return(true);
     }
 }
Exemplo n.º 2
0
 public DateTime?ToStartTS()
 {
     if (HistoricalPnrs.Count > 0)
     {
         // Rely on other objects to get interval start date
         // TODO: Is this correct?
         return(HistoricalPnrs.OrderByDescending(p => p.ToEndTS()).Select(p => p.ToEndTS()).FirstOrDefault());
     }
     else
     {
         return(null);
     }
 }