ui.DateSlider.getValue
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה את הערך הנוכחי של פס ההזזה, ומערך עם תאריכי ההתחלה והסיום כשחותמות זמן של UTC מתקופת ה-Epoch.
שימוש | החזרות |
---|
DateSlider.getValue() | List<Number> |
ארגומנט | סוג | פרטים |
---|
זה: ui.dateslider | ui.DateSlider | מופע ui.DateSlider. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]