/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.24-3.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 79 var DateCase = new Date( startms ); 81 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.24-4.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 78 var DateCase = new Date( startms ); 80 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.24-5.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 71 var DateCase = new Date( startms ); 73 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.24-6.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 70 var DateCase = new Date( startms ); 72 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.24-7.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 69 var DateCase = new Date( startms ); 71 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.24-8.js | 24 ECMA Section: 15.9.5.24 Date.prototype.setTime(time) 26 1. If the this value is not a Date object, generate a runtime error. 32 Date: 12 november 1997 35 var TITLE = "Date.prototype.setTime" 40 writeHeaderToLog( SECTION + " Date.prototype.setMilliseconds(ms)"); 65 var DateCase = new Date( startms ); 67 var DateString = "var date = new Date("+ startms +"); date.setMilliseconds("+ newms +"); date"; [all...] |
15.9.5.32-1.js | 24 ECMA Section: 15.9.5.32 Date.prototype.setDate(date) 27 2. Call ToNumber(date). 34 Date: 12 november 1997 40 writeHeaderToLog( SECTION + " Date.prototype.setDate(date) "); 61 "TDATE = new Date(0);(TDATE).setDate(1);TDATE" ); 64 addNewTestCase( "TDATE = new Date(86400000);(TDATE).setDate(1);TDATE", 68 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1972);TDATE", 72 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1968);TDATE" [all...] |
15.9.5.33-1.js | 24 ECMA Section: 15.9.5.33 Date.prototype.setUTCDate(date) 27 2. Call ToNumber(date). 34 Date: 12 november 1997 40 writeHeaderToLog( SECTION + " Date.prototype.setUTCDate(date) "); 60 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCDate(31);TDATE", 64 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCDate(1);TDATE", 68 addNewTestCase( "TDATE = new Date(86400000);(TDATE).setUTCDate(1);TDATE", 72 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1972);TDATE" [all...] |
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 26 * Helper for parsing an HTTP date. 31 * Regular expression for parsing HTTP-date. 66 * The compiled version of the HTTP-date regular expressions. 88 int date = 1; local 95 date = getDate(rfcMatcher.group(1)); 103 date = getDate(ansicMatcher.group(2)); 115 date = 1; 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
|
/packages/apps/Email/src/com/android/email/ |
Utility.java | 50 import java.util.Date; 222 * Returns true if the specified date is within today. Returns false otherwise. 223 * @param date 226 public static boolean isDateToday(Date date) { 228 Date today = new Date(); 229 if (date.getYear() == today.getYear() && 230 date.getMonth() == today.getMonth() && 231 date.getDate() == today.getDate()) [all...] |
/external/icu4c/test/cintltst/ |
cdtdptst.c | 15 /* INDEPTH TEST FOR DATE FORMAT */ 62 log_err_status(status, "FAIL: Error in creating a date format using udat_openPattern %s\n", 121 /* this is supposed to open default date format, but later on it treats it like it is "en_US" 159 UDate date; local 170 date = udat_parse(format, str, u_strlen(str), &pos, &status); 171 if(U_FAILURE(status) || date == null) { 177 f=myDateFormat(format, date); 179 if (expected == null || date != expected) 205 log_err_status(status, "FAIL: Error in date format construction with pattern: %s\n", myErrorName(status)); 236 UChar *date; local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 58 /* Date value */ 121 xmlSchemaValDate date; member in union:_xmlSchemaVal::__anon3373 328 * TODO: Always keep those structs up-to-date with the originals. 469 xmlSchemaTypeDateDef = xmlSchemaInitBasicType("date", [all...] |
/system/core/toolbox/ |
ls.c | 139 char date[32]; local 161 strftime(date, 32, "%Y-%m-%d %H:%M", localtime((const time_t*)&s.st_mtime)); 162 date[31] = 0; 173 date, name); 177 mode, user, group, (int) s.st_size, date, name); 196 mode, user, group, date, name, linkto); 201 mode, user, group, date, name);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.4.js | 24 ECMA Section: 15.9.5.4 Date.prototype.toTimeString() 28 portion of the Date in the current time zone in a convenient, 33 Date: 14 november 2000 34 Revised: 07 january 2002 because of a change in JS Date format: 42 var TITLE = "Date.prototype.toTimeString()"; 73 status = "Date.prototype.toTimeString.length"; 74 actual = Date.prototype.toTimeString.length; 127 givenDate = new Date(date_given_in_milliseconds); 144 * Thus, use a regexp of the form /date.toDateString()(.*)$/ 147 function extractTimeString(date) [all...] |
15.9.5.7.js | 24 ECMA Section: 15.9.5.7 Date.prototype.toLocaleTimeString() 28 portion of the Date in the current time zone in a convenient, 37 Date: 14 november 2000 38 Revised: 07 january 2002 because of a change in JS Date format: 46 var TITLE = "Date.prototype.toLocaleTimeString()"; 76 status = "Date.prototype.toLocaleTimeString.length"; 77 actual = Date.prototype.toLocaleTimeString.length; 130 givenDate = new Date(date_given_in_milliseconds); 147 * So first, use a regexp of the form /date.toDateString()(.*)$/ 152 function extractLocaleTimeString(date) [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 26 import java.util.Date;
33 private final Date date;
field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
82 public Date getDate() {
83 return date;
|
/external/icu4c/test/intltest/ |
loctest.cpp | 1323 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2145 UDate date = uprv_getUTCtime(); local [all...] |
tzbdtest.cpp | 92 logln("Date Before: " + showDate(min)); 93 logln("Date After: " + showDate(max)); 159 return showDate(new Date(l)); 322 UDate d = date(97, UCAL_APRIL, 6); 339 findDaylightBoundaryUsingDate(date(97, 0, 1), "PST", PST_1997_BEG); 341 findDaylightBoundaryUsingDate(date(97, 6, 1), "PDT", PST_1997_END); 349 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), TRUE, 859653000000.0, z); 351 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), FALSE, 877797000000.0, z); 359 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), FALSE, PST_1997_BEG); 361 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), TRUE, PST_1997_END) [all...] |
/external/v8/src/ |
date.js | 35 // This file contains date support implemented in JavaScript. 41 const $Date = global.Date; 45 throw new $TypeError('this is not a Date object.'); 283 // Compute modified Julian day from year, month, date. 284 function ToJulianDay(year, month, date) { 288 return FLOOR(FLOOR(365.25*jy) + FLOOR(30.6001*jm) + date + 1720995) + 2 - ja + FLOOR(0.25*ja); 324 // Constructor for creating objects holding year, month, and date. 326 function DayTriplet(year, month, date) { 329 this.date = date [all...] |
/external/emma/lib/internal/ |
stamptool.jar | |
/external/icu4c/i18n/ |
cecal.h | 78 * (Overrides Calendar) Return true if the current date for this Calendar is in 82 * @return True if the current date for this Calendar is in Daylight Savings Time, 98 * return the date offset from Julian 113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date, 123 * @param date receives the day
|
olsontz.h | 181 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 187 virtual void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 216 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const; 288 void getHistoricalOffset(UDate date, UBool local,
|
/external/icu4c/i18n/unicode/ |
gregocal.h | 10 * Date Name Description 18 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 46 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 47 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 94 * // and the current date and time 103 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 125 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 231 * Constructs a GregorianCalendar with the given AD date set in the default time 237 * @param date The value used to set the DATE time field in the calendar [all...] |
/external/icu4c/samples/date/ |
Makefile.in | 1 ## Makefile.in for ICU - samples/date 15 subdir = samples/date 26 OBJECTS = uprint.o date.o
|
/external/iproute2/ |
Makefile | 73 echo "static const char SNAPSHOT[] = \""`date +%y%m%d`"\";" \
|