Date
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
生年月日などのように、カレンダーの日付全体を表します。時間帯とタイムゾーンは、他の場所で指定されているか、重要ではありません。日付は先発グレゴリオ暦に基づき、日付は、1 ~ 9999 の有効な暦日である必要があります。
JSON 表現 |
{
"year": integer,
"month": integer,
"day": integer
} |
フィールド |
year |
integer
日付の年。1 ~ 9999 の範囲で指定してください。
|
month |
integer
日付の月。1~12 である必要があります。
|
day |
integer
日。1 ~ 31 で、その年と月に対して有効である必要があります。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Date\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.\n\n| JSON representation |\n|---------------------------------------------------------------|\n| ``` { \"year\": integer, \"month\": integer, \"day\": integer } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------|\n| `year` | `integer` Year of date. Must be from 1 to 9999. |\n| `month` | `integer` Month of date. Must be from 1 to 12. |\n| `day` | `integer` Day of month. Must be from 1 to 31 and valid for the year and month. |"]]