DateTime

概述

DateTime 是 C++ 的 FOSS 中的 Aspose.Cells 类.

本类提供了9种方法,用于在C++程序中与DateTime对象工作. 有的方法包括: DateTime, Equals, GetDay, GetHour, GetMinute, GetMonth, GetSecond, GetTicks, GetYear. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.

方法

Signature描述情况
DateTime()在这个 DateTime 实例中调用DateTime.
GetTicks() → std::int64_t返回.
GetYear() → int返回一年.
GetMonth() → int返回一个月.
GetDay() → int返回一个日子.
GetHour() → int返回一个小时.
GetMinute() → int返回一分钟.
GetSecond() → int返回第二个.
Equals(other: DateTime) → bool在这个 DateTime 实例中调用 Equals.

查看更多

 中文