## TimeSpan::Compare method


Vergleicht zwei [TimeSpan](../)‑Objekte.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| t1 | TimeSpan | Der erste Operand |
| t2 | TimeSpan | Der zweite Operand |

### ReturnValue

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

## Siehe auch

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