예제 #1
0
 public TimingMap(Timing t) : this()
 {
     foreach (var entry in t.Entries)
     {
         var(days, hours) = Timing.Deconstruct(entry);
         foreach (var x in Timing.Days(days))
         {
             Record[x] |= hours & Timing.HourMap;
         }
     }
 }