System::DateTimeOffset::operator- 메서드

DateTimeOffset::operator-(const DateTimeOffset&) const method

현재 객체와 지정된 객체가 나타내는 날짜 및 시간 값 사이의 시간 간격을 나타내는 TimeSpan 클래스의 인스턴스를 반환합니다.

TimeSpan System::DateTimeOffset::operator-(const DateTimeOffset &other) const
매개변수형식설명
otherconst DateTimeOffset&계산될 구간의 한쪽 끝을 표시하는 DateTime 클래스의 인스턴스

ReturnValue

현재 객체와 other가 나타내는 날짜 및 시간 값 사이의 시간 간격을 나타내는 TimeSpan 클래스의 인스턴스.

또 보기

DateTimeOffset::operator-(TimeSpan) const method

현재 객체가 나타내는 값에서 지정된 시간 간격을 빼서 얻은 날짜 및 시간 값을 나타내는 DateTimeOffset 클래스의 새 인스턴스를 반환합니다.

DateTimeOffset System::DateTimeOffset::operator-(TimeSpan value) const
매개변수형식설명
valueTimeSpan빼기 위한 시간 간격

ReturnValue

현재 객체가 나타내는 값에서 value를 빼서 얻은 날짜 및 시간 값을 나타내는 DateTimeOffset 클래스의 새 인스턴스.

또 보기