Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 14 of 14) sorted by relevance

/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
D15.9.4.3.js41 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/
DDatePrototype.cpp417 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 …]
DDateConversion.cpp77 UString formatTime(const GregorianDateTime &t, bool utc) in formatTime() argument
80 if (utc) { in formatTime()
/external/webkit/JavaScriptCore/wtf/
DCurrentTime.cpp183 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/
Dandroid_modem.c1301 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/
Dtzoffloc.cpp121 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()
Dutxttest.cpp442 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()
Dtzbdtest.cpp291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() local
292 Calendar* utccal = Calendar::createInstance(utc, status); in TestBoundaries()
Dcaltest.cpp754 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()
Dtzrulets.cpp1880 UDate utc = cal->getTime(status); in getUTCMillis() local
1887 return utc; in getUTCMillis()
/external/icu4c/test/cintltst/
Dccaltst.c1063 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()
Dutmstest.c443 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/
Dqemu-options.hx1425 "-localtime set the real time clock to local time [default=utc]\n")
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-1424080 GMT vs. local time function based on the utc flag.