Ejemplo n.º 1
0
 public HPDateTime(HPDateTime hpDatetime, double seconds)
     : this()
 {
     _ticks = hpDatetime.Ticks;
       _ticks += (decimal)seconds * FemtoSecondsPerSecond;
 }
Ejemplo n.º 2
0
 public HPDateTime(HPDateTime hpDatetime)
     : this()
 {
     _ticks = hpDatetime.Ticks;
 }
Ejemplo n.º 3
0
 public double SecDifference(HPDateTime hpDateTime)
 {
     // TODO (SecDifference): Round properly, instead of casting
       return (double)((_ticks - hpDateTime.Ticks) / FemtoSecondsPerSecond);
 }
 public bool Contains(HPDateTime onset)
 {
     return Contains(Owner.FileStartDateTime.SecDifference(onset));
 }
Ejemplo n.º 5
0
 public HPDateTime(HPDateTime hpDatetime)
     : this()
 {
     _ticks = hpDatetime.Ticks;
 }
Ejemplo n.º 6
0
 public HPDateTime(HPDateTime hpDatetime, double seconds)
     : this()
 {
     _ticks  = hpDatetime.Ticks;
     _ticks += (decimal)seconds * FemtoSecondsPerSecond;
 }
Ejemplo n.º 7
0
 public double SecDifference(HPDateTime hpDateTime)
 {
     // TODO (SecDifference): Round properly, instead of casting
     return((double)((_ticks - hpDateTime.Ticks) / FemtoSecondsPerSecond));
 }