DateTimeInterval
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Rappresenta un intervallo tra due punti DateTime.
Il campo timeZone di startTime e endTime deve corrispondere.
Rappresentazione JSON |
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
Campi |
startTime |
object (DateTime )
Il punto dati iniziale dell'intervallo (incluso). Il fuso orario del punto finale deve corrispondere a quello del punto iniziale.
|
endTime |
object (DateTime )
Punto dati finale dell'intervallo (escluso). Il fuso orario del punto finale deve corrispondere a quello del punto iniziale.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eRepresents an interval between two DateTime points, requiring matching time zones for both start and end times.\u003c/p\u003e\n"],["\u003cp\u003eIncludes \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields, both utilizing the DateTime object for specifying the interval's boundaries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estartTime\u003c/code\u003e is inclusive, while the \u003ccode\u003eendTime\u003c/code\u003e is exclusive, indicating the range of the interval.\u003c/p\u003e\n"]]],["The core content describes a time interval defined by a start and end time. Both `startTime` and `endTime` are DateTime objects. The JSON representation shows these as the key fields. The time zone of the `endTime` must correspond to the timezone of the `startTime`. The interval's `startTime` is inclusive, and the `endTime` is exclusive.\n"],null,["# DateTimeInterval\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents an interval between two DateTime points.\n\nThe timeZone field of both startTime and endTime must match.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"startTime\": { object (/play/developer/reporting/reference/rest/Shared.Types/DateTime) }, \"endTime\": { object (/play/developer/reporting/reference/rest/Shared.Types/DateTime) } } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startTime` | `object (`[DateTime](/play/developer/reporting/reference/rest/Shared.Types/DateTime)`)` Starting datapoint of the interval (inclusive). The timezone of the end point must match the timezone of the start point. |\n| `endTime` | `object (`[DateTime](/play/developer/reporting/reference/rest/Shared.Types/DateTime)`)` Ending datapoint of the interval (exclusive). The timezone of the end point must match the timezone of the start point. |"]]