Date
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentuje pełną datę kalendarzową, np. datę urodzenia. Godzina i strefa czasowa są określone w innym miejscu lub nie mają znaczenia. Data jest podana w proleptyczności kalendarza gregoriańskiego. Data musi być prawidłową datą kalendarzową z okresu od 1 do 9999 r.
Zapis JSON |
{
"year": integer,
"month": integer,
"day": integer
} |
Pola |
year |
integer
Rok. Wartość musi mieścić się w zakresie od 1 do 9999.
|
month |
integer
Miesiąc. Wartość musi mieścić się w przedziale od 1 do 12.
|
day |
integer
Dzień miesiąca. Wartość musi mieścić się w przedziale od 1 do 31 i być prawidłowa dla danego roku i miesiąca.
|
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."],[],[],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. |"]]