protected void CheckModification() { if ( IsReadOnly ) { throw new NotSupportedException( "TimeInterval is read-only" ); } }