/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 27 import java.util.Date; 39 * When parsing a date without a year, the system assumes 1970, which wasn't a leap-year. 44 // Variations of ISO 8601 date format. Do not change the order - it does affect the 65 * Parses the supplied string to see if it looks like a date. 67 * @param string The string representation of the provided date 68 * @param mustContainYear If true, the string is parsed as a date containing a year. If false, 69 * the string is parsed into a valid date even if the year field is missing. 70 * @return A Calendar object corresponding to the date if the string is successfully parsed. 75 Date date; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRLTest.java | 36 import java.util.Date; 106 public Date getThisUpdate() { 110 public Date getNextUpdate() {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
CertificateTest.java | 29 import java.util.Date; 127 Validity validity = new Validity(new Date(100000000), new Date(200000000));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TimeStampRespTest.java | 24 import java.util.Date; 63 Date genTime = new Date();
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
IsoDate.java | 27 public static final int DATE = 1; 36 public static String dateToString(Date date, int type) { 40 c.setTime(date); 44 if ((type & DATE) != 0) { 75 public static Date stringToDate(String text, int type) { 79 if ((type & DATE) != 0) { 102 c.setTime(new Date(0));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
QuicktimeTextTrackImpl.java | 33 import java.util.Date; 56 trackMetaData.setCreationTime(new Date()); 57 trackMetaData.setModificationTime(new Date());
|
TextTrackImpl.java | 29 import java.util.Date; 59 trackMetaData.setCreationTime(new Date()); 60 trackMetaData.setModificationTime(new Date());
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
SslContextBuilder.java | 32 import java.util.Date; 124 generator.setNotBefore(new Date(notBefore)); 125 generator.setNotAfter(new Date(notAfter));
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
SubscribeForm.java | 20 import java.util.Date;
122 * @return The expiry date
124 public Date getExpiry()
142 * @param expire The expiry date
144 public void setExpiry(Date expire)
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
DozeTestDream.java | 33 import java.util.Date; 64 private final Date mTime = new Date();
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMapMessage.java | 24 import java.util.Date; 39 private final Date mDateTime; 214 * @return <code>Date</code> object corresponding to <code>datetime</code> 217 public Date getDateTime() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 24 import java.util.Date; 48 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} liters of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 51 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 54 hamburgers, date, date }; 74 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} liters of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 79 Object[] objects = new Object[] { hamburgers, new Double(3.5), hamburgers, date, date } [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLTest.java | 45 import java.util.Date; 132 public Date getThisUpdate() { 136 public Date getNextUpdate() {
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 24 import java.util.Date; 47 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} litres of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 50 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 53 hamburgers, date, date }; 74 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} litres of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 80 hamburgers, date, date } [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferAdapter.java | 50 import java.util.Date; 101 // complete text and complete date 122 Date d = new Date(time);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 29 import java.util.Date; 39 // Date: 2008-12-18 05:30 128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); local 129 String source = dateFormat.format(date); 130 Date parseDate = dateFormat.parse(source); 131 assertEquals(date.getYear(), parseDate.getYear()); 132 assertEquals(date.getMonth(), parseDate.getMonth()); 133 assertEquals(date.getDay(), date.getDay()) [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
cros_log_entry.js | 29 // List of all parameters for Date Object 37 this.time = new Date(year, month, day, hour, minute, 60 // Represents the Date object as a string.
|
/external/chromium_org/v8/test/intl/date-format/ |
format-is-bound.js | 32 var dateArray = [Date.now(), Date.now(), Date.now()]; 38 // Formatting a date should work in a direct call.
|
/external/chromium_org/v8/test/intl/overrides/ |
security.js | 46 assertDoesNotThrow('new Date().toLocaleString()'); 47 assertDoesNotThrow('new Date().toLocaleDateString()'); 48 assertDoesNotThrow('new Date().toLocaleTimeString()');
|
/libcore/luni/src/main/java/java/sql/ |
CallableStatement.java | 274 * Gets the value of the specified JDBC {@code DATE} parameter as a {@code 275 * java.sql.Date}. 280 * @return the {@code java.sql.Date} representing the parameter's value. 284 * @see Date 286 public Date getDate(int parameterIndex) throws SQLException; 289 * Gets the value of the specified JDBC {@code DATE} parameter as a {@code 290 * java.sql.Date}, using the specified {@code Calendar} to construct the date. 292 * <p>The JDBC driver uses the calendar to create the Date using a particular 300 * the {@code Calendar} to use to construct the date [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 30 import java.util.Date; 94 String date = dateFormat.format(new Date()); local 96 + "-" + date
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 27 import java.util.Date; 167 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
|
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 27 import java.util.Date; 167 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 27 import java.util.Date; 167 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
CameraHelper.java | 27 import java.util.Date; 167 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
|