/external/v8/test/webkit/ |
D | date-set-to-nan-expected.txt | 24 …Date setters handle invalid parameters correctly resulting in a NaN date and if a recovery from su… 29 PASS date.setTime(arg0) 30 PASS date.setTime() 31 PASS recover from NaN date using date.setTime() 32 PASS date.setTime passed all tests 33 PASS date.setMilliseconds(arg0) 34 PASS date.setMilliseconds() 35 PASS no recovering from NaN date using date.setMilliseconds(arg0) 36 PASS date.setMilliseconds passed all tests 37 PASS date.setUTCMilliseconds(arg0) [all …]
|
D | date-set-to-nan.js | 25 …Date setters handle invalid parameters correctly resulting in a NaN date and if a recovery from su… 38 "Date", 75 var date = new Date(); 76 var setValue = date["get" + functionNameRoot](); 77 date.setMilliseconds(Number.NaN); 84 var setResult = (1 == steps) ? date["set" + functionNameRoot](setValue) 85 : ((2 == steps) ? date["set" + functionNameRoot](setValue, 0) 86 : ((3 == steps) ? date["set" + functionNameRoot](setValue, 0, 0) 87 : date["set" + functionNameRoot](setValue, 0, 0, 0))); 89 testFailed("date(NaN).set" + functionNameRoot + "(" + setValue + params[steps - 1] [all …]
|
D | date-parse-comments-test-expected.txt | 24 test of JavaScript date parsing (comments in parentheses) 29 PASS Date.parse("Dec ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true 30 PASS Date.parse("DEC ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true 31 PASS Date.parse("dec ((27) 26 (24)) 25 1995 1:30 pm utc") == 819898200000 is true 32 PASS Date.parse("Dec 25 1995 1:30 PM UTC (") == 819898200000 is true 33 PASS Date.parse("DEC 25 1995 1:30 PM UTC (") == 819898200000 is true 34 PASS Date.parse("dec 25 1995 1:30 pm utc (") == 819898200000 is true 35 PASS Date.parse("Dec 25 1995 1:30 (PM)) UTC") is NaN 36 PASS Date.parse("DEC 25 1995 1:30 (PM)) UTC") is NaN 37 PASS Date.parse("dec 25 1995 1:30 (pm)) utc") is NaN [all …]
|
D | date-constructor.js | 25 'This test case tests the Date constructor. ' + 26 'In particular, it tests many cases of creating a Date from another Date ' + 27 'and creating a Date from an object that has both valueOf and toString functions.' 34 shouldBe('isNaN(new Date(""))', 'true'); 36 var timeZoneOffset = Date.parse("Dec 25 1995") - Date.parse("Dec 25 1995 GMT"); 38 shouldBe('new Date(1111).getTime()', '1111'); 39 shouldBe('new Date(object).getTime()', '1111'); 40 shouldBe('new Date(new Date(1111)).getTime()', '1111'); 41 shouldBe('new Date(new Date(1111).toString()).getTime()', '1000'); 43 shouldBe('new Date(1111, 1).getTime() - timeZoneOffset', '-27104803200000'); [all …]
|
D | date-constructor-expected.txt | 24 …s test case tests the Date constructor. In particular, it tests many cases of creating a Date from… 29 PASS isNaN(new Date("")) is true 30 PASS new Date(1111).getTime() is 1111 31 PASS new Date(object).getTime() is 1111 32 PASS new Date(new Date(1111)).getTime() is 1111 33 PASS new Date(new Date(1111).toString()).getTime() is 1000 34 PASS new Date(1111, 1).getTime() - timeZoneOffset is -27104803200000 35 PASS new Date(1111, 1, 1).getTime() - timeZoneOffset is -27104803200000 36 PASS new Date(1111, 1, 1, 1).getTime() - timeZoneOffset is -27104799600000 37 PASS new Date(1111, 1, 1, 1, 1).getTime() - timeZoneOffset is -27104799540000 [all …]
|
/external/v8/test/mjsunit/ |
D | date.js | 30 // Test date construction from other dates. 31 var date0 = new Date(1111); 32 var date1 = new Date(date0); 35 var date2 = new Date(date0.toString()); 39 var date0 = Date.parse("Dec 25 1995 1:30"); 40 var date1 = Date.parse("Dec 25, 1995 1:30"); 41 var date2 = Date.parse("Dec 25 1995, 1:30"); 42 var date3 = Date.parse("Dec 25, 1995, 1:30"); 49 var dMax = new Date(8.64e15); 55 var dOverflow = new Date(8.64e15+1); [all …]
|
D | to_number_order.js | 61 var date = { valueOf: function() { x += 3; return 4; } }; variable 68 new Date(year, month, date, hours, minutes, seconds, ms); 70 assertEquals("1234567", x, "Date"); 73 Date(year, month, date, hours, minutes, seconds, ms); 74 assertEquals("", x, "Date not constructor"); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 79 assertEquals("1234567", x, "Date.UTC"); 82 new Date().setSeconds(seconds, ms); 83 assertEquals("67", x, "Date.UTC"); 86 new Date().setSeconds(seconds, ms); [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | calendar.txt | 29 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw 30 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg 34 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw 35 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg 39 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw 40 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg 46 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw 47 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg 54 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch 55 "YEAR=1964,MONTH=8,DATE=4", // greg [all …]
|
D | format.txt | 22 Headers { "locale", "zone", "spec", "date", "str"} 25 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG' 26 // date: either 'MILLIS=####' where #### is millis, 29 …// or RELATIVE_ADD:DATE=1 which means that the field "DATE" will be added by +1 relative t… 36 "DATE=SHORT,TIME=SHORT", 37 "ERA=1,YEAR=2007,MONTH=AUGUST,DATE=8,HOUR_OF_DAY=18,MINUTE=54,SECOND=0", 43 "DATE=LONG", 44 "ERA=1,YEAR=98,MONTH=0,DATE=24", 51 "DATE=LONG", 52 "ERA=0,YEAR=2,MONTH=0,DATE=24", [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-3116.js | 6 var str = (new Date(2014, 0, 10)).toString(); 21 (new Date(2014, 2, 29, 22, 59)).toString()); 23 (new Date(2014, 2, 29, 22, 59)).toUTCString()); 25 (new Date(2014, 2, 29, 23, 0)).toString()); 27 (new Date(2014, 2, 29, 23, 0)).toUTCString()); 29 (new Date(2014, 2, 29, 23, 59)).toString()); 31 (new Date(2014, 2, 29, 23, 59)).toUTCString()); 33 (new Date(2014, 2, 30, 0, 0)).toString()); 35 (new Date(2014, 2, 30, 0, 0)).toUTCString()); 37 (new Date(2014, 2, 30, 0, 59)).toString()); [all …]
|
/external/libusb/ |
D | ChangeLog | 3 Date: Tue May 4 19:01:59 2010 -0300 9 Date: Thu Apr 22 18:12:51 2010 -0300 18 Date: Tue Apr 20 20:14:09 2010 -0300 24 Date: Tue Apr 20 19:43:06 2010 -0300 33 Date: Mon Apr 19 19:36:55 2010 -0300 39 Date: Mon Apr 19 19:31:12 2010 -0300 45 Date: Mon Apr 19 19:22:46 2010 -0300 54 Date: Mon Apr 5 17:11:32 2010 +0200 76 Date: Tue Mar 23 16:22:08 2010 -0600 82 Date: Mon Mar 8 10:50:51 2010 +0000 [all …]
|
/external/v8/test/webkit/fast/js/kde/ |
D | inbuilt_function_proto-expected.txt | 74 PASS Date.prototype.toString.__proto__ is Function.prototype 75 PASS Date.prototype.toUTCString.__proto__ is Function.prototype 76 PASS Date.prototype.toDateString.__proto__ is Function.prototype 77 PASS Date.prototype.toTimeString.__proto__ is Function.prototype 78 PASS Date.prototype.toLocaleString.__proto__ is Function.prototype 79 PASS Date.prototype.toLocaleDateString.__proto__ is Function.prototype 80 PASS Date.prototype.toLocaleTimeString.__proto__ is Function.prototype 81 PASS Date.prototype.valueOf.__proto__ is Function.prototype 82 PASS Date.prototype.getTime.__proto__ is Function.prototype 83 PASS Date.prototype.getFullYear.__proto__ is Function.prototype [all …]
|
D | inbuilt_function_proto.js | 70 shouldBe("Date.prototype.toString.__proto__","Function.prototype"); 71 shouldBe("Date.prototype.toUTCString.__proto__","Function.prototype"); 72 shouldBe("Date.prototype.toDateString.__proto__","Function.prototype"); 73 shouldBe("Date.prototype.toTimeString.__proto__","Function.prototype"); 74 shouldBe("Date.prototype.toLocaleString.__proto__","Function.prototype"); 75 shouldBe("Date.prototype.toLocaleDateString.__proto__","Function.prototype"); 76 shouldBe("Date.prototype.toLocaleTimeString.__proto__","Function.prototype"); 77 shouldBe("Date.prototype.valueOf.__proto__","Function.prototype"); 78 shouldBe("Date.prototype.getTime.__proto__","Function.prototype"); 79 shouldBe("Date.prototype.getFullYear.__proto__","Function.prototype"); [all …]
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | public_methods_embeddertest.cpp | 14 double RoundDownDate(double date) { in RoundDownDate() argument 15 return date - fmod(date, 86400000); in RoundDownDate() 30 double date; in TEST_F() local 34 date = CJS_PublicMethods::MakeRegularDate(L"06/25/1968", L"mm/dd/yyyy", in TEST_F() 36 date = RoundDownDate(date); in TEST_F() 37 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 42 date = CJS_PublicMethods::MakeRegularDate(L"25061968", L"ddmmyyyy", in TEST_F() 44 date = RoundDownDate(date); in TEST_F() 45 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 50 date = CJS_PublicMethods::MakeRegularDate(L"19680625", L"yyyymmdd", in TEST_F() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | DateTest.java | 20 import java.sql.Date; 27 * JUnit Testcase for the java.sql.Date class 55 // Date strings 71 // Date string array for London (GMT) 75 // Date string array for New York - sometimes a day earlier than London 79 // Date string for Tokyo 96 * Helper method to create a long milliseconds time from a supplied date and 99 static private long getTime(int year, int month, int date, int hour, in getTime() argument 101 aCal.set(year, month, date, hour, minute, second); in getTime() 106 * Test of the Date(int, int, int) constructor - now deprecated but still [all …]
|
/external/toybox/tests/ |
D | date.test | 7 # Test Unix date parsing. 8 testing "date -d @0" "TZ=UTC date -d @0 2>&1" "Thu Jan 1 00:00:00 GMT 1970\n" "" "" 9 testing "date -d @0x123" "TZ=UTC date -d @0x123 2>&1" "date: bad date '@0x123'\n" "" "" 11 # Test basic date parsing. 13 testing "date -d 06021234" "TZ=UTC date -d 06021234 2>&1" "Sun Jun 2 12:34:00 UTC 1900\n" "" "" 14 testing "date -d 060212341982" "TZ=UTC date -d 060212341982 2>&1" "Sun Jun 2 12:34:00 UTC 1982\n" … 15 testing "date -d 123" "TZ=UTC date -d 123 2>&1" "date: bad date '123'\n" "" "" 18 testing "date -d 1110143115.30" "TZ=UTC date -d 1110143115.30 2>&1" "Sun Nov 10 14:31:30 UTC 1915\n… 19 testing "date -d 111014312015.30" "TZ=UTC date -d 111014312015.30 2>&1" "Sun Nov 10 14:31:30 UTC 20… 22 testing "date Unix time missing @" "TZ=UTC date 1438053157 2>&1" \ [all …]
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 4 * $Date: 2008-07-16 04:25:47 -0700 (Wed, 16 Jul 2008) $ 38 import java.util.Date; 60 * Date format pattern used to parse HTTP date headers in RFC 1123 format. 65 * Date format pattern used to parse HTTP date headers in RFC 1036 format. 70 * Date format pattern used to parse HTTP date headers in ANSI C 81 private static final Date DEFAULT_TWO_DIGIT_YEAR_START; 94 * Parses a date value. The formats used for parsing the date value are retrieved from 97 * @param dateValue the date value to parse 99 * @return the parsed date 102 * supported date formats [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormat.java | 16 import java.util.Date; 36 …* DateFormat is an abstract class for date/time formatting subclasses which formats and parses dat… 37 …* language-independent manner. The date/time formatting subclass, such as SimpleDateFormat, allows… 38 …* (i.e., date -> text), parsing (text -> date), and normalization. The date is represented a… 44 …* methods for obtaining default date/time formatters based on the default for a given locale and a… 57 * To format a date for the current Locale, use one of the static factory methods: 74 * To format a date for a different Locale, specify it in the call to getDateInstance(). 86 …* There are many static factory methods available. Use getDateInstance to get the normal date form… 87 …nce to get the time format for that country. Use getDateTimeInstance to get a date and time format. 110 …* best match, which is defined in date time patterns, will be returned without honor the field pat… [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormat.java | 17 import java.util.Date; 37 …* DateFormat is an abstract class for date/time formatting subclasses which formats and parses dat… 38 …* language-independent manner. The date/time formatting subclass, such as SimpleDateFormat, allows… 39 …* (i.e., date -> text), parsing (text -> date), and normalization. The date is represented a… 45 …* methods for obtaining default date/time formatters based on the default for a given locale and a… 58 * To format a date for the current Locale, use one of the static factory methods: 75 * To format a date for a different Locale, specify it in the call to getDateInstance(). 87 …* There are many static factory methods available. Use getDateInstance to get the normal date form… 88 …nce to get the time format for that country. Use getDateTimeInstance to get a date and time format. 111 …* best match, which is defined in date time patterns, will be returned without honor the field pat… [all …]
|
/external/autotest/contrib/ |
D | db_cleanup.py | 19 # Format Appears as: [Date] [Time] - [Msg Level] - [Message] 26 WHERE %(table)s.%(time_column)s <= "%(date)s" 32 WHERE %(related_table)s.%(time_column)s <= "%(date)s" 42 WHERE %(related_table)s.%(time_column)s <= "%(date)s" 130 date, foreign_key=None, 149 @param related_table: Table with the date information we are selecting by. 153 @param date: End date of the information we are trying to delete. 154 @param time_column: Column that we want to use to compare the date to. 156 delete with the table with the date information. 161 to the table with the date information. [all …]
|
/external/testng/src/main/java/org/testng/ |
D | TimeBombSkipException.java | 9 import java.util.Date; 16 * You can customize this by using the specialized constructors. Suppported date 31 * The format used for date comparison is <tt>yyyy/MM/dd</tt> 35 public TimeBombSkipException(String msg, Date expirationDate) { in TimeBombSkipException() 47 public TimeBombSkipException(String msg, Date expirationDate, String format) { in TimeBombSkipException() 55 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt> 58 * @param date time limit after which the SKIP becomes a FAILURE 60 public TimeBombSkipException(String msg, String date) { in TimeBombSkipException() argument 62 initExpireDate(date); in TimeBombSkipException() 66 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt> [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | SimpleDateRule.java | 11 import java.util.Date; 24 * Construct a rule for a fixed date within a month 27 * @param dayOfMonth The date in that month (1-based). 50 * @param dayOfMonth A date within that month (1-based). 66 * that is on or after the given start date. 68 * @param start Only occurrances on or after this date are returned. 70 * @return The date on which this event occurs, or null if it 71 * does not occur on or after the start date. 76 public Date firstAfter(Date start) in firstAfter() 83 * that is on or after the given start date and before the given [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DateFormat.java | 13 import java.util.Date; 26 * <p>DateFormat is an abstract class for date/time formatting subclasses which 28 * The date/time formatting subclass, such as SimpleDateFormat, allows for 29 * formatting (i.e., date -> text), parsing (text -> date), and 30 * normalization. The date is represented as a <code>Date</code> object or 33 * <p>DateFormat provides many class methods for obtaining default date/time 43 * <p>To format a date for the current Locale, use one of the 67 * <p>Use getDateInstance to get the normal date format for that country. 70 * Use getDateTimeInstance to get a date and time format. You can pass in 99 * Date formats are not synchronized. It is recommended to create separate [all …]
|
/external/chromium-libpac/src/ |
D | proxy_resolver_script.h | 123 " var date = new Date();\n" \ 130 " wday = date.getUTCDay();\n" \ 132 " wday = date.getDay();\n" \ 147 " var date = new Date();\n" \ 161 " return ((isGMT ? date.getUTCMonth() : date.getMonth()) ==\n" \ 164 " return ((isGMT ? date.getUTCDate() : date.getDate()) == tmp);\n" \ 166 " return ((isGMT ? date.getUTCFullYear() : date.getFullYear()) ==\n" \ 170 " var year = date.getFullYear();\n" \ 172 " date1 = new Date(year, 0, 1, 0, 0, 0);\n" \ 173 " date2 = new Date(year, 11, 31, 23, 59, 59);\n" \ [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | SimpleDateRule.java | 10 import java.util.Date; 23 * Construct a rule for a fixed date within a month 26 * @param dayOfMonth The date in that month (1-based). 50 * @param dayOfMonth A date within that month (1-based). 67 * that is on or after the given start date. 69 * @param start Only occurrances on or after this date are returned. 71 * @return The date on which this event occurs, or null if it 72 * does not occur on or after the start date. 78 public Date firstAfter(Date start) in firstAfter() 85 * that is on or after the given start date and before the given [all …]
|