DateTimeRange
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
2 つの DateTime 間の時間の範囲。ポイントごとの日時の場合は、start == end を使用します。
google/type/interval.proto でも同様の目的を果たしますが、物理的な時間(常用時のみ)を前提としています。
| JSON 表現 |
{
"firstDate": {
object (DateTime)
},
"lastDate": {
object (DateTime)
}
} |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-23 UTC。
[null,null,["最終更新日 2024-08-23 UTC。"],[],["This describes a date range using `firstDate` and `lastDate` fields, both represented as DateTime objects. The `firstDate` signifies the start, and `lastDate` the end of the range. Pointwise times use identical start and end dates. The structure is also described as an JSON object with each field including a nested object of type DateTime. This differs from google/type/interval.proto by dealing with civil time instead of physical time.\n"]]