/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.22-7.js | 25 Description: Date.prototype.getTimezoneOffset 33 Date: 12 november 1997 39 var TITLE = "Date.prototype.getTimezoneOffset()"; 48 var now = (new Date()).valueOf(); 62 "(new Date(NaN)).getTimezoneOffset()", 64 (new Date(NaN)).getTimezoneOffset() ); 67 "Date.prototype.getTimezoneOffset.length", 69 Date.prototype.getTimezoneOffset.length ); 76 "(new Date("+t+")).getTimezoneOffset()", 78 (new Date(t)).getTimezoneOffset() ) [all...] |
15.9.5.22-8.js | 25 Description: Date.prototype.getTimezoneOffset 33 Date: 12 november 1997 39 var TITLE = "Date.prototype.getTimezoneOffset()"; 48 var now = (new Date()).valueOf(); 60 "(new Date(NaN)).getTimezoneOffset()", 62 (new Date(NaN)).getTimezoneOffset() ); 65 "Date.prototype.getTimezoneOffset.length", 67 Date.prototype.getTimezoneOffset.length ); 73 "(new Date("+t+")).getTimezoneOffset()", 75 (new Date(t)).getTimezoneOffset() ) [all...] |
15.9.3.2-4.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 26 object is set to the original Date prototype object, 27 the one that is the initial value of Date.prototype. 33 3. Call ToNumber(date) 50 Date object. 53 Date: 7 july 1997 68 var DATE = 11; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )" [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.36-5.js | 24 ECMA Section: 15.9.5.36 Date.prototype.setFullYear(year [, mon [, date ]] ) 28 value getMonth( ). If date is not specified, this behaves as if date were 36 4. If date is not specified, compute DateFromTime(t); otherwise, call 37 ToNumber(date). 44 Date: 12 november 1997 53 writeHeaderToLog( SECTION + " Date.prototype.setFullYear(year [, mon [, date ]] )"); 73 addNewTestCase( "TDATE = new Date(0);(TDATE).setFullYear(2000);TDATE" [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...] |
15.9.3.1-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 26 object is set to the original Date prototype object, 27 the one that is the initial value of Date.prototype. 33 3. Call ToNumber(date) 50 Date object. 53 Date: 7 july 1997 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 73 var DATE = 11 [all...] |
15.9.5.11-1.js | 25 Description: Date.prototype.getUTCDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDate()"; 47 var now = (new Date()).valueOf(); 60 "(new Date("+t+")).getUTCDate()", 62 (new Date(t)).getUTCDate() ); 65 "(new Date("+(t+1)+")).getUTCDate()", 67 (new Date(t+1)).getUTCDate() ); 70 "(new Date("+(t-1)+")).getUTCDate()", 72 (new Date(t-1)).getUTCDate() ) [all...] |
15.9.5.37-3.js | 24 ECMA Section: 15.9.5.37 Date.prototype.setUTCFullYear(year [, mon [, date ]] ) 28 value getUTCMonth( ). If date is not specified, this behaves as if date 35 4. If date is not specified, compute DateFromTime(t); otherwise, call 36 ToNumber(date). 43 Date: 12 november 1997 51 writeHeaderToLog( SECTION + " Date.prototype.setUTCFullYear(year [, mon [, date ]] )"); 79 addNewTestCase( "TDATE = new Date("+UTC_FEB_29_1972+"); " [all...] |
15.9.5.36-2.js | 24 ECMA Section: 15.9.5.36 Date.prototype.setFullYear(year [, mon [, date ]] ) 28 value getMonth( ). If date is not specified, this behaves as if date were 36 4. If date is not specified, compute DateFromTime(t); otherwise, call 37 ToNumber(date). 44 Date: 12 november 1997 53 writeHeaderToLog( SECTION + " Date.prototype.setFullYear(year [, mon [, date ]] )"); 74 addNewTestCase( "TDATE = new Date(0);(TDATE).setFullYear(1970);TDATE" [all...] |
15.9.3.2-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 26 object is set to the original Date prototype object, 27 the one that is the initial value of Date.prototype. 33 3. Call ToNumber(date) 50 Date object. 53 Date: 7 july 1997 68 var DATE = 11; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )" [all...] |
15.9.5.37-1.js | 24 ECMA Section: 15.9.5.37 Date.prototype.setUTCFullYear(year [, mon [, date ]] ) 28 value getUTCMonth( ). If date is not specified, this behaves as if date 35 4. If date is not specified, compute DateFromTime(t); otherwise, call 36 ToNumber(date). 43 Date: 12 november 1997 51 writeHeaderToLog( SECTION + " Date.prototype.setUTCFullYear(year [, mon [, date ]] )"); 74 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1970);TDATE" [all...] |
15.9.5.11-7.js | 25 Description: Date.prototype.getUTCDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDate()"; 59 "(new Date("+t+")).getUTCDate()", 61 (new Date(t)).getUTCDate() ); 64 "(new Date("+(t+1)+")).getUTCDate()", 66 (new Date(t+1)).getUTCDate() ); 69 "(new Date("+(t-1)+")).getUTCDate()", 71 (new Date(t-1)).getUTCDate() ); 74 "(new Date("+(t-TZ_ADJUST)+")).getUTCDate()" [all...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 33 import java.util.Date; 49 public Date parse(String source, ParsePosition pos) { 55 public StringBuffer format(Date date, StringBuffer toAppendTo, 105 * @tests java.text.DateFormat#format(java.util.Date) Test of method 106 * java.text.DateFormat#format(java.util.Date). 112 args = {java.util.Date.class} 118 Date current = new Date(); 121 assertTrue("Incorrect date format", sdf.format(current).equals(dtf)) 373 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( local 428 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( local 796 Date date = format.parse(format.format(current).toString()); local 829 Date date = format.parse(format.format(current).toString()); local 857 Date date = format.parse(format.format(current).toString()); local 871 Date date = format.parse(format.format(current).toString()); local 885 Date date = format.parse(format.format(current).toString()); local 904 Date date = format.parse(format.format(current).toString()); local 931 Date date = format.parse(format.format(current).toString()); local [all...] |
Support_SimpleDateFormat.java | 25 import java.util.Date; 55 Date date = cal.getTime(); local 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) 142 Date date = cal.getTime(); local [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
date.sgml | 2 Date and Time Functions 23 can keep both a Julian and day-month-year representation of the date, 33 #GDate is simple to use. First you need a "blank" date; you can get a 34 dynamically allocated date from g_date_new(), or you can declare an 36 calling g_date_clear(). A cleared date is sane; it's safe to call 38 value of a cleared date. However, a cleared date is initially 40 that exists. It is undefined to call any of the date calculation 41 routines on an invalid date. If you obtain a date from a user or othe [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 5 import java.util.Date; 39 * creates a time object from a given date - if the date is between 1950 44 Date date) 51 String d = dateF.format(date) + "Z"; 95 public Date getDate()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 5 import java.util.Date; 41 * creates a time object from a given date - if the date is between 1950 46 Date date) 53 String d = dateF.format(date) + "Z"; 97 public Date getDate()
|
/external/icu4c/i18n/unicode/ |
dtitvfmt.h | 18 * \brief C++ API: Format and parse date interval in a language-independent manner. 34 * DateIntervalFormat is a class for formatting and parsing date 36 * Date interval formatting is supported in Gregorian calendar only. 40 * Date interval means from one date to another date, 49 * For example, the date interval format from "Jan 11, 2008" to "Jan 18,. 2008" 55 * There is no structural information in date time patterns. 56 * For any punctuations and string literals inside a date time pattern, 62 * We introduce class DateIntervalInfo to save date interval [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
X509AttributeCertificate.java | 14 import java.util.Date; 38 * Return the date before which the certificate is not valid. 40 * @return the "not valid before" date. 42 public Date getNotBefore(); 45 * Return the date after which the certificate is not valid. 47 * @return the "not valid afer" date. 49 public Date getNotAfter(); 89 public void checkValidity(Date date)
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyUtils.java | 26 private static final java.util.Date DATE = new java.util.Date(); 37 DATE.setTime(time); 38 return DATE_FORMATTER.format(DATE);
|
/external/icu4c/samples/translit/answers/ |
main_1.cpp | 43 // Set the calendar to a date 47 // Format the date in default locale 51 printf("Date: "); 55 // Format the date for Greece 59 printf("Greek formatted date: ");
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_4/Regress/ |
date-001-n.js | 23 * File Name: date-001-n.js 29 * Date: 11 August 1998 31 var SECTION = "date-001-n.js"; 45 MyDate.prototype = new Date(); 50 "MyDate.prototype = new Date(); " +
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_SimpleDateFormat.java | 25 import java.util.Date; 52 Date date = cal.getTime(); local 72 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 73 t_FormatWithField(1, format, date, null, Field.YEAR, 6, 8); 74 t_FormatWithField(2, format, date, null, Field.MONTH, 17, 18); 75 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 36, 38); 76 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 46, 48); 77 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 56, 58); 78 t_FormatWithField(6, format, date, null, Field.HOUR1, 66, 67) 139 Date date = cal.getTime(); local [all...] |