TimeInterval
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis JSON |
{
"kind": string,
"start": {
object (DateTime )
},
"end": {
object (DateTime )
}
} |
Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#timeInterval" .
|
start |
object (DateTime )
Czas rozpoczęcia interwału. Przesunięcie nie jest wymagane. Jeśli przesunięcie jest podane i czas end jest ustawiony, end musi również uwzględniać przesunięcie.
|
end |
object (DateTime )
Czas zakończenia interwału. Przesunięcie nie jest wymagane. Jeśli przesunięcie jest podane i czas start jest ustawiony, start musi również uwzględniać przesunięcie.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["JSON representation defines a time interval with a start and end time."],["The `kind` field is deprecated and was used to identify the resource type."],["`start` and `end` fields represent the start and end times of the interval, respectively, using the DateTime object."],["Offsets in `start` and `end` are optional but must be consistent if used in either field."]]],["The JSON representation defines a time interval with `start` and `end` time objects, both referencing a `DateTime` schema. The `kind` field, a string, is deprecated. If an offset is provided for the `start` time, an offset must also be included in the `end` time, and vice-versa. Both the `start` and `end` fields are optional for offset inclusion.\n"]]