## TimeSpan::Compare method


두 [TimeSpan](../) 객체를 비교합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| t1 | TimeSpan | 첫 번째 비교값 |
| t2 | TimeSpan | 두 번째 비교값 |

### ReturnValue

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

## 또 보기

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