/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
DateTest.java | 26 import java.util.Date; 31 @TestTargetClass(Date.class) 35 * @tests java.util.Date#Date() 40 method = "Date", 44 // Test for method java.util.Date() 48 long now = new Date().getTime(); 49 assertTrue("Created incorrect date: " + oldTime + " now: " + now, 54 * @tests java.util.Date#Date(int, int, int 71 Date date = new Date(99, 5, 22); local [all...] |
SimpleTimeZoneTest.java | 26 import java.util.Date; 469 * @tests java.util.SimpleTimeZone#inDaylightTime(java.util.Date) 475 args = {java.util.Date.class} 479 // java.util.SimpleTimeZone.inDaylightTime(java.util.Date) 494 Date date = new Date(gc.getTime().getTime() + 1000); local 496 .inDaylightTime(date)); 500 date = new Date(gc.getTime().getTime() - 1000) [all...] |
/external/bluetooth/glib/gobject/ |
gboxed.c | 180 const GDate *date = (const GDate*) boxed; local 182 return g_date_new_julian (g_date_get_julian (date));
|
/external/clearsilver/ports/rpm/ |
clearsilver.spec | 165 %{__prefix}/include/ClearSilver/cgi/date.h
|
/external/icu4c/extra/uconv/ |
makedata.mak | 82 @echo All targets are up to date (mode $(PKGMODE))
|
/external/icu4c/i18n/ |
fmtable.cpp | 11 * Date Name Description 103 // Creates a formattable object with a Date instance. 105 Formattable::Formattable(UDate date, ISDATE /*isDate*/) 109 fValue.fDate = date; 225 // Sets the Date value. 496 // Sets the value to a Date instance d. 664 // Date instance.
|
ucurr.cpp | [all...] |
timezone.cpp | 11 * Date Name Description 552 // function maps the Date and Time control panel setting to an 663 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 671 date += rawOffset; // now in local standard millis 674 // When local == TRUE, date might not be in local standard 678 // does not exist. When 'date' is in this time range 688 double day = uprv_floor(date / U_MILLIS_PER_DAY); 689 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); 703 date -= dstOffset; [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 99 private static class Date { 104 public Date(String year, int month, int day) { 140 Date d; Time t; 156 d = date(); 202 final public Date date() throws ParseException { method in class:DateTimeParser 207 {if (true) return new Date(y, m, d);}
|
/packages/apps/Email/tests/src/com/android/email/mail/internet/ |
MimeMessageTest.java | 32 import java.util.Date; 65 * Confirms that setSentDate() correctly set the "Date" header of a Mime message. 68 * MimeMessage depends on the date formatter, which may emit wrong date format 86 Date date = new Date(expectedTime); local 88 message.setSentDate(date); 89 String[] headers = message.getHeader("Date"); 95 Date result = format.parse(headers[0]) [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
ImapStoreUnitTests.java | 42 import java.util.Date; 261 * Confirms that ImapList object correctly returns an appropriate Date object 268 * date formats, which had caused a bug before. 284 String date = "01-Jan-2009 01:00:00 -0800"; local 286 list.add(date); 287 Date result = list.getKeyedDate(key);
|
/bionic/libc/kernel/arch-x86/asm/ |
processor_32.h | 238 unsigned int date; member in struct:microcode_header
|
/build/core/ |
cleanbuild.mk | 67 # The major clean version is out-of-date. Do a full clean, and 74 # that we need to execute to get up-to-date.
|
/cts/tools/dx-tests/etc/ |
starttests | 146 curdate=`date`
|
/cts/tools/vm-tests/etc/ |
starttests | 65 curdate=`date`
|
/external/srec/srec/cfront/ |
nisthdr.h | 145 void setRecordDate(char *date);
|
/external/v8/test/mjsunit/ |
date-parse.js | 35 var d = Date.parse(string); 43 var d = Date.parse("parse-local-time:" + string); 53 var d = Date.parse(string); 71 // Ignore prefix that is not part of a date. 252 // Test that we can parse our own date format. 256 var s = (new Date(ms)).toString(); 257 assertEquals(ms, Date.parse(s), "parse own: " + s); 267 assertTrue(isNaN(Date.parse(s)), s + " is not NaN.");
|
/external/webkit/WebKitTools/Scripts/ |
prepare-ChangeLog | 247 my $date = changeLogDate($changeLogTimeZone); 371 print CHANGE_LOG normalizeLineEndings("$date $name <$emailAddress>\n\n", $endl); 440 my $date = strftime("%Y-%m-%d", localtime()); 446 return $date; [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/asm/ |
processor_32.h | 238 unsigned int date; member in struct:microcode_header
|
/ndk/build/platforms/android-8/arch-x86/usr/include/asm/ |
processor_32.h | 238 unsigned int date; member in struct:microcode_header
|
/ndk/build/tools/ |
build-ndk-sysroot.sh | 297 DATE=`date +%Y%m%d` 298 PKGFILE=/tmp/android-ndk-sysroot-$DATE.tar.bz2
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarView.java | 604 // Set the base date to the beginning of the week if we are displaying 782 // When we change the base date, the number of all-day events may 804 * views. They differ in their base date. 1074 Time date = view.mBaseDate; local 2596 Time date = view.mBaseDate; local 2962 int date = mSelectionDay; local [all...] |
MonthView.java | 444 // Get the date for the beginning of the month 563 // Get the Julian day for the date at row 0, column 0. 844 private void drawEvents(int date, Canvas canvas, Rect rect, Paint p, boolean drawBg) { 870 if (!geometry.computeEventRect(date, left, top, BUSY_BITS_WIDTH, event)) { [all...] |
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 40 import java.util.Date; 155 // Test date only format 160 public void testParseEmailDateTimeToMillis(String date) { 161 // Format for email date strings is 2010-02-23T16:00:00.000Z 175 public void testParseDateTimeToMillis(String date) { 176 // Format for calendar date strings is 20100223T160000000Z 332 // These next two fields should have a date only 333 assertEquals("20100412", vevent.get("DTSTART;VALUE=DATE")); 334 assertEquals("20100412", vevent.get("DTEND;VALUE=DATE")); 394 // These next two fields should exist (without the VALUE=DATE suffix 731 Date date = new Date(entityValues.getAsLong(Events.DTSTART)); local [all...] |
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 55 import java.util.Date; 380 Date date1 = new Date(100); 381 Date date2 = new Date(200); 382 Date date3 = Calendar.getInstance().getTime(); 388 assertTrue("The returned date should be equal to specified", date1 391 assertTrue("The returned date should be equal to specified", date1 393 assertFalse("The returned date should differ", date2.equals(selector 396 assertTrue("The returned date should be equal to specified", date 2022 protected Date date = null; field in class:X509CertSelectorTest.TestCert [all...] |