/external/v8/test/mjsunit/regress/ |
H A D | regress-91.js | 28 var date = new Date(); 29 var year = date.getYear(); 30 date.setMilliseconds(Number.NaN); 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear()); 33 assertEquals(0, date.getMonth()); 34 assertEquals(1, date.getDate()); 35 assertEquals(0, date.getHours()); 36 assertEquals(0, date.getMinutes()); 37 assertEquals(0, date [all...] |
H A D | regress-399.js | 30 var date = new Date(1.009804e12); 31 var year = Number(String(date).match(/.*(200\d)/)[1]); 32 assertEquals(year, date.getFullYear());
|
H A D | regress-396.js | 30 function DateYear(date) { 31 var string = date.getYear() + '';
|
/external/webkit/LayoutTests/http/tests/cookies/script-tests/ |
H A D | simple-cookies-expired.js | 8 var date = new Date(); 9 date.setTime(date.getTime() + 60 * 1000); 10 cookiesShouldBe("test=foobar; Expires=" + date.toGMTString(), "test=foobar"); 14 date.setTime(date.getTime() - 2 * 60 * 1000); 15 cookiesShouldBe("test2=foobar; Expires=" + date.toGMTString(), "");
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | SIPDateHeader.java | 50 /** date field 52 protected SIPDate date; field in class:SIPDateHeader 64 return date.encode(); 68 * Set the date member 72 date = d; 77 * Sets date of DateHeader. The date is repesented by the Calendar object. 79 * @param dat the Calendar object date of this header. 83 date = new SIPDate(dat.getTime().getTime()); 87 * Gets the date o [all...] |
/external/webkit/LayoutTests/http/tests/resources/ |
H A D | file-last-modified.php | 5 echo date("U", filemtime($filePath));
|
H A D | last-modified.php | 2 $date = $_GET['date']; variable 3 header("Last-Modified: $date");
|
/external/webkit/Source/WebCore/html/ |
H A D | MonthInputType.cpp | 61 DateComponents date; local 62 if (!parseToDateComponents(element()->value(), &date)) 64 double msec = date.millisecondsSinceEpoch(); 71 DateComponents date; local 72 if (!date.setMillisecondsSinceEpochForMonth(value)) { 76 element()->setValue(date.toString()); 87 DateComponents date; local 88 date.setMillisecondsSinceEpochForMonth(current); 89 double months = date.monthsSinceEpoch(); 121 DateComponents date; local [all...] |
H A D | DateInputType.cpp | 53 return InputTypeNames::date(); 88 bool DateInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 90 ASSERT(date); 91 return date->setMillisecondsSinceEpochForDate(value);
|
H A D | TimeInputType.cpp | 67 DateComponents date; local 68 date.setMillisecondsSinceMidnight(current); 69 double milliseconds = date.millisecondsSinceEpoch(); 106 bool TimeInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 108 ASSERT(date); 109 return date->setMillisecondsSinceMidnight(value);
|
H A D | DateTimeInputType.cpp | 94 bool DateTimeInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 96 ASSERT(date); 97 return date->setMillisecondsSinceEpochForDateTime(value);
|
H A D | WeekInputType.cpp | 94 bool WeekInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 96 ASSERT(date); 97 return date->setMillisecondsSinceEpochForWeek(value);
|
/external/chromium/base/ |
H A D | time_mac.cc | 64 CFGregorianDate date; local 65 date.second = exploded.second + 67 date.minute = exploded.minute; 68 date.hour = exploded.hour; 69 date.day = exploded.day_of_month; 70 date.month = exploded.month; 71 date.year = exploded.year; 75 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) + 88 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); local 90 exploded->year = date [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
H A D | DateHelper.java | 28 * @return date the corresponding <code>Date</code> 36 * Converts a date as long to a mac date as long 38 * @param date date to convert 39 * @return date in mac format 41 static public long convert(Date date) { argument 42 return (date.getTime() / 1000L) + 2082844800L;
|
/external/valgrind/main/gdbserver_tests/ |
H A D | filter_make_empty | 6 # is copied to a file, together with date and process. 9 date >> garbage.filtered.out
|
/external/v8/src/ |
H A D | date.js | 35 // This file contains date support implemented in JavaScript. 90 // Compute number of days given a year, month, date. 91 // Note that month and date can lie outside the normal range. 96 function MakeDay(year, month, date) { 97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 102 date = TO_INTEGER_MAP_MINUS_ZERO(date); 110 return %DateMakeDay(year, month) + date - 1; 145 %SetCode($Date, function(year, month, date, hours, minutes, seconds, ms) { 189 date [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | Support_SimpleDateFormat.java | 55 Date date = cal.getTime(); 75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 76 t_FormatWithField(1, format, date, null, Field.YEAR, 15, 17); 77 t_FormatWithField(2, format, date, null, Field.MONTH, 26, 27); 78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 45, 47); 79 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 55, 57); 80 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 65, 67); 81 t_FormatWithField(6, format, date, null, Field.HOUR1, 75, 76); 82 t_FormatWithField(7, format, date, null, Field.MINUTE, 84, 86); 83 t_FormatWithField(8, format, date, nul [all...] |
/external/nist-sip/java/javax/sip/header/ |
H A D | DateHeader.java | 9 void setDate(Calendar date); argument
|
/external/webkit/Tools/QueueStatusServer/model/ |
H A D | svnrevision.py | 35 date = db.DateTimeProperty(auto_now_add=True) variable in class:SVNRevision
|
/external/webkit/Tools/iExploder/iexploder-1.3.2/tools/ |
H A D | osx_last_crash.rb | 13 date='' 20 date = $1 40 puts File.basename(filename) + " - " + date
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/tools/ |
H A D | osx_last_crash.rb | 28 date='' 35 date = $1 55 puts File.basename(filename) + " - " + date
|
/external/chromium/chrome/common/extensions/docs/examples/howto/contentscript_xhr/ |
H A D | contentscript.js | 16 for (var date in data.trends) { 17 if (data.trends.hasOwnProperty(date)) { 18 var trends = data.trends[date];
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | DateParser.java | 41 * @param date message to parse to set 43 public DateParser(String date) { argument 44 super(date); 64 Calendar cal = date();
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebIDBKey.cpp | 58 WebIDBKey WebIDBKey::createDate(double date) argument 61 key.assignDate(date); 106 void WebIDBKey::assignDate(double date) argument 108 m_private = IDBKey::createDate(date); 138 double WebIDBKey::date() const function in class:WebKit::WebIDBKey 140 return m_private->date();
|
/external/bluetooth/bluedroid/tools/ |
H A D | gen-buildcfg.sh | 15 DATE=`/usr/bin/env date`
|