HomeSort by relevance Sort by last modified time
    Searched refs:date (Results 201 - 225 of 1211) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/v8/test/mjsunit/regress/
regress-399.js 30 var date = new Date(1.009804e12);
31 var year = Number(String(date).match(/.*(200\d)/)[1]);
32 assertEquals(year, date.getFullYear());
  /external/valgrind/main/nightly/bin/
nightly 12 # Returns the revision number for the source files at date $1 in Subversion
75 # Get times and date
76 START=`date "+%F %H:%M:%S %Z"`
82 # The time-and-date from 24 hours ago is tricky; Linux and Darwin have
87 svn_old_date=`date --date=yesterday $svn_date_format 2> /dev/null`
91 svn_old_date=`date -v-24H $svn_date_format 2> /dev/null`
94 echo "Sorry, can't work out the time and date for 24 hours ago, aborting"
98 # The time-and-date for now is easy.
99 svn_new_date=`date $svn_date_format
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
MonthAdapter.java 17 package com.android.datetimepicker.date;
27 import com.android.datetimepicker.date.MonthView.OnDayClickListener;
48 * A convenience class to represent a specific date.
75 public void set(CalendarDay date) {
76 year = date.year;
77 month = date.month;
78 day = date.day;
  /libcore/luni/src/main/java/java/sql/
Timestamp.java 22 import java.util.Date;
29 * addition to the regular date/time value which has millisecond resolution.
31 * The {@code Timestamp} class consists of a regular date/time value, where only
36 * makes it significantly different from the {@code java.util.Date} object which
38 * interchangable with {@code java.util.Date} objects when used outside the
41 * @see Date
43 * @see java.util.Date
45 public class Timestamp extends Date {
57 * supplied values for <i>Year</i>, <i>Month</i>, <i>Date</i>, <i>Hour</i>,
196 public int compareTo(Date theObject) throws ClassCastException
427 Date date; local
    [all...]
  /ndk/sources/host-tools/make-3.81/
vmsfunctions.c 168 /* Revision date */
170 /* Creation date */
173 /* Revision date */
175 /* Creation date */
244 static long int date[2]; local
249 date[0] = (tval & 0xff) << 24;
250 date[1] = ((tval >> 8) & 0xffffff);
252 if ((date[0] == 0) && (date[1] == 0))
255 sys$asctim (0, &date_str, date, 0)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CallLogInteraction.java 72 Long date = getDate(); local
73 return date == null ? -1 : date;
88 Long date = getDate(); local
89 return date == null ? null : ContactInteractionUtil.formatDateStringFromTimestamp(
90 date, context);
144 return mValues.getAsLong(Calls.DATE);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
LogUtils.java 390 * Try to make a date MIME(RFC 2822/5322)-compliant.
395 * We got a report saying eBay sends a date in this format
397 public static String cleanUpMimeDate(String date) {
398 if (TextUtils.isEmpty(date)) {
399 return date;
401 date = DATE_CLEANUP_PATTERN_WRONG_TIMEZONE.matcher(date).replaceFirst("$1");
402 return date;
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogFragmentTest.java 46 import java.util.Date;
469 * @param date In millisec since epoch. Use NOW to use the current time.
476 private void insertWithCachedValues(String number, long date, int duration, int type,
478 insert(number, Calls.PRESENTATION_ALLOWED, date, duration, type);
499 * @param date In millisec since epoch. Use NOW to use the current time.
503 private void insert(String number, int presentation, long date, int duration, int type) {
504 insertValues(getValuesToInsert(number, presentation, date, duration, type));
519 * @param date In millisec since epoch. Use NOW to use the current time.
524 long date, int duration, int type) {
529 values[CallLogQuery.DATE] = date == NOW ? new Date().getTime() : date
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
calendar.py 49 _months = [datetime.date(2001, i+1, 1).strftime for i in range(12)]
69 _days = [datetime.date(2001, 1, i+1).strftime for i in range(7)]
113 return datetime.date(year, month, day).weekday()
153 Return an iterator for one month. The iterator will yield datetime.date
157 date = datetime.date(year, month, 1)
159 days = (date.weekday() - self.firstweekday) % 7
160 date -= datetime.timedelta(days=days)
163 yield date
165 date += oneda
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
calendar.py 49 _months = [datetime.date(2001, i+1, 1).strftime for i in range(12)]
69 _days = [datetime.date(2001, 1, i+1).strftime for i in range(7)]
113 return datetime.date(year, month, day).weekday()
153 Return an iterator for one month. The iterator will yield datetime.date
157 date = datetime.date(year, month, 1)
159 days = (date.weekday() - self.firstweekday) % 7
160 date -= datetime.timedelta(days=days)
163 yield date
165 date += oneda
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/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/chromium_org/third_party/WebKit/PerformanceTests/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...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
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...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceProcessor.java 111 // last "until" date or "rdate".
621 * value. Returns an array of longs where each element is a date in UTC
632 * @return an array of dates, each date is in UTC milliseconds
645 // do so) because the "until" date string is specified in UTC and that
714 * strings containing the start date/times of the occurrences; the output
721 * @param dtstart the dtstart date as defined in RFC2445. This
724 * @param rangeStartDateValue the first date-time you care about, inclusive
725 * @param rangeEndDateValue the last date-time you care about, not inclusive (so
836 // Ensure that the "until" date string is specified in UTC.
838 // 15 is length of date-time without trailing Z e.g. "20090204T075959
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
dtfmttst.cpp 151 * Instantiate a date so we can display the time zone name.
493 tryPat994(f, "yy/MM/dd HH:mm:ss", "97/01/17 10:11:42", date(97, 1 - 1, 17, 10, 11, 42));
512 UDate date = format->parse(str, status); local
513 if (U_FAILURE(status) || date == null)
521 ((DateFormat*)format)->format(date, f);
522 logln(UnicodeString(" parse(") + str + ") -> " + dateToString(date));
525 !(date == expected)) errln((UnicodeString)"FAIL: Expected null");//" + expected);
590 testIt917(fmt, myDate, date(97, 2 - 1, 3));
594 testIt917(fmt, myDate, date(97, 3 - 1, 4));
642 UDate june = date(97, UCAL_JUNE, 15)
887 UDate date; local
998 UDate date; local
1141 DateFormat *date=0, *time=0, *full=0; local
1298 UDate date = -9896080848000.0; local
1707 UDate date = ref.parse(ctou(datestr), ec); local
1728 UDate date = ref.parse(ctou(datestr), ec); local
1746 UDate date = ref.parse(ctou(datestr), ec); local
1808 UDate date = ref.parse(ctou(datestr), ec); local
    [all...]
dtfmtrtts.cpp 98 UDate date[] = {-55018555891590.05, 0, 0}; local
101 fmt.format(date[0], result[0]);
102 date[1] = fmt.parse(result[0], status);
103 fmt.format(date[1], result[1]);
104 date[2] = fmt.parse(result[1], status);
106 /* This test case worked OK by accident before. date[1] != date[0],
108 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set
111 * America/Los_Angeles. When this is parsed, date[1] becomes a tim
    [all...]
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...]
  /external/icu/icu4c/source/test/intltest/
dtfmtrtts.cpp 96 UDate date[] = {-55018555891590.05, 0, 0}; local
99 fmt.format(date[0], result[0]);
100 date[1] = fmt.parse(result[0], status);
101 fmt.format(date[1], result[1]);
102 date[2] = fmt.parse(result[1], status);
104 /* This test case worked OK by accident before. date[1] != date[0],
106 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set
109 * America/Los_Angeles. When this is parsed, date[1] becomes a tim
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
TimeZoneTest.java 21 import java.util.Date;
44 stz.inDaylightTime(new Date());
64 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); local
65 assertEquals(-2119680000000L, date.getTime());
66 assertEquals(-28800000, tz.getOffset(date.getTime()));
67 assertFalse(tz.inDaylightTime(date));
68 assertEquals("Fri Oct 31 08:00:00 PST 1902", date.toString());
69 assertEquals("31 Oct 1902 16:00:00 GMT", date.toGMTString());
71 date = sdf.parse("1902-06-01T00:00:00.000+0800")
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 237 // Date.
428 final TextView date = (TextView) view.findViewById(R.id.date); local
429 dateX = getX(date);
430 dateXRight = dateX + date.getWidth();
431 dateY = getY(date);
432 datePaddingStart = ViewUtils.getPaddingStart(date);
433 dateFontSize = date.getTextSize();
434 dateYBaseline = dateY + getLatinTopAdjustment(date) + date.getBaseline()
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
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/chromium_org/v8/test/mjsunit/
to_number_order.js 61 var date = { valueOf: function() { x += 3; return 4; } };
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")
    [all...]
  /external/icu/icu4c/source/i18n/
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...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
GregorianCalendarTest.java 22 import java.util.Date;
118 Date date = new Date(); local
120 gcJapan.setTime(date);
122 gcJapan2.setTime(date);
124 gcItaly.setTime(date);
134 Date date = new Date(2008, 1, 1) local
169 Date date = new Date(2008, 1, 1); local
316 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local
432 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); local
724 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java 61 import java.util.Date;
229 public Date parse(String date) throws ParseException {
230 return super.get().parse(date);
235 * Generate a time in milliseconds from a date string that represents a date/time in GMT
236 * @param date string in format 20090211T180303Z (rfc2445, iCalendar).
239 public static long parseDateTimeToMillis(String date) throws ParseException {
240 return parseDateTimeToCalendar(date).getTimeInMillis();
250 * Generate a GregorianCalendar from a date string that represents a date/time in GM
    [all...]

Completed in 1090 milliseconds

1 2 3 4 5 6 7 891011>>