/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 8 import java.util.Date; 36 * rather than attempting to perform date arithmetic by manipulating 164 * The absolute date, in milliseconds since 1/1/1970 AD, Gregorian, 349 * Constructs a <code>HebrewCalendar</code> with the given date set 357 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 361 public HebrewCalendar(int year, int month, int date) { 365 this.set(DATE, date); [all...] |
BasicTimeZone.java | 10 import java.util.Date; 41 * @return A <code>Date</code> holding the first time zone transition time 56 * @return A <code>Date</code> holding the last time zone transition time 255 Date d = all[i].getNextStart(start, initial.getRawOffset(), 301 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), 336 Date firstStart = ar.getFirstStart(tzt.getFrom().getRawOffset(), 370 * this time zone object near the specified date. Some applications are not 376 * <code>DateTimeRule.DOW</code> for date and <code>DateTimeRule.WALL_TIME</code> 379 * specified date. Thus, the result may be only valid for dates around the 380 * specified date [all...] |
/external/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/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/base/core/java/android/widget/ |
CalendarViewLegacyDelegate.java | 249 * The start date of the range supported by this picker. 254 * The end date of the range supported by this picker. 277 throw new IllegalArgumentException("Max date cannot be before min date."); 327 // go to today or whichever is close to today min or max date 497 // make sure the current date is not earlier than 498 // the new min date since the latter is used for 501 Calendar date = mAdapter.mSelectedDate; local 502 if (date.before(mMinDate)) { 505 // reinitialize the adapter since its range depends on min date 532 Calendar date = mAdapter.mSelectedDate; local [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/ojluni/src/main/java/sun/security/provider/certpath/ |
BasicChecker.java | 30 import java.util.Date; 65 private final Date date; field in class:BasicChecker 81 BasicChecker(TrustAnchor anchor, Date date, String sigProvider, 90 this.date = date; 191 debug.println("---checking " + msg + ":" + date.toString() + "..."); 194 cert.checkValidity(date);
|
OCSP.java | 41 import java.util.Date; 144 * @param date the time the validity of the OCSP responder's certificate 156 Date date) 159 return check(cert, issuerCert, responderURI, responderCert, date, 168 Date date, List<Extension> extensions) 180 responderURI, issuerCert, responderCert, date, extensions); 191 * @param date the time the validity of the OCSP responder's certificate 201 X509Certificate responderCert, Date date [all...] |
PKIX.java | 83 private Date date; field in class:PKIX.ValidatorParams 149 Date date() { method in class:PKIX.ValidatorParams 151 date = params.getDate(); 152 if (date == null) 153 date = new Date(); 156 return date;
|
/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/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAppParams.java | 23 import java.util.Date; 844 Date date = new Date(mFilterPeriodBegin); local 854 Date date = format.parse(filterPeriodBegin); local 863 Date date = new Date(mFilterPeriodBegin); local 872 Date date = format.parse(filterPeriodBegin); local 884 Date date = new Date(mFilterPeriodEnd); local 894 Date date = format.parse(filterPeriodEnd); local 899 Date date = new Date(mFilterPeriodEnd); local 909 Date date = format.parse(filterPeriodEnd); local 1094 Date date = new Date(mLastActivity); local 1102 Date date = format.parse(lastActivity); local 1314 Date date = new Date(getMseTime()); local 1324 Date date = format.parse(mseTime); local [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
MapTestData.java | 4 import java.util.Date; 46 * except from taking a copy of the Date.UTC function as suggested. */ 48 static final long TEST_ACTIVITY_BEGIN = Date.UTC( 124 long date = TEST_ACTIVITY_BEGIN; local 125 Log.i(TAG, "Preparing messages... with data = " + date); 132 item.put("date", date+=TEST_ACTIVITY_INTERVAL); 144 item.put("date", date += TEST_ACTIVITY_INTERVAL); 156 item.put("date", date += TEST_ACTIVITY_INTERVAL) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteraction.java | 74 Long date = getDate(); local 75 return date == null ? -1 : date; 90 Long date = getDate(); local 91 return date == null ? null : ContactInteractionUtil.formatDateStringFromTimestamp( 92 date, context); 146 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/services/Telephony/src/com/android/phone/common/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;
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 61 * the Gregorian date when the Gregorian calendar was instituted 63 * date may be changed by the caller by calling {@link 64 * #setGregorianChange(Date) setGregorianChange()}. 82 * AD onward, when modern Julian calendar rules were adopted. Before this date, 269 * // and the current date and time 271 * Date trialTime = new Date(); 280 * System.out.println("DATE: " + calendar.get(Calendar.DATE)); 305 * System.out.println("DATE: " + calendar.get(Calendar.DATE)) 1688 BaseCalendar.Date date = gc.cdate; local 1757 date.getDayOfMonth(), date); local 3234 BaseCalendar.Date date = (BaseCalendar.Date) cdate.clone(); local [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/ |
test_bucket.py | 229 self.assertEqual(transition.date, None) 232 date = '2022-10-12T00:00:00.000Z' 237 lifecycle.add_rule("3", "3/", "Enabled", Expiration(date=date)) 241 Transition(date=date, storage_class=sc)) 255 self.assertEqual(rule.expiration.date, date) 262 self.assertEqual(rule.transition.date, date) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BasicTimeZone.java | 11 import java.util.Date; 42 * @return A <code>Date</code> holding the first time zone transition time 55 * @return A <code>Date</code> holding the last time zone transition time 244 Date d = all[i].getNextStart(start, initial.getRawOffset(), 290 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), 325 Date firstStart = ar.getFirstStart(tzt.getFrom().getRawOffset(), 359 * this time zone object near the specified date. Some applications are not 365 * <code>DateTimeRule.DOW</code> for date and <code>DateTimeRule.WALL_TIME</code> 368 * specified date. Thus, the result may be only valid for dates around the 369 * specified date [all...] |
ChineseCalendar.java | 12 import java.util.Date; 152 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone 154 * @param date The date to which the new calendar is set. 156 public ChineseCalendar(Date date) { 158 setTime(date); 162 * Constructs a <code>ChineseCalendar</code> with the given date set 170 * @param date The value used to set the calendar's {@link #DATE DATE} time field [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.c | 15 /* INDEPTH TEST FOR DATE FORMAT */ 64 log_data_err("FAIL: Error in creating a date format using udat_openPattern %s - (Are you missing data?)\n", 123 /* this is supposed to open default date format, but later on it treats it like it is "en_US" 161 UDate date; local 172 date = udat_parse(format, str, u_strlen(str), &pos, &status); 173 if(U_FAILURE(status) || date == null) { 179 f=myDateFormat(format, date); 181 if (expected == null || date != expected) 207 log_data_err("FAIL: Error in date format construction with pattern: %s - (Are you missing data?)\n", myErrorName(status)); 238 UChar *date; local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
Calendar.java | 9 import java.util.Date; 20 * a <code>Date</code> object and a set of integer fields such as 22 * and so on. (A <code>Date</code> object represents a specific instant in 24 * {@link Date} 25 * for information about the <code>Date</code> class.) 27 * <p>Subclasses of <code>Calendar</code> interpret a <code>Date</code> 36 * time fields have been initialized with the current date and time: 52 * needed to implement the date-time formatting for a particular language and 89 * <p> When computing a <code>Date</code> from time fields, two special 91 * <code>Date</code> (such as only year and month but no day in the month), o 1400 calendar.set(getJDKField(DATE), date); local 1419 calendar.set(getJDKField(DATE), date); local 1442 calendar.set(getJDKField(DATE), date); local [all...] |