/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/icu/android_icu4j/src/main/java/android/icu/util/ |
DateRule.java | 11 import java.util.Date; 17 * DateRule is an interface for calculating the date of an event. 30 * that is on or after the given start date. 32 * @param start Only occurrances on or after this date are returned. 34 * @return The date on which this event occurs, or null if it 35 * does not occur on or after the start date. 40 abstract public Date firstAfter(Date start); 44 * that is on or after the given start date and before the given 45 * end date [all...] |
InitialTimeZoneRule.java | 10 import java.util.Date; 50 public Date getFinalStart(int prevRawOffset, int prevDSTSavings) { 59 public Date getFirstStart(int prevRawOffset, int prevDSTSavings) { 68 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, 78 public Date getPreviousStart(long base, int prevRawOffset,
|
RangeDateRule.java | 12 import java.util.Date; 42 add(new Date(Long.MIN_VALUE), rule); 48 public void add(Date start, DateRule rule) { 59 public Date firstAfter(Date start) { 65 Date result = null; 84 public Date firstBetween(Date start, Date end) { 91 Date result = null [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DateRule.java | 10 import java.util.Date; 16 * DateRule is an interface for calculating the date of an event. 29 * that is on or after the given start date. 31 * @param start Only occurrances on or after this date are returned. 33 * @return The date on which this event occurs, or null if it 34 * does not occur on or after the start date. 40 abstract public Date firstAfter(Date start); 44 * that is on or after the given start date and before the given 45 * end date [all...] |
InitialTimeZoneRule.java | 9 import java.util.Date; 55 public Date getFinalStart(int prevRawOffset, int prevDSTSavings) { 66 public Date getFirstStart(int prevRawOffset, int prevDSTSavings) { 77 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, 89 public Date getPreviousStart(long base, int prevRawOffset,
|
RangeDateRule.java | 11 import java.util.Date; 43 add(new Date(Long.MIN_VALUE), rule); 50 public void add(Date start, DateRule rule) { 62 public Date firstAfter(Date start) { 68 Date result = null; 88 public Date firstBetween(Date start, Date end) { 95 Date result = null [all...] |
/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...] |
/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...] |
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) {
|
/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/v8/test/mjsunit/ |
date.js | 30 // Test date construction from other dates. 31 var date0 = new Date(1111); 32 var date1 = new Date(date0); 35 var date2 = new Date(date0.toString()); 39 var date0 = Date.parse("Dec 25 1995 1:30"); 40 var date1 = Date.parse("Dec 25, 1995 1:30"); 41 var date2 = Date.parse("Dec 25 1995, 1:30"); 42 var date3 = Date.parse("Dec 25, 1995, 1:30"); 49 var dMax = new Date(8.64e15); 55 var dOverflow = new Date(8.64e15+1) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-3116.js | 6 var str = (new Date(2014, 0, 10)).toString(); 21 (new Date(2014, 2, 29, 22, 59)).toString()); 23 (new Date(2014, 2, 29, 22, 59)).toUTCString()); 25 (new Date(2014, 2, 29, 23, 0)).toString()); 27 (new Date(2014, 2, 29, 23, 0)).toUTCString()); 29 (new Date(2014, 2, 29, 23, 59)).toString()); 31 (new Date(2014, 2, 29, 23, 59)).toUTCString()); 33 (new Date(2014, 2, 30, 0, 0)).toString()); 35 (new Date(2014, 2, 30, 0, 0)).toUTCString()); 37 (new Date(2014, 2, 30, 0, 59)).toString()) [all...] |
/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)
|
/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);
|
/external/v8/test/webkit/ |
date-constructor.js | 25 'This test case tests the Date constructor. ' + 26 'In particular, it tests many cases of creating a Date from another Date ' + 27 'and creating a Date from an object that has both valueOf and toString functions.' 34 shouldBe('isNaN(new Date(""))', 'true'); 36 var timeZoneOffset = Date.parse("Dec 25 1995") - Date.parse("Dec 25 1995 GMT"); 38 shouldBe('new Date(1111).getTime()', '1111'); 39 shouldBe('new Date(object).getTime()', '1111'); 40 shouldBe('new Date(new Date(1111)).getTime()', '1111') [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
PrivateKeyUsagePeriodTest.java | 24 import java.util.Date; 34 Date notBeforeDate = new Date(200000000); 35 Date notAfterDate = new Date(300000000);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue141/ |
ConfigurableTimezoneTest.java | 18 import java.util.Date; 30 String output = yaml.dump(new Date()); 38 Date date = new Date(); local 39 String output = yaml.dump(date); 42 Date parsed = (Date) yaml.load(output); 43 assertEquals(date, parsed);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithSqlTimestamp.java | 20 private java.sql.Date date; field in class:JavaBeanWithSqlTimestamp 30 public java.sql.Date getDate() { 31 return date; 34 public void setDate(java.sql.Date date) { 35 this.date = date;
|