Date
A date object. This is not a Datetime. It is just a date -- meaning that it refers to a non-relative date like a birthdate.
JSON representation |
{
"year": string,
"month": string,
"day": string
} |
Fields |
year |
string (Int64Value format)
REQUIRED: The year portion of the date.
|
month |
string (Int64Value format)
REQUIRED: The month portion of the date. January is 1, February is 2, and so on.
|
day |
string (Int64Value format)
REQUIRED: The day portion of the date. The first day of the month is 1.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["Represents a date object for non-relative dates like birthdates, not a Datetime object."],["Uses a JSON format with `year`, `month`, and `day` fields, all required and represented as strings in Int64Value format."],["Specifies the month as a number (January is 1, February is 2, etc.) and the day of the month starting with 1."]]],["The core content defines a date object, distinct from a datetime, representing a non-relative date. It is structured in JSON format with three required string fields: `year`, `month`, and `day`. `Year` denotes the year, `month` represents the month (1 for January, 2 for February, etc.), and `day` indicates the day of the month starting from 1. Each field must be in `Int64Value` format.\n"]]