## TimeSpan::Compare method


İki [TimeSpan](../) nesnesini karşılaştırır.

```cpp
static constexpr int System::TimeSpan::Compare(TimeSpan t1, TimeSpan t2)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| t1 | TimeSpan | İlk karşılaştırılan |
| t2 | TimeSpan | İkinci karşılaştırılan |

### ReturnValue

-1 if **t1** is shorter than **t2**; 0 if **t1** is equal to **t2**; 1 if **t1** is longer than **t2**

## Ayrıca Bakınız

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
