Пример #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");
 }