/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.23-10.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 46 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 56 // this daylight savings case fails -- need to fix date test functions 61 // this daylight savings case fails -- need to fix date test functions 72 DateCase = new Date(); 74 DateCase = new Date( startTime ); 78 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" [all...] |
15.9.5.23-11.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 55 // this daylight savings case fails -- need to fix date test functions 60 // this daylight savings case fails -- need to fix date test functions 71 DateCase = new Date(); 73 DateCase = new Date( startTime ); 77 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" [all...] |
15.9.5.23-12.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 46 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 53 // this daylight savings case fails -- need to fix date test functions 58 // this daylight savings case fails -- need to fix date test functions 69 DateCase = new Date(); 71 DateCase = new Date( startTime ); 75 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" [all...] |
15.9.5.23-13.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 43 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 55 // this daylight savings case fails -- need to fix date test functions 66 DateCase = new Date(); 68 DateCase = new Date( startTime ); 72 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 84 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ) [all...] |
15.9.5.23-14.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 43 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 53 // this daylight savings case fails -- need to fix date test functions 64 DateCase = new Date(); 66 DateCase = new Date( startTime ); 70 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 82 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ) [all...] |
15.9.5.23-15.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 60 DateCase = new Date(); 62 DateCase = new Date( startTime ); 66 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 78 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ); 87 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() ) [all...] |
15.9.5.23-16.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 59 DateCase = new Date(); 61 DateCase = new Date( startTime ); 65 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 77 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ); 86 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() ) [all...] |
15.9.5.23-17.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 58 DateCase = new Date(); 60 DateCase = new Date( startTime ); 64 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 76 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ); 85 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() ) [all...] |
15.9.5.23-18.js | 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time) 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 40 var TITLE = "Date.prototype.setTime()"; 42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 55 DateCase = new Date(); 57 DateCase = new Date( startTime ); 61 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ; 73 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ); 82 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() ) [all...] |
15.9.5.25-1.js | 24 ECMA Section: 15.9.5.25 Date.prototype.setUTCMilliseconds(ms) 33 Date: 12 november 1997 39 writeHeaderToLog( SECTION + " Date.prototype.setUTCMilliseconds(ms)"); 60 addNewTestCase( 0, 0, "TDATE = new Date(0);(TDATE).setUTCMilliseconds(0);TDATE", 64 "TDATE = new Date(28800000);(TDATE).setUTCMilliseconds(999);TDATE", 68 "TDATE = new Date(28800000);(TDATE).setUTCMilliseconds(-28800000);TDATE", 72 "TDATE = new Date(946684800000);(TDATE).setUTCMilliseconds(1234567);TDATE", 76 "TDATE = new Date(946684800000);(TDATE).setUTCMilliseconds(123456789);TDATE", 81 "TDATE = new Date(-2208988800000);(TDATE).setUTCMilliseconds(123456789);TDATE", 86 "TDATE = new Date(-2208988800000);(TDATE).setUTCMilliseconds(123456);TDATE" [all...] |
15.9.5.26-1.js | 23 ECMA Section: 15.9.5.26 Date.prototype.setSeconds(sec [,ms]) 40 Date: 12 november 1997 46 writeHeaderToLog( SECTION + " Date.prototype.setSeconds(sec [,ms] )"); 68 "TDATE = new Date(0);(TDATE).setSeconds(0,0);TDATE", 73 "TDATE = new Date(28800000);(TDATE).setSeconds(59,999);TDATE", 78 "TDATE = new Date(28800000);(TDATE).setSeconds(999,999);TDATE", 83 "TDATE = new Date(28800000);(TDATE).setSeconds(999);TDATE", 88 "TDATE = new Date(28800000);(TDATE).setSeconds(-28800);TDATE", 93 "TDATE = new Date(946684800000);(TDATE).setSeconds(1234567);TDATE", 98 "TDATE = new Date(-2208988800000);(TDATE).setSeconds(59,999);TDATE" [all...] |
15.9.5.27-1.js | 24 ECMA Section: 15.9.5.27 Date.prototype.setUTCSeconds(sec [,ms]) 40 Date: 12 november 1997 46 writeHeaderToLog( SECTION + " Date.prototype.setUTCSeconds(sec [,ms] )"); 66 addNewTestCase( 0, 0, 0, "TDATE = new Date(0);(TDATE).setUTCSeconds(0,0);TDATE", 71 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(59,999);TDATE", 76 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(999,999);TDATE", 81 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(999);TDATE", 86 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(-28800);TDATE", 91 "TDATE = new Date(946684800000);(TDATE).setUTCSeconds(1234567);TDATE", 96 "TDATE = new Date(-2208988800000);(TDATE).setUTCSeconds(59,999);TDATE" [all...] |
15.9.5.28-1.js | 24 ECMA Section: 15.9.5.28 Date.prototype.setMinutes(min [, sec [, ms ]] ) 42 Date: 12 november 1997 48 writeHeaderToLog( SECTION + " Date.prototype.setMinutes(sec [,ms] )"); 69 "TDATE = new Date(0);(TDATE).setMinutes(0);TDATE", 74 "TDATE = new Date(28800000);(TDATE).setMinutes(59,59);TDATE", 79 "TDATE = new Date(28800000);(TDATE).setMinutes(59,59,999);TDATE", 84 "TDATE = new Date(28800000);(TDATE).setMinutes(59);TDATE", 89 "TDATE = new Date(28800000);(TDATE).setMinutes(-480);TDATE", 94 "TDATE = new Date(946684800000);(TDATE).setMinutes(1234567);TDATE", 99 "TDATE = new Date(-2208988800000);(TDATE).setMinutes(59,59);TDATE" [all...] |
15.9.5.29-1.js | 24 ECMA Section: 15.9.5.29 Date.prototype.setUTCMinutes(min [, sec [, ms ]] ) 44 Date: 12 november 1997 50 writeHeaderToLog( SECTION + " Date.prototype.setUTCMinutes( min [, sec, ms] )"); 71 "TDATE = new Date(0);(TDATE).setUTCMinutes(0);TDATE", 76 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59,59);TDATE", 81 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59,59,999);TDATE", 86 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59);TDATE", 91 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(-480);TDATE", 96 "TDATE = new Date(946684800000);(TDATE).setUTCMinutes(1234567);TDATE", 101 "TDATE = new Date(-2208988800000);(TDATE).setUTCMinutes(59,999);TDATE" [all...] |
15.9.5.30-1.js | 24 ECMA Section: 15.9.5.30 Date.prototype.setHours(hour [, min [, sec [, ms ]]] ) 45 Date: 12 november 1997 51 writeHeaderToLog( SECTION + " Date.prototype.setHours( hour [, min, sec, ms] )"); 72 "TDATE = new Date(0);(TDATE).setHours(0);TDATE" ); 75 "TDATE = new Date(28800000);(TDATE).setHours(23,59,999);TDATE" ); 78 "TDATE = new Date(28800000);(TDATE).setHours(999,999);TDATE" ); 81 "TDATE = new Date(28800000);(TDATE).setHours(999);TDATE" ); 84 "TDATE = new Date(28800000);(TDATE).setHours(-8);TDATE" ); 87 "TDATE = new Date(946684800000);(TDATE).setHours(8760);TDATE" ); 90 "d = new Date( " + (TIME_2000-msPerDay) +"); d.setHours(23,59,59,999)" ) [all...] |
15.9.5.31-1.js | 24 ECMA Section: 15.9.5.31 Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] ) 41 Date: 12 november 1997 47 writeHeaderToLog( SECTION + " Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] )"); 68 "TDATE = new Date(0);(TDATE).setUTCHours(0);TDATE", 73 "TDATE = new Date(28800000);(TDATE).setUTCHours(23,59,999);TDATE", 78 "TDATE = new Date(28800000);(TDATE).setUTCHours(999,999);TDATE", 83 "TDATE = new Date(28800000);(TDATE).setUTCHours(999);TDATE", 88 "TDATE = new Date(28800000);(TDATE).setUTCHours(-8670);TDATE", 93 "TDATE = new Date(946684800000);(TDATE).setUTCHours(1234567);TDATE", 98 "TDATE = new Date(-2208988800000);(TDATE).setUTCHours(59,999);TDATE" [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 96 logln((UnicodeString)"today date: " + today); 98 logln("Error reparsing date: " + e.getMessage()); 130 UDate dt = date(97, UCAL_MAY, 3, 8, 55); 231 UDate start = date(1809-1900, UCAL_DECEMBER, 25); 237 date(1809-1900, UCAL_DECEMBER, 25), 238 date(1909-1900, UCAL_DECEMBER, 24), 239 date(1809-1900, UCAL_DECEMBER, 26), 240 date(1861-1900, UCAL_DECEMBER, 25), 251 "091225", new Date(1809-1900, Calendar.DECEMBER, 25), 252 "091224", new Date(1909-1900, Calendar.DECEMBER, 24) 1271 int32_t date; member in class:Test1684Data 1447 UDate date = cal->getTime(status); local [all...] |
caltztst.cpp | 11 * Date Name Description 136 // Tries to mimic the Java Date.toString() format. 178 // Utility methods to create a date. This is useful for converting Java constructs 179 // which create a Date object. 181 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:CalendarTimeZoneTest 186 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol 198 // Utility methods to create a date. The returned Date is UTC rather than local. 199 /*Date 205 Date dt = date(y, m, d, hr, min, sec) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.java | 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $ 34 import java.util.Date; 139 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt> 144 * @return Expiration {@link Date}, or <tt>null</tt>. 146 * @see #setExpiryDate(java.util.Date) 149 public Date getExpiryDate() { 154 * Sets expiration date. 159 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 164 public void setExpiryDate (Date expiryDate) { 291 * @param date Current tim [all...] |
/external/icu4c/samples/date/ |
date.c | 7 * File date.c 11 * Date Name Description 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); 49 /* The version of date */ 82 /* display date in gmt */ 86 /* display date in gmt */ 90 /* display date in long format */ 94 /* display date in medium format */ 98 /* display date in short format */ 119 /* done with options, display date */ 192 date(const UChar *tz, function [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_api.c | 228 pRights->DisplayConstraint.StartTime.date; 232 pRights->DisplayConstraint.EndTime.date; 236 pRights->DisplayConstraint.Interval.date; 244 pRights->PlayConstraint.StartTime.date; 248 pRights->PlayConstraint.EndTime.date; 252 pRights->PlayConstraint.Interval.date; 261 pRights->ExecuteConstraint.StartTime.date; 265 pRights->ExecuteConstraint.EndTime.date; 269 pRights->ExecuteConstraint.Interval.date; 278 pRights->PrintConstraint.StartTime.date; 390 int32_t year, mon, day, hour, min, sec, date, time; local [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
Util.java | 115 * Answers the millisecond value of the date and time parsed from the 116 * specified String. Many date/time formats are recognized 124 int year = -1, month = -1, date = -1; local 164 else if (date == -1) 165 date = digit; 170 } else if (year == -1 && month != -1 && date != -1) 191 if (year != -1 && month != -1 && date != -1) { 207 cal.set(Calendar.DATE, date);
|
/external/icu4c/i18n/unicode/ |
smpdtfmt.h | 9 * Date Name Description 47 * parsing (text -> millis), and normalization. Formats/Parses a date or time, 50 * Clients are encouraged to create a date-time formatter using DateFormat::getInstance(), 59 * Date/Time format syntax: 61 * The date/time format is specified by means of a string time pattern. In this 99 * ' escape for text (Delimiter) 'Date=' 156 * // Parse the previous string back into a Date. 168 * When parsing a date string using the abbreviated year pattern ("y" or "yy"), 248 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override 249 * as "thai". To specify that just the year portion of the date be formatted using Hebrew numbering [all...] |
/external/icu4c/samples/ |
readme.txt | 13 date - prints out the current date, localized. 15 datefmt - an exercise using the date formatting API
|
/dalvik/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 33 * default to the date the Gregorian calendar was instituted (October 15, 1582 34 * in some countries, later in others). The cutover date may be changed by the 54 * date, leap year rules were applied irregularly, and before 45 BC the Julian 125 * // and the current date and time 127 * Date trialTime = new Date(); 136 * System.out.println("DATE: " + calendar.get(Calendar.DATE)); 161 * System.out.println("DATE: " + calendar.get(Calendar.DATE)); 489 int date = dayOfYear - daysInYear(leapYear, month); local 1192 int date = dayOfYear - daysInYear(leapYear, month); local [all...] |