/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
D | 15.9.4.3.js | 41 function utc( year, month, date, hours, minutes, seconds, ms ) { function 95 utc(1970,0,1,0,0,0,0) ); 99 utc(1969,11,31,23,59,59,999) ); 102 utc(1972,1,29,23,59,59,999) ); 105 utc(1972,2,1,23,59,59,999) ); 108 utc(1968,1,29,23,59,59,999) ); 111 utc(1968,2,1,23,59,59,999) ); 114 utc(1969,0,1,0,0,0,0) ); 117 utc(1970,0,1,0,0,0,0) ); 120 utc(1969,Number.NaN,31,23,59,59,999) ); [all …]
|
/external/webkit/JavaScriptCore/runtime/ |
D | DatePrototype.cpp | 417 const bool utc = false; in dateProtoFuncToString() local 425 thisDateObj->msToGregorianDateTime(milli, utc, t); in dateProtoFuncToString() 426 return jsNontrivialString(exec, formatDate(t) + " " + formatTime(t, utc)); in dateProtoFuncToString() 434 const bool utc = true; in dateProtoFuncToUTCString() local 442 thisDateObj->msToGregorianDateTime(milli, utc, t); in dateProtoFuncToUTCString() 443 return jsNontrivialString(exec, formatDateUTCVariant(t) + " " + formatTime(t, utc)); in dateProtoFuncToUTCString() 451 const bool utc = true; in dateProtoFuncToISOString() local 459 thisDateObj->msToGregorianDateTime(milli, utc, t); in dateProtoFuncToISOString() 473 const bool utc = false; in dateProtoFuncToDateString() local 481 thisDateObj->msToGregorianDateTime(milli, utc, t); in dateProtoFuncToDateString() [all …]
|
D | DateConversion.cpp | 77 UString formatTime(const GregorianDateTime &t, bool utc) in formatTime() argument 80 if (utc) { in formatTime()
|
/external/webkit/JavaScriptCore/wtf/ |
D | CurrentTime.cpp | 183 double utc = syncLowResUTCTime + highResElapsed; in currentTime() local 193 if (utc < lastUTCTime && (lastUTCTime - utc) < backwardTimeLimit) in currentTime() 195 lastUTCTime = utc; in currentTime() 196 return utc / 1000.0; in currentTime()
|
/external/qemu/telephony/ |
D | android_modem.c | 1301 struct tm utc, local; in handleEndOfInit() local 1308 utc = *gmtime( &now ); in handleEndOfInit() 1312 e_utc = utc.tm_min + 60*(utc.tm_hour + 24*utc.tm_yday); in handleEndOfInit() 1314 if ( utc.tm_year < local.tm_year ) in handleEndOfInit() 1316 else if ( utc.tm_year > local.tm_year ) in handleEndOfInit() 1349 … (utc.tm_year + 1900) % 100, utc.tm_mon + 1, utc.tm_mday, utc.tm_hour, utc.tm_min, utc.tm_sec, in handleEndOfInit()
|
/external/icu4c/test/intltest/ |
D | tzoffloc.cpp | 121 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestGetOffsetAroundTransition() local 122 Calendar* cal = Calendar::createInstance(*utc, status); in TestGetOffsetAroundTransition() 198 df.setTimeZone(*utc); in TestGetOffsetAroundTransition() 325 delete utc; in TestGetOffsetAroundTransition()
|
D | utxttest.cpp | 442 UChar32 utc; // code point from UText in TestCopyMove() local 446 utc = utext_next32(targetUT); in TestCopyMove() 447 if (utc < 0) { in TestCopyMove() 451 TEST_ASSERT(utc == usc); in TestCopyMove() 518 UChar32 utc; // code point from UText in TestReplace() local 523 utc = utext_next32(targetUT); in TestReplace() 524 if (utc < 0) { in TestReplace() 528 TEST_ASSERT(utc == usc); in TestReplace()
|
D | tzbdtest.cpp | 291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() local 292 Calendar* utccal = Calendar::createInstance(utc, status); in TestBoundaries()
|
D | caltest.cpp | 754 int32_t utc = ((cal->get(UCAL_HOUR_OF_DAY, status) * 60 + in test4064654() local 760 if (utc != expected) errln(UnicodeString("FAIL: Discrepancy of ") + (utc - expected) + in test4064654() 761 " millis = " + ((utc - expected) / 1000 / 60 / 60.0) + " hr"); in test4064654()
|
D | tzrulets.cpp | 1880 UDate utc = cal->getTime(status); in getUTCMillis() local 1887 return utc; in getUTCMillis()
|
/external/icu4c/test/cintltst/ |
D | ccaltst.c | 1063 int32_t offset,utc, expected; in testZones() local 1121 utc = ((ucal_get(cal, UCAL_HOUR_OF_DAY, &status) * 60 + in testZones() 1131 if (utc != expected) { in testZones() 1132 temp=(double)(utc - expected)/ 1000 / 60 / 60.0; in testZones() 1133 log_err("FAIL: Discrepancy of %d millis = %fhr\n", utc-expected, temp ); in testZones() 1292 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestGregorianChange() local 1300 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestGregorianChange() 1318 cal = ucal_open(utc, -1, "th@calendar=buddhist", UCAL_TRADITIONAL, &errorCode); in TestGregorianChange()
|
D | utmstest.c | 443 static const UChar utc[] = { 0x45, 0x74, 0x63, 0x2f, 0x47, 0x4d, 0x54, 0 }; /* "Etc/GMT" */ in TestDotNet() local 455 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode); in TestDotNet()
|
/external/qemu/ |
D | qemu-options.hx | 1425 "-localtime set the real time clock to local time [default=utc]\n")
|
/external/webkit/JavaScriptCore/ |
D | ChangeLog-2007-10-14 | 24080 GMT vs. local time function based on the utc flag.
|