Home
last modified time | relevance | path

Searched refs:dateObj (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/tests/jerry/es2015/
Ddate-prototype-toprimitive.js16 var dateObj = new Date("1997-04-10"); variable
20 var result = dateObj[Symbol.toPrimitive]("default");
26 result = dateObj[Symbol.toPrimitive]("number");
32 result = dateObj[Symbol.toPrimitive]("string");
39 result = dateObj[Symbol.toPrimitive](90);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPIC.java49 Date dateObj = new Date(0); in TestNameHiding() local
61 str = dateFmt.format(dateObj); in TestNameHiding()
62 strBuffer = dateFmt.format(dateObj, strBuffer, fpos); in TestNameHiding()
73 str = sdf.format(dateObj); in TestNameHiding()
74 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDateFormatAPIC.java52 Date dateObj = new Date(0); in TestNameHiding() local
64 str = dateFmt.format(dateObj); in TestNameHiding()
65 strBuffer = dateFmt.format(dateObj, strBuffer, fpos); in TestNameHiding()
76 str = sdf.format(dateObj); in TestNameHiding()
77 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding()
/third_party/icu/icu4c/source/test/intltest/
Ddtfmapts.cpp286 Formattable dateObj(0, Formattable::kIsDate); in TestNameHiding() local
298 dateFmt->format(dateObj, str, status); in TestNameHiding()
299 dateFmt->format(dateObj, str, fpos, status); in TestNameHiding()
313 sdf.format(dateObj, str, status); in TestNameHiding()
314 sdf.format(dateObj, str, fpos, status); in TestNameHiding()
386 fmt.format(dateObj, str, status); in TestNameHiding()
387 fmt.format(dateObj, str, fpos, status); in TestNameHiding()