예제 #1
0
 public DateTime Add(DroppingTimeSpan timespan)
 {
     CheckZone(timespan);
     return(timespan.ZeroMoment + _delta);
 }
예제 #2
0
 public bool Equals(DroppingTimeSpan other)
 {
     return _zone == other._zone && _zero == other._zero;
 }
예제 #3
0
 public TimeSpan Subtract(DroppingTimeSpan other)
 {
     return _zero - other._zero;
 }
예제 #4
0
 public int CompareTo(DroppingTimeSpan other)
 {
     CheckZone(other);
     return _zero.CompareTo(other._zero);
 }
예제 #5
0
 public TimeSpan Add(DroppingTimeSpan other)
 {
     return(other.ZeroMoment - _zero);
 }
예제 #6
0
 public TimeSpan Subtract(DroppingTimeSpan other)
 {
     return(_zero - other._zero);
 }
예제 #7
0
 public int CompareTo(DroppingTimeSpan other)
 {
     CheckZone(other);
     return(_zero.CompareTo(other._zero));
 }
예제 #8
0
 public bool Equals(DroppingTimeSpan other)
 {
     return(_zone == other._zone && _zero == other._zero);
 }