public DateTime Add(DroppingTimeSpan timespan)
 {
     CheckZone(timespan);
     return(timespan.ZeroMoment + _delta);
 }
 public bool Equals(DroppingTimeSpan other)
 {
     return _zone == other._zone && _zero == other._zero;
 }
 public TimeSpan Subtract(DroppingTimeSpan other)
 {
     return _zero - other._zero;
 }
 public int CompareTo(DroppingTimeSpan other)
 {
     CheckZone(other);
     return _zero.CompareTo(other._zero);
 }
 public TimeSpan Add(DroppingTimeSpan other)
 {
     return(other.ZeroMoment - _zero);
 }
Esempio n. 6
0
 public TimeSpan Subtract(DroppingTimeSpan other)
 {
     return(_zero - other._zero);
 }
Esempio n. 7
0
 public int CompareTo(DroppingTimeSpan other)
 {
     CheckZone(other);
     return(_zero.CompareTo(other._zero));
 }
Esempio n. 8
0
 public bool Equals(DroppingTimeSpan other)
 {
     return(_zone == other._zone && _zero == other._zero);
 }