/external/webkit/WebKit/mac/History/ |
WebHistory.mm | 154 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(interval, timeZone); 155 date.hour = 0; 156 date.minute = 0; 157 date.second = 0; 158 beginningOfDay = CFGregorianDateGetAbsoluteTime(date, timeZone); 159 date.day += 1; 160 beginningOfNextDay = CFGregorianDateGetAbsoluteTime(date, timeZone); 164 static inline NSTimeInterval beginningOfDay(NSTimeInterval date) 168 if (!(date >= cachedBeginningOfDay && date < cachedBeginningOfNextDay) [all...] |
/dalvik/libcore/security/src/main/java/java/security/cert/ |
PKIXParameters.java | 25 import java.util.Date; 52 private Date date; field in class:PKIXParameters 334 public Date getDate() { 335 return date == null ? null : (Date)date.clone(); 342 * @param date 346 public void setDate(Date date) { [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()
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
Date.java | 21 * A class which can consume and produce dates in SQL {@code Date} format. 23 * Dates are represented in SQL as {@code yyyy-mm-dd}. Note that this date 27 * This is unlike the familiar {@code java.util.Date} object, which also includes 32 * java.sql.Date} class are "normalized" to the time 00:00:00.000 GMT on the 33 * date implied by the time value. 35 public class Date extends java.util.Date { 40 * Constructs a {@code Date} object corresponding to the supplied year, 43 * @deprecated Use the constructor {@link #Date(long)}. 54 public Date(int theYear, int theMonth, int theDay) [all...] |
Time.java | 20 import java.util.Date; 26 public class Time extends Date { 33 * <i>Day</i> elements of the {@code Time} object are set to the date 70 * {@code Time} object does not have a {@code Date} component. 126 * {@code Time} object does not have a {@code Date} component. 202 private void format(int date, int digits, StringBuilder sb) { 203 String str = String.valueOf(date);
|
/external/clearsilver/cgi/ |
Android.mk | 8 date.c \
|
Makefile | 10 CGI_SRC = cgiwrap.c cgi.c html.c date.c rfc2388.c 45 $(INSTALL) -m 644 date.h $(DESTDIR)$(cs_includedir)/cgi
|
/external/icu4c/i18n/ |
cecal.cpp | 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 126 + date - 1 // number of days for present month (1 based)
|
indiancal.cpp | 136 * Returns the Julian Day corresponding to gregorian date 140 * @param date The date in Gregorian day in month 142 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { 152 date); 158 * Returns the Gregorian Date corresponding to a given Julian Day 196 static double IndianToJD(int32_t year, int32_t month, int32_t date) { 213 jd = start + (date - 1); 229 jd += date - 1; 294 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day [all...] |
/external/icu4c/i18n/unicode/ |
ucurr.h | 248 * given locale and date. 251 * @param date the date for which to retrieve the 255 * given locale and date. If 0, currency 262 UDate date, 266 * Finds a currency code for the given locale and date 270 * @param date the date for which to retrieve a currency code for 273 * for the given locale on the given date. 286 UDate date, [all...] |
/external/qemu/distrib/ |
make-distrib.sh | 16 DATE=$(date +%Y%m%d) 17 PACKAGE=android-emulator-$DATE
|
/external/v8/tools/visual_studio/ |
js2c.cmd | 6 %PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc CORE %SOURCE_DIR%\macros.py %SOURCE_DIR%\runtime.js %SOURCE_DIR%\v8natives.js %SOURCE_DIR%\array.js %SOURCE_DIR%\string.js %SOURCE_DIR%\uri.js %SOURCE_DIR%\math.js %SOURCE_DIR%\messages.js %SOURCE_DIR%\apinatives.js %SOURCE_DIR%\debug-delay.js %SOURCE_DIR%\mirror-delay.js %SOURCE_DIR%\date-delay.js %SOURCE_DIR%\regexp-delay.js %SOURCE_DIR%\json-delay.js
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
GregorianCalendarTest.java | 29 import java.util.Date; 159 Date date = new Date(); local 161 gcUS.setTime(date); 163 gcUS2.setTime(date); 165 gcFrance.setTime(date); 181 Date date = new Date(); local 220 Date date = new Date(); local 400 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local 541 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); local 870 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local [all...] |
/external/v8/test/mjsunit/regress/ |
regress-399.js | 30 var date = new Date(1.009804e12); 31 var year = String(date).match(/.*(200\d)/)[1]; 32 assertEquals(year, date.getFullYear());
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 8 Date.prototype.formatDate = function (input,time) { 10 // a PHP date like function, for formatting date strings 11 // See: http://www.php.net/date 17 // the current "this" date object's set time. 158 // RFC 822 formatted date 201 var ny = new Date("January 1 " + Y() + " 00:00:00"); 210 // of the previous year, as the date, and then just 212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00"); 238 var newDate = new Date("January 1 2001 00:00:00 +0000") [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 8 Date.prototype.formatDate = function (input,time) { 10 // a PHP date like function, for formatting date strings 11 // See: http://www.php.net/date 17 // the current "this" date object's set time. 158 // RFC 822 formatted date 201 var ny = new Date("January 1 " + Y() + " 00:00:00"); 210 // of the previous year, as the date, and then just 212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00"); 238 var newDate = new Date("January 1 2001 00:00:00 +0000") [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
RecurrenceProcessor.java | 96 // last "until" date or "rdate". 503 * value. Returns an array of longs where each element is a date in UTC 514 * @return an array of dates, each date is in UTC milliseconds 527 // do so) because the "until" date string is specified in UTC and that 596 * strings containing the start date/times of the occurrences; the output 603 * @param dtstart the dtstart date as defined in RFC2445. This 606 * @param rangeStartDateValue the first date-time you care about, inclusive 607 * @param rangeEndDateValue the last date-time you care about, not inclusive (so 715 // Ensure that the "until" date string is specified in UTC. 717 // 15 is length of date-time without trailing Z e.g. "20090204T075959 [all...] |
/dalvik/libcore/security/src/test/java/tests/api/javax/security/cert/ |
X509CertificateTest.java | 53 import java.util.Date; 303 Date date = new Date(); local 304 Date nb_date = tbt_cert.getNotBefore(); 305 Date na_date = tbt_cert.getNotAfter(); 308 assertFalse("CertificateExpiredException expected", date 310 assertFalse("CertificateNotYetValidException expected", date 314 date.compareTo(na_date) > 0); 317 date.compareTo(nb_date) < 0) 351 Date[] date = new Date[4]; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 319 Time date = new Time(); local 321 date.timezone = Time.TIMEZONE_UTC; 323 date.set(mStartMillis); 324 date.second--; 325 date.normalize(false); 329 date.switchTimezone(Time.TIMEZONE_UTC); 330 eventRecurrence.until = date.format2445();
|
/external/icu4c/test/intltest/ |
dtfmttst.cpp | 149 * Instantiate a date so we can display the time zone name. 463 tryPat994(f, "yy/MM/dd HH:mm:ss", "97/01/17 10:11:42", date(97, 1 - 1, 17, 10, 11, 42)); 482 UDate date = format->parse(str, status); local 483 if (U_FAILURE(status) || date == null) 491 ((DateFormat*)format)->format(date, f); 492 logln(UnicodeString(" parse(") + str + ") -> " + dateToString(date)); 495 !(date == expected)) errln((UnicodeString)"FAIL: Expected null");//" + expected); 552 testIt917(fmt, myDate, date(97, 2 - 1, 3)); 556 testIt917(fmt, myDate, date(97, 3 - 1, 4)); 604 UDate june = date(97, UCAL_JUNE, 15) 841 UDate date; local 952 UDate date; local 1092 DateFormat *date=0, *time=0, *full=0; local 1246 UDate date = -9896080848000.0; local 1649 UDate date = ref.parse(ctou(datestr), ec); local 1670 UDate date = ref.parse(ctou(datestr), ec); local 1688 UDate date = ref.parse(ctou(datestr), ec); local 1747 UDate date = ref.parse(ctou(datestr), ec); local [all...] |
dtfmtrtts.cpp | 93 UDate date[] = {-55018555891590.05, 0, 0}; 96 fmt.format(date[0], result[0]); 97 date[1] = fmt.parse(result[0], status); 98 fmt.format(date[1], result[1]); 99 date[2] = fmt.parse(result[1], status); 101 /* This test case worked OK by accident before. date[1] != date[0], 103 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set 106 * America/Los_Angeles. When this is parsed, date[1] becomes a tim [all...] |
/frameworks/base/core/java/android/provider/ |
Telephony.java | 92 * The date the message was sent 95 public static final String DATE = "date"; 198 public static final String DEFAULT_SORT_ORDER = "date DESC"; 208 * @param date the timestamp for the message 215 Long date, boolean read, boolean deliveryReport) { 217 date, read, deliveryReport, -1L); 228 * @param date the timestamp for the message 236 Long date, boolean read, boolean deliveryReport, long threadId) { 240 if (date != null) [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplayLog.java | 94 // get the date. 100 String date = String.format("%1$tF %1$tT", c); local 113 logValue(date, pidName, eventName, description.getName(), value, 116 logValue(date, pidName, eventName, description.getName(), e.getMessage(), 148 // get the date. 154 String date = String.format("%1$tF %1$tT", c); local 161 logDescriptor(event, descriptor, date, pidName, eventName, logParser); 164 // we display the event. Since the StringBuilder contains the header (date, event name, 181 * @param date 189 private void logValue(String date, String pid, String event, String valueName [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.23-1.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()"; 44 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)"); 57 // this daylight savings case fails -- need to fix date test functions 62 // this daylight savings case fails -- need to fix date test functions 73 DateCase = new Date(); 75 DateCase = new Date( startTime ); 79 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" [all...] |