Searched refs:date (Results 1 - 25 of 399) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-91.js28 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 Dregress-399.js30 var date = new Date(1.009804e12);
31 var year = Number(String(date).match(/.*(200\d)/)[1]);
32 assertEquals(year, date.getFullYear());
H A Dregress-396.js30 function DateYear(date) {
31 var string = date.getYear() + '';
/external/webkit/LayoutTests/http/tests/cookies/script-tests/
H A Dsimple-cookies-expired.js8 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 DSIPDateHeader.java50 /** 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 Dfile-last-modified.php5 echo date("U", filemtime($filePath));
H A Dlast-modified.php2 $date = $_GET['date']; variable
3 header("Last-Modified: $date");
/external/webkit/Source/WebCore/html/
H A DMonthInputType.cpp61 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 DDateInputType.cpp53 return InputTypeNames::date();
88 bool DateInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
90 ASSERT(date);
91 return date->setMillisecondsSinceEpochForDate(value);
H A DTimeInputType.cpp67 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 DDateTimeInputType.cpp94 bool DateTimeInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
96 ASSERT(date);
97 return date->setMillisecondsSinceEpochForDateTime(value);
H A DWeekInputType.cpp94 bool WeekInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
96 ASSERT(date);
97 return date->setMillisecondsSinceEpochForWeek(value);
/external/chromium/base/
H A Dtime_mac.cc64 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 DDateHelper.java28 * @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 Dfilter_make_empty6 # is copied to a file, together with date and process.
9 date >> garbage.filtered.out
/external/v8/src/
H A Ddate.js35 // 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 DSupport_SimpleDateFormat.java55 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 DDateHeader.java9 void setDate(Calendar date); argument
/external/webkit/Tools/QueueStatusServer/model/
H A Dsvnrevision.py35 date = db.DateTimeProperty(auto_now_add=True) variable in class:SVNRevision
/external/webkit/Tools/iExploder/iexploder-1.3.2/tools/
H A Dosx_last_crash.rb13 date=''
20 date = $1
40 puts File.basename(filename) + " - " + date
/external/webkit/Tools/iExploder/iexploder-1.7.2/tools/
H A Dosx_last_crash.rb28 date=''
35 date = $1
55 puts File.basename(filename) + " - " + date
/external/chromium/chrome/common/extensions/docs/examples/howto/contentscript_xhr/
H A Dcontentscript.js16 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 DDateParser.java41 * @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 DWebIDBKey.cpp58 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 Dgen-buildcfg.sh15 DATE=`/usr/bin/env date`

Completed in 2200 milliseconds

1234567891011>>