DateRange
Especificação de um único período. As duas datas são inclusivas.
Representação JSON |
{
"startDate": {
object (Date )
},
"endDate": {
object (Date )
}
} |
Campos |
startDate |
object (Date )
Data de início do período, inclusive. Precisa ser menor ou igual à data de término.
|
endDate |
object (Date )
Data de término do período, inclusive. Precisa ser maior ou igual à data de início.
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-10-14 UTC.
[null,null,["Última atualização 2024-10-14 UTC."],[[["Defines a single date range with inclusive start and end dates."],["The date range is represented using JSON, with `startDate` and `endDate` fields."],["Both `startDate` and `endDate` fields utilize the `Date` object for representation."],["`startDate` must be less than or equal to `endDate`, ensuring a valid date range."]]],["The JSON structure defines a date range using `startDate` and `endDate` objects. Both fields represent inclusive dates. The `startDate` must be less than or equal to the `endDate`, and the `endDate` must be greater than or equal to the `startDate`. Each date object in the JSON can be found in the associated Date documentation link provided in the description.\n"]]