Google Classroom ऐड-ऑन अब आम तौर पर डेवलपर के लिए उपलब्ध हैं! ज़्यादा जानकारी के लिए, कृपया
ऐड-ऑन दस्तावेज़ देखें.
TimeOfDay
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
दिन का समय दिखाता है. तारीख और टाइम ज़ोन की वैल्यू या तो काम की नहीं है या उसे कहीं और बताया गया है. कोई एपीआई, लीप सेकंड की अनुमति दे सकता है. मिलते-जुलते टाइप google.type.Date
और google.protobuf.Timestamp
हैं.
JSON के काेड में दिखाना |
{
"hours": integer,
"minutes": integer,
"seconds": integer,
"nanos": integer
} |
फ़ील्ड |
hours |
integer
24 घंटे के फ़ॉर्मैट में, दिन के घंटे. यह वैल्यू 0 से ज़्यादा या उसके बराबर होनी चाहिए. आम तौर पर, यह वैल्यू 23 से कम या उसके बराबर होनी चाहिए. कारोबार के बंद होने के समय जैसी स्थितियों के लिए, एपीआई "24:00:00" वैल्यू को अनुमति दे सकता है.
|
minutes |
integer
किसी घंटे के मिनट. यह वैल्यू 0 से ज़्यादा या उसके बराबर और 59 से कम या उसके बराबर होनी चाहिए.
|
seconds |
integer
मिनट के सेकंड. यह वैल्यू 0 से ज़्यादा या उसके बराबर होनी चाहिए. आम तौर पर, यह वैल्यू 59 से कम या उसके बराबर होनी चाहिए. अगर एपीआई में लीप-सेकंड की अनुमति है, तो वह 60 की वैल्यू को स्वीकार कर सकता है.
|
nanos |
integer
सेकंड के छोटे हिस्से, नैनोसेकंड में. यह वैल्यू 0 से ज़्यादा या उसके बराबर और 999,999,999 से कम होनी चाहिए.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# TimeOfDay\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are [google.type.Date](/workspace/classroom/reference/rest/v1/Date) and `google.protobuf.Timestamp`.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------|\n| ``` { \"hours\": integer, \"minutes\": integer, \"seconds\": integer, \"nanos\": integer } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `hours` | `integer` Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time. |\n| `minutes` | `integer` Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. |\n| `seconds` | `integer` Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. |\n| `nanos` | `integer` Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. |"]]