HomeSort by relevance Sort by last modified time
    Searched refs:Date (Results 1 - 25 of 1428) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/144-static-field-sigquit/src/
ClassWithStaticField.java 17 import java.util.Date;
20 public static Date mDate = new Date();
SynchronizedUse.java 17 import java.util.Date;
22 Date dateField = ClassWithStaticField.mDate;
23 System.out.println("Got date field");
  /external/annotation-tools/annotation-file-utilities/tests/
BoundClassSimple.java 3 import java.util.Date;
5 public class BoundClassSimple<T extends Date> {
7 Date misleadingField = new Date();
Date.java 3 public class Date {
InnerClassSimple.java 3 import java.util.Date;
9 Date d;
ClassSimple.java 3 import java.util.Date;
BoundClassMultiple.java 4 import java.util.Date;
8 T extends Date,
  /external/icu/android_icu4j/src/main/java/android/icu/util/
DateRule.java 13 import java.util.Date;
19 * DateRule is an interface for calculating the date of an event.
32 * that is on or after the given start date.
34 * @param start Only occurrances on or after this date are returned.
36 * @return The date on which this event occurs, or null if it
37 * does not occur on or after the start date.
42 abstract public Date firstAfter(Date start);
46 * that is on or after the given start date and before the given
47 * end date
    [all...]
InitialTimeZoneRule.java 12 import java.util.Date;
54 public Date getFinalStart(int prevRawOffset, int prevDSTSavings) {
64 public Date getFirstStart(int prevRawOffset, int prevDSTSavings) {
74 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings,
85 public Date getPreviousStart(long base, int prevRawOffset,
RangeDateRule.java 14 import java.util.Date;
44 add(new Date(Long.MIN_VALUE), rule);
50 public void add(Date start, DateRule rule) {
61 public Date firstAfter(Date start) {
67 Date result = null;
86 public Date firstBetween(Date start, Date end) {
93 Date result = null
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DateRule.java 12 import java.util.Date;
18 * DateRule is an interface for calculating the date of an event.
31 * that is on or after the given start date.
33 * @param start Only occurrances on or after this date are returned.
35 * @return The date on which this event occurs, or null if it
36 * does not occur on or after the start date.
42 abstract public Date firstAfter(Date start);
46 * that is on or after the given start date and before the given
47 * end date
    [all...]
  /external/objenesis/main/src/test/java/org/objenesis/
EmptyClass.java 18 import java.util.Date;
25 public class EmptyClass extends Date {
  /libcore/ojluni/src/main/java/sun/util/calendar/
Gregorian.java 39 static class Date extends BaseCalendar.Date {
40 protected Date() {
44 protected Date(TimeZone zone) {
64 public Date getCalendarDate() {
68 public Date getCalendarDate(long millis) {
72 public Date getCalendarDate(long millis, CalendarDate date) {
73 return (Date) super.getCalendarDate(millis, date);
    [all...]
  /external/mockito/src/test/java/org/mockitousage/bugs/
ShouldMocksCompareToBeConsistentWithEqualsTest.java 11 import java.util.Date;
24 Date today = mock(Date.class);
25 Date tomorrow = mock(Date.class);
28 Set<Date> set = new TreeSet<Date>();
39 Date today = mock(Date.class);
42 Set<Date> set = new TreeSet<Date>()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DateTest.java 22 import java.util.Date;
30 * java.util.Date#Date()
33 // Test for method java.util.Date()
37 long now = new Date().getTime();
38 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
43 * java.util.Date#Date(int, int, int)
46 // Test for method java.util.Date(int, int, int)
47 Date d1 = new Date(70, 0, 1); // the epoch + local tim
54 Date date = new Date(99, 5, 22); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertStatus.java 3 import java.util.Date;
13 Date revocationDate = null;
18 public Date getRevocationDate()
26 public void setRevocationDate(Date revocationDate)
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DateHelper.java 18 import java.util.Date;
21 * Converts ISO Dates (seconds since 1/1/1904) to Date and vice versa.
25 * Converts a long value with seconds since 1/1/1904 to Date.
28 * @return date the corresponding <code>Date</code>
30 static public Date convert(long secondsSince) {
31 return new Date((secondsSince - 2082844800L) * 1000L);
36 * Converts a date as long to a mac date as long
38 * @param date date to conver
    [all...]
  /frameworks/base/keystore/java/android/security/keystore/
Utils.java 19 import java.util.Date;
29 static Date cloneIfNotNull(Date value) {
30 return (value != null) ? (Date) value.clone() : null;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERGeneralizedTime.java 3 import java.util.Date;
17 public DERGeneralizedTime(Date time)
DERUTCTime.java 3 import java.util.Date;
16 public DERUTCTime(Date time)
  /frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/
DateConverter.kt 21 import java.util.Date
25 fun toDate(timestamp: Long?): Date? {
26 return if (timestamp == null) null else Date(timestamp)
30 fun toTimestamp(date: Date?): Long? {
31 return date?.time
  /packages/apps/Settings/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProvider.java 19 import java.util.Date;
52 Date getLastSecurityLogRetrievalTime();
58 Date getLastBugReportRequestTime();
64 Date getLastNetworkLogRetrievalTime();
  /external/apache-http/src/org/apache/http/cookie/
Cookie.java 4 * $Date: 2007-09-22 03:56:04 -0700 (Sat, 22 Sep 2007) $
34 import java.util.Date;
81 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
86 * @return Expiration {@link Date}, or <tt>null</tt>.
88 Date getExpiryDate();
137 * @param date Current time
141 boolean isExpired(final Date date);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
FileSystemEntry.java 19 import java.util.Date;
25 * @version $Revision$ - $Date$
58 * Return the timestamp Date for the last modification of this file system entry
60 * @return the last modified timestamp Date for this file system entry
62 public Date getLastModified();
65 * Set the timestamp Date for the last modification of this file system entry
67 * @param lastModified - the lastModified value, as a Date
69 public void setLastModified(Date lastModified);
  /libcore/luni/src/test/java/tests/java/sql/
SqlDateTest.java 18 import java.sql.Date;
29 for (String date : dates) {
30 Date.valueOf(date);
43 for (String date : invalidDates) {
45 Date.valueOf(date);

Completed in 940 milliseconds

1 2 3 4 5 6 7 8 91011>>