TimeInterval
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"kind": string,
"start": {
object (DateTime )
},
"end": {
object (DateTime )
}
} |
字段 |
kind (deprecated) |
string
指明资源的类型。值:固定字符串 "walletobjects#timeInterval" 。
|
start |
object (DateTime )
间隔的开始时间。 偏移量不是必需属性。如果提供了偏移量并设置了 end 时间,则 end 还必须包含偏移量。
|
end |
object (DateTime )
时间段的结束时间。 偏移量不是必需属性。如果提供了偏移量并设置了 start 时间,则 start 还必须包含偏移量。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The JSON representation defines a time interval with `start` and `end` time objects, both referencing a `DateTime` schema. The `kind` field, a string, is deprecated. If an offset is provided for the `start` time, an offset must also be included in the `end` time, and vice-versa. Both the `start` and `end` fields are optional for offset inclusion.\n"],null,[]]