/external/v8/test/mjsunit/regress/ |
regress-396.js | 30 function DateYear(date) { 31 var string = date.getYear() + ''; 38 assertEquals('1995', DateYear(new Date('Dec 25, 1995'))); 39 assertEquals('2005', DateYear(new Date('Dec 25, 2005')));
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
ObjectViewer.java | 39 import java.util.Date; 142 Date date = new Date(info.getDateCreated() * 1000); local 143 view.setText(date.toString()); 145 date = new Date(info.getDateModified() * 1000); 146 view.setText(date.toString());
|
/libcore/luni/src/main/java/java/security/cert/ |
X509Certificate.java | 24 import java.util.Date; 103 * Checks whether the certificate is valid at the specified date. 105 * @param date 106 * the date to check the validity against. 113 public abstract void checkValidity(Date date) 254 * Returns the {@code notBefore} date from the validity period of the 259 public abstract Date getNotBefore(); 262 * Returns the {@code notAfter} date of the validity period of the 267 public abstract Date getNotAfter() [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
Duration.java | 25 import java.util.Date; 89 * @version $Revision: 759828 $, $Date: 2009-03-29 18:26:29 -0700 (Sun, 29 Mar 2009) $ 96 * <p>Return the name of the XML Schema date/time type that this instance 104 * Required fields for XML Schema 1.0 Date/Time Datatypes.<br/> 105 * <i>(timezone is optional for all date/time datatypes)</i> 154 * @throws IllegalStateException If the combination of set fields does not match one of the XML Schema date/time datatypes. 198 + " this Duration does not match one of the XML Schema date/time datatypes:" 344 * For example, for any <code>Date</code> value <code>x</code>,</p> 351 * Note that this method uses the {@link #addTo(Date)} method, 353 * very large values in its fields. See the {@link #addTo(Date)} [all...] |
/ndk/build/tools/ |
build-analyzer.sh | 33 RELEASE=`date +%Y%m%d`
|
/ndk/sources/host-tools/make-3.81/ |
ar.c | 77 long int datapos, long int size, long int date, int uid, int gid, int mode, char *name)); 126 long int size UNUSED, long int date, 129 return ar_name_equal (name, mem, truncated) ? date : 0; 216 long int size UNUSED, long int date UNUSED, int uid UNUSED,
|
/packages/apps/Camera2/ |
version.mk | 88 date_string := $(shell date +%m%d%y_%H%M%S)
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 38 import java.util.Date; 125 Date date = new Date(mCursor.getLong(mDateColumnId)); local 126 if (date.before(getStartOfToday())) { 127 return mDateFormat.format(date); 129 return mTimeFormat.format(date); 133 private Date getStartOfToday() {
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 36 import java.util.Date; 59 private Date thisUpdate = null; 60 private Date nextUpdate = null; 66 public TestCRL(Date thisUpdate, Date nextUpdate) { 74 public void setUpdateDates(Date thisUpdate, Date nextUpdate) { 142 public Date getThisUpdate() { 146 public Date getNextUpdate() { 394 * setDateAndTime(Date dateAndTime) method testing 533 Date date = new Date(200); local 562 Date date = new Date(200); local 589 Date date = new Date(200); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 414 Time date = new Time(); local 416 date.timezone = Time.TIMEZONE_UTC; 418 date.set(mStartMillis); 419 date.second--; 420 date.normalize(false); 424 date.switchTimezone(Time.TIMEZONE_UTC); 425 eventRecurrence.until = date.format2445();
|
/system/core/toolbox/ |
ls.c | 165 char date[32]; local 192 strftime(date, 32, "%Y-%m-%d %H:%M", localtime((const time_t*)&s->st_mtime)); 193 date[31] = 0; 204 date, name); 208 mode, user, group, s->st_size, date, name); 227 mode, user, group, date, name, linkto); 232 mode, user, group, date, name);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
simpletz.h | 11 * Date Name Description 275 * the exact starting date. Their exact meaning depend on their respective signs, 319 * the exact starting date. Their exact meaning depend on their respective signs, 361 * Sets the DST start rule to a fixed date within a month. 364 * @param dayOfMonth The date in that month (1-based). 374 * Sets the DST start rule to a fixed date within a month. 377 * @param dayOfMonth The date in that month (1-based). 390 * Sets the DST start rule to a weekday before or after a give date within 394 * @param dayOfMonth A date within that month (1-based). 408 * Sets the DST start rule to a weekday before or after a give date withi [all...] |
calendar.h | 11 * Date Name Description 75 * time fields have been initialized with the current date and time: 84 * needed to implement the date-time formatting for a particular language 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 146 * The date or time format strings are not part of the definition of a 154 * month up in the date <code>December 12, <b>1996</b></code> results in 158 * <code>Calendar</code> also provides a date arithmetic function for 160 * For example, subtracting 5 days from the date <code>September 12, 1996</code> 169 * Field IDs for date and time. Used to specify date/time fields. ERA is calenda [all...] |
/external/icu4c/i18n/unicode/ |
simpletz.h | 11 * Date Name Description 275 * the exact starting date. Their exact meaning depend on their respective signs, 319 * the exact starting date. Their exact meaning depend on their respective signs, 361 * Sets the DST start rule to a fixed date within a month. 364 * @param dayOfMonth The date in that month (1-based). 374 * Sets the DST start rule to a fixed date within a month. 377 * @param dayOfMonth The date in that month (1-based). 390 * Sets the DST start rule to a weekday before or after a give date within 394 * @param dayOfMonth A date within that month (1-based). 408 * Sets the DST start rule to a weekday before or after a give date withi [all...] |
calendar.h | 11 * Date Name Description 76 * time fields have been initialized with the current date and time: 85 * needed to implement the date-time formatting for a particular language 100 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 131 * many US locations observe daylight saving time. On the date switching to daylight 134 * the date. When the input wall time fall into this missing time slot, the ICU 139 * <p>On the date switching back to standard time, wall clock time is moved back one 142 * by default. For example, 1:30 AM on the date is resolved as 1:30 AM standard time. 168 * The date or time format strings are not part of the definition of a 176 * month up in the date <code>December 12, <b>1996</b></code> results i [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 17 package com.android.datetimepicker.date; 35 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener; 36 import com.android.datetimepicker.date.SimpleMonthAdapter.CalendarDay; 271 protected void setMonthDisplayed(CalendarDay date) { 272 mCurrentMonthDisplayed = date.month; 374 * Attempts to return the date that has accessibility focus. 376 * @return The date that has accessibility focus, or {@code null} if no date 399 * Attempts to restore accessibility focus to a given date. No-op if 402 * @param day The date that should receive accessibility focu [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
basictz.cpp | 130 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 148 avail = getNextTransition(date, FALSE, tr); 155 // within roughly 1 year from the specified date 159 && (date + MILLIS_PER_YEAR > nextTransitionTime)) { 201 // Make sure this rule can be applied to the specified date 202 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d); 203 if (!avail || d > date 215 avail = getPreviousTransition(date, TRUE, tr); 234 // Check if this rule start after the first rule after the specified date 235 avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE, d) [all...] |
rbtz.cpp | 229 // Check if one of final rules has earlier transition date 383 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 385 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 389 RuleBasedTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 391 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 399 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, 422 if (date < tstart) { 428 if (date > tend) { 430 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); 438 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx) [all...] |
/external/icu4c/i18n/ |
basictz.cpp | 130 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 148 avail = getNextTransition(date, FALSE, tr); 155 // within roughly 1 year from the specified date 159 && (date + MILLIS_PER_YEAR > nextTransitionTime)) { 201 // Make sure this rule can be applied to the specified date 202 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d); 203 if (!avail || d > date 215 avail = getPreviousTransition(date, TRUE, tr); 234 // Check if this rule start after the first rule after the specified date 235 avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE, d) [all...] |
rbtz.cpp | 249 // Check if one of final rules has earlier transition date 403 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 405 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 409 RuleBasedTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 411 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 419 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, 442 if (date < tstart) { 448 if (date > tend) { 450 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); 460 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewCoordinates.java | 228 // Date. 470 final TextView date = (TextView) view.findViewById(R.id.date); local 471 dateXEnd = getX(date) + date.getWidth(); 472 dateY = getY(date); 473 datePaddingLeft = date.getPaddingLeft(); 474 dateFontSize = date.getTextSize(); 475 dateYBaseline = dateY + getLatinTopAdjustment(date) + date.getBaseline() [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 42 // set date to March 32. 55 // reset date to March 32. 75 final int date = 10; local 77 time.set(date, month, year); 80 assertEquals(date, time.monthDay); 245 // Use normalize(true) with these tests to change the date by 1 day. 570 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); local 571 date.setTimeInMillis(time); 573 assertEquals(date.get(Calendar.YEAR), t.year); 574 assertEquals(date.get(Calendar.MONTH), t.month) 584 final int date = 12; local [all...] |
/external/chromium_org/chrome/browser/resources/translate_internals/ |
translate_internals.js | 223 span.textContent = formatDate(new Date(details['last_updated'])); 259 * Formats |date| as a Date object into a string. The format is like 262 * @param {Date} date Date to be formatted. 265 function formatDate(date) { 266 var year = date.getFullYear(); 267 var month = date.getMonth() + 1; 268 var day = date.getDate() [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
PlatformLocale.cpp | 66 DateTimeStringBuilder::DateTimeStringBuilder(Locale& localizer, const DateComponents& date) 68 , m_date(date) 219 // Converts a string like "Week $2, $1" to an LDML date format pattern like 390 String Locale::formatDateTime(const DateComponents& date, FormatType formatType) 392 if (date.type() == DateComponents::Invalid) 395 DateTimeStringBuilder builder(*this, date); 396 switch (date.type()) { 400 case DateComponents::Date:
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtifmtts.cpp | 224 dataerrln("ERROR: format non-date-interval object should set U_ILLEGAL_ARGUMENT_ERROR - exitting"); 235 dataerrln("ERROR: format date interval failed - exitting"); 247 dataerrln("ERROR: format date interval failed - exitting"); 293 // first item is date pattern 306 // test skeleton with both date and time 963 UDate date = ref.parse(ctou(datestr), ec); local 1072 UDate date = ref.parse(ctou(datestr), ec); local 1234 UDate date = ref.parse(ctou(datestr), ec); local [all...] |