/packages/apps/UnifiedEmail/src/com/android/mail/ |
MailLogService.java | 30 import java.util.Date; 78 final Date d = new Date(timestamp); 104 // Print the timestamp as an actual date, and then the message.
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
FileFilterUtils.java | 22 import java.util.Date;
196 * the specified cutoff date.
202 public static IOFileFilter ageFileFilter(Date cutoffDate) {
207 * Returns a filter that filters files based on a cutoff date.
214 public static IOFileFilter ageFileFilter(Date cutoffDate, boolean acceptOlder) {
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLTest.java | 39 import java.util.Date; 121 private Map<String, Date> getCrlDates(String name) throws Exception { 122 Map<String, Date> dates = new HashMap<String, Date>(); 134 final Date value = sdf.parse(line.substring(index + 1)); 228 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); 230 Date lastUpdate = dates.get("lastUpdate"); 231 Date nextUpdate = dates.get("nextUpdate"); 242 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); 244 Date lastUpdate = dates.get("lastUpdate") [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrivateCredentialTest.java | 35 import java.util.Date; 49 public void checkValidity(Date date){} 67 public Date getNotBefore() { 71 public Date getNotAfter() {
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertificateTest.java | 32 import java.util.Date; 86 public void checkValidity(Date date) 106 public Date getNotBefore() { 110 public Date getNotAfter() {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TimeZone.java | 51 public boolean inDaylightTime(java.util.Date p1) {
|
Support_DummyPKCS12Keystore.java | 30 import java.util.Date; 59 public Date engineGetCreationDate(String arg0) {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509CertificateHolder.java | 6 import java.util.Date; 185 * Return the date before which this certificate is not valid. 189 public Date getNotBefore() 195 * Return the date after which this certificate is not valid. 199 public Date getNotAfter() 245 * Return whether or not this certificate is valid on a particular date. 247 * @param date the date of interest. 250 public boolean isValidOn(Date date) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERUTCTime.java | 6 import java.util.Date; 98 throw new IllegalArgumentException("invalid date string: " + e.getMessage()); 103 * base constructer from a java.util.date object 106 Date time) 122 * return the time as a date based on whatever a 2 digit year will return. For 125 * @return the resulting date 126 * @exception ParseException if the date string cannot be parsed. 128 public Date getDate() 137 * return the time as an adjusted date 140 * @return a date in the range of 1950 to 2049 [all...] |
/external/chromium_org/tools/perf/page_sets/tough_scrolling_cases/ |
busy.js | 6 for (var d = Date.now(); Date.now() - d < millis; ) { }
|
/external/chromium_org/v8/test/webkit/ |
date-parse-comments-test.js | 25 "test of JavaScript date parsing (comments in parentheses)" 28 function testDateParse(date, numericResult) 31 shouldBeNaN('Date.parse("' + date + '")'); 32 shouldBeNaN('Date.parse("' + date.toUpperCase() + '")'); 33 shouldBeNaN('Date.parse("' + date.toLowerCase() + '")'); 35 shouldBeTrue('Date.parse("' + date + '") == ' + numericResult) [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
StreamInitiation.java | 4 * $Date$
22 import java.util.Date;
172 * <li>date: The last modification time of the file. This is specified
173 * using the DateTime profile as described in Jabber Date and Time Profiles.</li>
213 private Date date;
field in class:StreamInitiation.File 271 * Sets the date that the file was last modified.
273 * @param date The date that the file was last modified.
275 public void setDate(Date date) { [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/history/ |
AgentChatHistory.java | 3 * $Date$
28 import java.util.Date;
42 public AgentChatHistory(String agentJID, int maxSessions, Date startDate) {
119 Date date = null;
local 128 if ((eventType == XmlPullParser.START_TAG) && ("date".equals(parser.getName()))) {
131 date = new Date(l);
152 return new AgentChatSession(date, duration, visitorsName, visitorsEmail, sessionID, question);
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
AgentStatus.java | 3 * $Date$
118 private Date date;
field in class:AgentStatus.ChatInfo 123 public ChatInfo(String sessionID, String userID, Date date, String email, String username, String question) {
126 this.date = date;
155 * Returns the date when this agent joined the chat.
157 * @return the date when this agent joined the chat.
159 public Date getDate() { 252 Date date = null; local [all...] |
OccupantsInfo.java | 3 * $Date$
88 // Add the date when the occupant joined the room
103 private Date joined;
105 public OccupantInfo(String jid, String nickname, Date joined) {
119 public Date getJoined() {
154 Date joined = null;
|
QueueDetails.java | 3 * $Date$
28 import java.util.Date;
114 Date timestamp = user.getQueueJoinTimestamp();
158 Date joinTime = null;
180 Date wait = dateFormat.parse(parser.nextText());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
FormatterTest.java | 37 import java.util.Date; 922 f.format("head%1$n%2$n", 1, new Date()); [all...] |
/developers/build/prebuilts/gradle/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 30 import java.util.Date; 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString();
|
/developers/samples/android/ui/notifications/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 30 import java.util.Date; 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString();
|
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
MainActivity.java | 30 import java.util.Date; 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectStreamFieldTest.java | 32 import java.util.Date; 261 public Date d; 268 d = new Date(); 274 o.putFields().put("d", new Date()); 282 d = (Date) getField.get("d", null); 324 new ObjectStreamField("d", Date.class, false), 329 public static Date today = new Date(1172632429156l);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRLEntryTest.java | 27 import java.util.Date; 69 public Date getRevocationDate() {
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
common.js | 149 var d = new Date(); 177 var d = new Date();
|
/external/smack/src/org/xbill/DNS/ |
FormattedTime.java | 31 * Converts a Date into a formatted string. 32 * @param date The Date to convert. 36 format(Date date) { 40 c.setTime(date); 51 * Parses a formatted time string into a Date. 53 * @return The Date object. 56 public static Date 67 int date = Integer.parseInt(s.substring(6, 8)) local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 13 import java.util.Date; 82 * @param strValue The ISO 8601 string representation of the date/time. 93 * Obtain the current date and time. 106 * the other date/time fields are not adjusted in any way. 132 cal.setGregorianChange(new Date(Long.MIN_VALUE));
|