/frameworks/base/core/java/android/security/keymaster/ |
KeymasterDateArgument.java | 20 import java.util.Date; 26 public final Date date; field in class:KeymasterDateArgument 28 public KeymasterDateArgument(int tag, Date date) { 34 throw new IllegalArgumentException("Bad date tag " + tag); 36 this.date = date; 41 date = new Date(in.readLong()) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
TrackMetaData.java | 18 import java.util.Date; 26 private Date modificationTime = new Date(); 27 private Date creationTime = new Date(); 59 public Date getModificationTime() { 63 public void setModificationTime(Date modificationTime) { 67 public Date getCreationTime() { 71 public void setCreationTime(Date creationTime) {
|
/packages/apps/Camera2/src/com/android/camera/data/ |
NewestFirstComparator.java | 22 import java.util.Date; 29 private final Date mNow; 35 * creation dates using the supplied current date as a baseline. 37 * @param now present date to be used in comparisons to rule out dates in 40 public NewestFirstComparator(Date now) { 44 mNow = new Date(now.getTime() + MILLIS_IN_DAY); 52 // If creation date is in future, fall back to modified, b/19565464. 53 Date d1PrimaryDate = isFuture(d1Data.getCreationDate()) ? 55 Date d2PrimaryDate = isFuture(d2Data.getCreationDate()) ? 70 * Normal date comparison will sort these oldest first [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DateTest.java | 20 import java.sql.Date; 27 * JUnit Testcase for the java.sql.Date class 55 // Date strings 71 // Date string array for London (GMT) 75 // Date string array for New York - sometimes a day earlier than London 79 // Date string for Tokyo 96 * Helper method to create a long milliseconds time from a supplied date and 99 static private long getTime(int year, int month, int date, int hour, 101 aCal.set(year, month, date, hour, minute, second); 106 * Test of the Date(int, int, int) constructor - now deprecated but stil [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssItem.java | 19 import java.util.Date; 27 public Date lastUpdated;
|
/external/apache-http/src/org/apache/http/client/ |
CookieStore.java | 4 * $Date: 2007-12-15 06:45:48 -0800 (Sat, 15 Dec 2007) $ 33 import java.util.Date; 70 * the specified {@link java.util.Date date}. 74 boolean clearExpired(Date date);
|
/external/apache-http/src/org/apache/http/cookie/ |
SetCookie.java | 4 * $Date: 2008-01-31 11:26:47 -0800 (Thu, 31 Jan 2008) $ 34 import java.util.Date; 64 * Sets expiration date. 69 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 74 void setExpiryDate (Date expiryDate);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
DateFormatter.java | 11 import java.util.Date; 22 * Format the date, provided as a java Date object. 24 * @param date the date 27 String format(Date date); 30 * Format the date, provided as milliseconds. 32 * @param date the date in millisecond [all...] |
DurationFormatter.java | 11 import java.util.Date; 21 * Formats the duration between now and a target date. 25 * as the reference date, and the difference between now and 28 * @param targetDate the ending date 31 String formatDurationFromNowTo(Date targetDate); 37 * using the current system time as the reference date. 46 * Formats a duration expressed in milliseconds from a reference date. 48 * The reference date allows formatters to use actual durations of 53 * to a reference date (expressed as milliseconds in epoch). 56 * @param referenceDate the date from which to compute the duratio [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
DateFormatter.java | 10 import java.util.Date; 20 * Format the date, provided as a java Date object. 22 * @param date the date 25 String format(Date date); 28 * Format the date, provided as milliseconds. 30 * @param date the date in millisecond [all...] |
DurationFormatter.java | 10 import java.util.Date; 19 * Formats the duration between now and a target date. 23 * as the reference date, and the difference between now and 26 * @param targetDate the ending date 29 String formatDurationFromNowTo(Date targetDate); 35 * using the current system time as the reference date. 44 * Formats a duration expressed in milliseconds from a reference date. 46 * The reference date allows formatters to use actual durations of 51 * to a reference date (expressed as milliseconds in epoch). 54 * @param referenceDate the date from which to compute the duratio [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 9 import java.util.Date; 386 * boolean aMethod(Date deadline) { 422 boolean awaitUntil(Date deadline) throws InterruptedException;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleDateRule.java | 11 import java.util.Date; 24 * Construct a rule for a fixed date within a month 27 * @param dayOfMonth The date in that month (1-based). 50 * @param dayOfMonth A date within that month (1-based). 66 * that is on or after the given start date. 68 * @param start Only occurrances on or after this date are returned. 70 * @return The date on which this event occurs, or null if it 71 * does not occur on or after the start date. 76 public Date firstAfter(Date start [all...] |
TimeZoneRule.java | 11 import java.util.Date; 99 public abstract Date getFirstStart(int prevRawOffset, int prevDSTSavings); 112 public abstract Date getFinalStart(int prevRawOffset, int prevDSTSavings); 127 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); 143 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive);
|
Holiday.java | 11 import java.util.Date; 62 * Return the first occurrence of this holiday on or after the given date 64 * @param start Only holidays on or after this date are returned. 66 * @return The date on which this holiday occurs, or null if it 67 * does not occur on or after the start date. 72 public Date firstAfter(Date start) { 78 * the given start date and before the given end date. 80 * @param start Only occurrences on or after this date are returned [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
SimpleDateRule.java | 10 import java.util.Date; 23 * Construct a rule for a fixed date within a month 26 * @param dayOfMonth The date in that month (1-based). 50 * @param dayOfMonth A date within that month (1-based). 67 * that is on or after the given start date. 69 * @param start Only occurrances on or after this date are returned. 71 * @return The date on which this event occurs, or null if it 72 * does not occur on or after the start date. 78 public Date firstAfter(Date start [all...] |
Holiday.java | 10 import java.util.Date; 64 * Return the first occurrence of this holiday on or after the given date 66 * @param start Only holidays on or after this date are returned. 68 * @return The date on which this holiday occurs, or null if it 69 * does not occur on or after the start date. 75 public Date firstAfter(Date start) { 81 * the given start date and before the given end date. 83 * @param start Only occurrences on or after this date are returned [all...] |
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 20 import java.util.Date; 32 Date date1 = new Date(System.currentTimeMillis() - 1000); 33 Date date2 = new Date(System.currentTimeMillis());
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyGenParameterSpecTest.java | 29 import java.util.Date; 37 private static final Date DEFAULT_CERT_NOT_BEFORE = new Date(0L); // Jan 1 1970 38 private static final Date DEFAULT_CERT_NOT_AFTER = new Date(2461449600000L); // Jan 1 2048 74 Date certNotBeforeDate = new Date(System.currentTimeMillis()); 75 Date certNotAfterDate = new Date(System.currentTimeMillis() + 12345678); 76 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222) 144 Date date = new Date(System.currentTimeMillis() + 555555); local [all...] |
KeyInfoTest.java | 30 import java.util.Date; 38 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); 39 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); 40 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); 63 Date originalKeyValidityStartDate = (Date) info.getKeyValidityStart().clone(); 67 Date originalKeyValidityEndDateForOrigination [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
deterministic.js | 27 var orig_date = Date; 29 Date = function() { 30 if (this instanceof Date) { 47 return new Date().toString(); 49 Date.__proto__ = orig_date; 50 Date.prototype = orig_date.prototype; 51 Date.prototype.constructor = Date; 53 return new Date().getTime();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithNullValues.java | 19 import java.util.Date; 27 private Date date; field in class:JavaBeanWithNullValues 28 private java.sql.Date sqlDate; 75 public Date getDate() { 76 return date; 79 public void setDate(Date date) { 80 this.date = date; [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Timestamp.java | 32 import java.util.Date; 38 * It includes the timestamp's date and time as well as information about the 50 * The timestamp's date and time 54 private Date timestamp; 71 * @param timestamp is the timestamp's date and time. It must not be null. 75 public Timestamp(Date timestamp, CertPath signerCertPath) { 79 this.timestamp = new Date(timestamp.getTime()); // clone 84 * Returns the date and time when the timestamp was generated. 86 * @return The timestamp's date and time. 88 public Date getTimestamp() [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
Timestamp_ImplTest.java | 26 import java.util.Date; 39 private Date now = new Date();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
TimeTest.java | 20 import java.util.Date; 40 // verify that date before 2050 encoded as UTCTime 41 byte[] enc = Time.ASN1.encode(new Date(march2006)); 44 // verify that date after 2050 encoded as GeneralizedTime 45 enc = Time.ASN1.encode(new Date(march2332));
|