ui.DateSlider.setStart
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस विकल्प का इस्तेमाल करके, स्लाइडर के शुरू होने की तारीख सेट की जाती है.
यह स्लाइडर दिखाता है.
इस्तेमाल | रिटर्न |
---|
DateSlider.setStart(start) | ui.DateSlider |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.dateslider | ui.DateSlider | ui.DateSlider इंस्टेंस. |
start | Number|String | शुरू होने की तारीख. डिफ़ॉल्ट रूप से, यह एक हफ़्ते पहले की तारीख पर सेट होता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003esetStart()\u003c/code\u003e sets the start date for the DateSlider object, accepting a Number or String representation of the date.\u003c/p\u003e\n"],["\u003cp\u003eThe method defaults the start date to one week ago if no \u003ccode\u003estart\u003c/code\u003e argument is provided.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003esetStart()\u003c/code\u003e returns the \u003ccode\u003eui.DateSlider\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"]]],["The `DateSlider.setStart()` method sets the start date of a `ui.DateSlider` instance. It accepts a `start` argument, which can be a Number or String representing the desired start date. If no date is provided, it defaults to one week ago. This method returns the modified `ui.DateSlider` object itself, allowing for method chaining.\n"],null,["# ui.DateSlider.setStart\n\n\u003cbr /\u003e\n\nSets the start date of the slider.\n\n\u003cbr /\u003e\n\nReturns this slider.\n\n| Usage | Returns |\n|------------------------------|---------------|\n| DateSlider.setStart`(start)` | ui.DateSlider |\n\n| Argument | Type | Details |\n|-----------------------|----------------|-------------------------------------------|\n| this: `ui.dateslider` | ui.DateSlider | The ui.DateSlider instance. |\n| `start` | Number\\|String | The start date. Defaults to one week ago. |"]]