System::TimeSpan::Compare 메서드

TimeSpan::Compare method

TimeSpan 객체를 비교합니다.

static constexpr int System::TimeSpan::Compare(TimeSpan t1, TimeSpan t2)
매개변수형식설명
t1TimeSpan첫 번째 비교값
t2TimeSpan두 번째 비교값

ReturnValue

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

또 보기