/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
ExecDump.java | 17 import java.util.Date; 65 out.printf("Session \"%s\": %s - %s%n", info.getId(), new Date( 67 new Date(info.getDumpTimeStamp()));
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpDateTest.java | 22 import java.util.Date; 60 assertEquals("Thu, 01 Jan 1970 00:00:00 GMT", HttpDate.format(new Date(0))); 61 assertEquals("Fri, 06 Jun 2014 12:30:30 GMT", HttpDate.format(new Date(1402057830000L)));
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/ |
AgentPremain.java | 30 import java.util.Date; 117 System.err.println("Start at " + new Date()); 123 System.err.println("Stop at " + new Date() + ", execution time = " + timePassed + " ms");
|
/external/v8/test/intl/overrides/ |
caching.js | 32 var startTime = new Date(); 36 var endTime = new Date(); 40 startTime = new Date(); 44 endTime = new Date(); 49 startTime = new Date(); 53 endTime = new Date();
|
/libcore/ojluni/src/main/java/java/security/cert/ |
X509CRL.java | 37 import java.util.Date; 60 * entry may be removed when the certificate expiration date is reached. 298 * Gets the <code>thisUpdate</code> date from the CRL. 307 * @return the <code>thisUpdate</code> date from the CRL. 309 public abstract Date getThisUpdate(); 312 * Gets the <code>nextUpdate</code> date from the CRL. 314 * @return the <code>nextUpdate</code> date from the CRL, or null if 317 public abstract Date getNextUpdate();
|
CertPathHelperImpl.java | 63 protected void implSetDateAndTime(X509CRLSelector sel, Date date, long skew) { 64 sel.setDateAndTime(date, skew);
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapString.java | 26 import java.util.Date; 33 * Also, this class class may contain more arbitrary value like "BODY[HEADER.FIELDS ("DATE")]". 59 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 66 private Date mParsedDate; 121 * @return whether it can be parsed as a date using {@link #DATE_TIME_FORMAT}. 134 LogUtils.w(Logging.LOG_TAG, getString() + " can't be parsed as a date."); 140 * @return value it can be parsed as a {@link Date}, or null otherwise. 142 public final Date getDateOrNull() {
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
ImapString.java | 25 import java.util.Date; 32 * Also, this class class may contain more arbitrary value like "BODY[HEADER.FIELDS ("DATE")]". 58 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 65 private Date mParsedDate; 127 * @return whether it can be parsed as a date using {@link #DATE_TIME_FORMAT}. 140 VvmLog.w("ImapString", getString() + " can't be parsed as a date."); 146 * @return value it can be parsed as a {@link Date}, or null otherwise. 148 public final Date getDateOrNull() {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
X509CertificateTest.java | 29 import java.util.Date; 165 Date date = new Date(); local 166 Date nb_date = tbt_cert.getNotBefore(); 167 Date na_date = tbt_cert.getNotAfter(); 171 date.compareTo(na_date) > 0); 173 date.compareTo(nb_date) < 0); 176 date.compareTo(na_date) > 0); 179 date.compareTo(nb_date) < 0) 192 Date[] date = new Date[4]; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 6 import java.util.Date; 29 * This has a constructor using java.util.Date for input which generates 64 * Creates a time object from a given date - if the date is between 1950 68 * @param time a date object representing the time of interest. 71 Date time) 95 * Creates a time object from a given date and locale - if the date is between 1950 100 * @param time a date object representing the time of interest. 104 Date time [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 6 import java.util.Date; 45 * Creates a time object from a given date - if the date is between 1950 49 * @param time a date object representing the time of interest. 52 Date time) 76 * Creates a time object from a given date and locale - if the date is between 1950 81 * @param time a date object representing the time of interest. 85 Date time, 141 public Date getDate( [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
AstroTest.java | 12 import java.util.Date; 138 Date then = cal.getTime(); 164 logln(" date: " + astro.getDate()); 171 logln(" sunrise: " + new Date(astro.getSunRiseSet(true))); 172 logln(" sunset: " + new Date(astro.getSunRiseSet(false))); 174 logln(" moonrise: " + new Date(astro.getMoonRiseSet(true))); 175 logln(" moonset: " + new Date(astro.getMoonRiseSet(false))); 176 logln(" prev summer solstice: " + new Date(astro.getSunTime(CalendarAstronomer.SUMMER_SOLSTICE, false))); 177 logln(" next summer solstice: " + new Date(astro.getSunTime(CalendarAstronomer.SUMMER_SOLSTICE, true))); 178 logln(" prev full moon: " + new Date(astro.getMoonTime(CalendarAstronomer.FULL_MOON, false))) [all...] |
PersianTest.java | 9 import java.util.Date; 91 Date date = grego.getTime(); local 92 cal.setTime(date); 100 buf.append(date + " -> "); 112 Date dexp = grego.getTime(); 120 Date date = cal.getTime(); local 123 buf.append(" -> " + date); 124 if (date.equals(dexp)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTest.java | 26 import java.util.Date; 56 Date today = cal.getTime(); 72 logln("today date: " + today); 74 errln("Error reparsing date: " + e.getMessage()); 98 Date dt = cal.getTime(); 178 Date start = cal.getTime(); 184 Date d1 = cal.getTime(); 187 Date d2 = cal.getTime(); 190 Date d3 = cal.getTime(); 193 Date d4 = cal.getTime() [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
AstroTest.java | 11 import java.util.Date; 134 Date then = cal.getTime(); 160 logln(" date: " + astro.getDate()); 167 logln(" sunrise: " + new Date(astro.getSunRiseSet(true))); 168 logln(" sunset: " + new Date(astro.getSunRiseSet(false))); 170 logln(" moonrise: " + new Date(astro.getMoonRiseSet(true))); 171 logln(" moonset: " + new Date(astro.getMoonRiseSet(false))); 172 logln(" prev summer solstice: " + new Date(astro.getSunTime(CalendarAstronomer.SUMMER_SOLSTICE, false))); 173 logln(" next summer solstice: " + new Date(astro.getSunTime(CalendarAstronomer.SUMMER_SOLSTICE, true))); 174 logln(" prev full moon: " + new Date(astro.getMoonTime(CalendarAstronomer.FULL_MOON, false))) [all...] |
PersianTest.java | 8 import java.util.Date; 87 Date date = grego.getTime(); local 88 cal.setTime(date); 96 buf.append(date + " -> "); 108 Date dexp = grego.getTime(); 116 Date date = cal.getTime(); local 119 buf.append(" -> " + date); 120 if (date.equals(dexp)) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTest.java | 25 import java.util.Date; 52 Date today = cal.getTime(); 68 logln("today date: " + today); 70 errln("Error reparsing date: " + e.getMessage()); 94 Date dt = cal.getTime(); 174 Date start = cal.getTime(); 180 Date d1 = cal.getTime(); 183 Date d2 = cal.getTime(); 186 Date d3 = cal.getTime(); 189 Date d4 = cal.getTime() [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithNullValuesTest.java | 19 import java.util.Date; 81 javaBeanWithNullValues.setDate(new Date(System.currentTimeMillis())); 86 javaBeanWithNullValues.setSqlDate(new java.sql.Date(System.currentTimeMillis())); 106 javaBeanWithNullValues.setDate(new Date(System.currentTimeMillis())); 111 javaBeanWithNullValues.setSqlDate(new java.sql.Date(System.currentTimeMillis())); 140 javaBeanWithNullValues.setDate(new Date(System.currentTimeMillis())); 145 javaBeanWithNullValues.setSqlDate(new java.sql.Date(System.currentTimeMillis())); 155 this.representers.put(java.sql.Date.class, new RepresentDate()); 175 return representScalar(new Tag(Tag.PREFIX + "java.sql.Date"), 176 ((java.sql.Date) data).toString()) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
TestBean1.java | 19 import java.util.Date; 41 private Date date; field in class:TestBean1 197 public Date getDate() { 198 return date; 201 public void setDate(Date date) { 202 this.date = date;
|
/external/v8/test/mjsunit/regress/ |
regress-builtinbust-7.js | 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0)); 21 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", options); }); 25 date.toLocaleDateString("de-DE", options_incomplete); 29 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", undefined); }); 30 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE"); }); 31 assertThrows(function() { date.toLocaleDateString("de-DE", null); }, TypeError);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
DocumentaryFilter.java | 28 import java.util.Date; 81 Date date = new Date(); local 82 mRandom = new Random(new Date().getTime());
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 27 import java.util.Date; 39 private Date now = new Date(); 77 Timestamp two1 = new Timestamp(new Date(9999), cpath);
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
X509Certificate.java | 44 import java.util.Date; 263 * the current date and time are within the validity period given in the 266 * The validity period consists of two date/time values: 288 * Checks that the specified date is within the certificate's 290 * certificate would be valid at the specified date/time. 292 * @param date the Date to check against to see if this certificate 293 * is valid at that date/time. 295 * with respect to the <code>date</code> supplied. 297 * yet valid with respect to the <code>date</code> supplied [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 26 import java.util.Date; 33 private final Date date; field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 82 public Date getDate() { 83 return date;
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 26 import java.util.Date; 33 private final Date date; field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 82 public Date getDate() { 83 return date;
|