## TimeSpan::operator<(std::nullptr_t) const method




```cpp
bool System::TimeSpan::operator<(std::nullptr_t) const
```

## 另见

* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## TimeSpan::operator<(TimeSpan) const method


确定当前对象表示的时间间隔是否短于指定对象表示的时间间隔。

```cpp
bool System::TimeSpan::operator<(TimeSpan value) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | TimeSpan | 用于与当前对象比较的 [TimeSpan](../) 对象 |

### ReturnValue

如果当前对象表示的时间间隔比 **value** 表示的时间间隔短，则为 true；否则为 false。

## 另见

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
---
标题: System::TimeSpan::operator> 方法
链接标题: operator>
次标题: Aspose.Font for C++
描述: '如何在 C++ 中使用 System::TimeSpan 类的 operator> 方法。'
类型: 文档
权重: 3100
网址: /cpp/system/timespan/operator_/
---
## TimeSpan::operator>(std::nullptr_t) const method




```cpp
bool System::TimeSpan::operator>(std::nullptr_t) const
```

## 另见

* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## TimeSpan::operator>(TimeSpan) const method


确定当前对象表示的时间间隔是否长于指定对象表示的时间间隔。

```cpp
bool System::TimeSpan::operator>(TimeSpan value) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | TimeSpan | 用于与当前对象比较的 [TimeSpan](../) 对象 |

### ReturnValue

如果当前对象表示的时间间隔比 **value** 表示的时间间隔长，则为 true；否则为 false。

## 另见

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