Lines Matching refs:date
5 …Date** objects in C/C++. These APIs are useful for working with time- and date-related logic in th…
11 …date and time in JS. With the **Date** object, you can create an object that represents a specific…
13 …can be closely integrated with the JS environment to perform more complex date- and time-related o…
21 | OH_JSVM_IsDate | Checks whether a JS object is a date.|
25 …ss](use-jsvm-process.md). The following demonstrates only the C++ code involved in date management.
39 …// Call OH_JSVM_CreateDate to convert the double value into a JS value indicating the date and tim…
55 char *date = ctime(reinterpret_cast<time_t *>(&time));
56 OH_LOG_INFO(LOG_APP, "JSVM CreateDate success:%{public}s", date);
91 // Convert the obtained Unix Time Stamp time into a date string for printing.
93 char *date = ctime(reinterpret_cast<time_t *>(&time));
94 OH_LOG_INFO(LOG_APP, "JSVM GetDateValue success:%{public}s", date);
116 Use **OH_JSVM_IsDate** to check whether a JS object is a date.