예제 #1
0
 void CheckZone(FloatingTimeSpan timespan)
 {
     if (_zone != timespan.Zone)
     {
         throw new ArgumentException("Cannot relate ObservableDateTime to FloatingTimeSpan with different time zone");
     }
 }
예제 #2
0
 protected void CheckZone(FloatingTimeSpan other)
 {
     if (_zone != other._zone)
     {
         throw new ArgumentException("Cannot relate FloatingTimeSpan instances from two different time zones");
     }
 }
예제 #3
0
 protected void CheckZone(FloatingTimeSpan other)
 {
     if (_zone != other._zone)
         throw new ArgumentException("Cannot relate FloatingTimeSpan instances from two different time zones");
 }