ui.DateSlider.getValue
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca bieżącą wartość suwaka oraz tablicę z datami i godzinami rozpoczęcia i zakończenia w formacie sygnatury czasowej UTC.
Wykorzystanie | Zwroty |
---|
DateSlider.getValue() | List<Number> |
Argument | Typ | Szczegóły |
---|
to: ui.dateslider | ui.DateSlider | Instancja ui.DateSlider. |
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."],[[["\u003cp\u003eThe \u003ccode\u003eDateSlider.getValue()\u003c/code\u003e method returns the current value of the DateSlider.\u003c/p\u003e\n"],["\u003cp\u003eThe returned value is a list containing the start and end datetimes as epoch UTC timestamps.\u003c/p\u003e\n"],["\u003cp\u003eThis method is called on a \u003ccode\u003eui.DateSlider\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# ui.DateSlider.getValue\n\n\u003cbr /\u003e\n\nReturns the slider's current value, and array with the start and end datetimes as epoch UTC timestamps.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|----------------|\n| DateSlider.getValue`()` | List\\\u003cNumber\\\u003e |\n\n| Argument | Type | Details |\n|-----------------------|---------------|-----------------------------|\n| this: `ui.dateslider` | ui.DateSlider | The ui.DateSlider instance. |"]]