System::TimeSpan::Compare μέθοδος
TimeSpan::Compare method
Συγκρίνει δύο αντικείμενα TimeSpan.
static constexpr int System::TimeSpan::Compare(TimeSpan t1, TimeSpan t2)
| Parameter | Type | Περιγραφή |
|---|---|---|
| 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++