/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | WeekDateTest.java | 95 Date date = null; 108 Date date1 = null, date2 = null; 125 Date d = ywdFormat.parse(date); 144 Date d = sdf.parse("21-W01-3"); // 2008-12-31 == H20-12-31
|
H A D | Bug4396385.java | 69 Date date = sdf.parse(src, pos);
|
H A D | Bug6683975.java | 67 Date date = new Date(2008-1900, Calendar.SEPTEMBER, 30, 8, 0, 0);
|
H A D | Bug7130335.java | 70 Date d = cal.getTime(); 73 Date pd = sdf.parse(f);
|
/openjdk7/jdk/src/share/classes/java/security/cert/ |
H A D | X509CRLEntry.java | 29 import java.util.Date; 160 public abstract Date getRevocationDate();
|
H A D | PKIXParameters.java | 33 import java.util.Date; 89 private Date date; 478 * Note that the <code>Date</code> returned is copied to protect against 481 * @return the <code>Date</code>, or <code>null</code> if not set 484 public Date getDate() { 488 return (Date) this.date.clone(); 495 * Note that the <code>Date</code> supplied here is copied to protect 498 * @param date the <code>Date</code>, or <code>null</code> for the 502 public void setDate(Date date) { 504 this.date = (Date) dat [all...] |
/openjdk7/jdk/test/sun/text/resources/Format/ |
H A D | Bug4395196.java | 40 Date now = new Date(108, Calendar.APRIL, 9);
|
H A D | Bug4762201.java | 40 Date now = new Date();
|
H A D | Bug4442855.java | 50 return Test(sdf.format(new Date()), "\u897f\u5143", "AD");
|
/openjdk7/jdk/test/java/security/CodeSigner/ |
H A D | Serialize.java | 35 import java.util.Date; 50 CodeSigner cs = new CodeSigner(cp, new Timestamp(new Date(), cp));
|
/openjdk7/jdk/src/share/classes/com/sun/security/cert/internal/x509/ |
H A D | X509V1CertImpl.java | 39 import java.util.Date; 168 checkValidity(new Date()); 176 * @param date the Date to check against to see if this certificate 179 public void checkValidity(Date date) throws 255 public Date getNotBefore() { 265 public Date getNotAfter() {
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KerberosTime.java | 38 import java.util.Date; 67 private long kerberosTime; // milliseconds since epoch, a Date.getTime() value 107 Date temp = encoding.getGeneralizedTime(); 137 //The Date constructor assumes the setting are local relative 153 public KerberosTime(Date time) { 198 public void setTime(Date time) { 208 public Date toDate() { 209 Date temp = new Date(kerberosTime);
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DateFormat.java | 44 import java.util.Date; 60 * normalization. The date is represented as a <code>Date</code> object or 130 * Date formats are not synchronized. 270 * are a time value expressed in milliseconds and a Date object. 271 * @param obj must be a Number or a Date. 284 * occurrence of that time field. For instance, formatting a Date to 295 if (obj instanceof Date) 296 return format( (Date)obj, toAppendTo, fieldPosition ); 298 return format( new Date(((Number)obj).longValue()), 301 throw new IllegalArgumentException("Cannot format given Object as a Date"); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Credentials.java | 38 import java.util.Date; 111 Date authTime, 112 Date startTime, 113 Date endTime, 114 Date renewTill, 151 public final Date getAuthTime() { 159 public final Date getStartTime() { 167 public final Date getEndTime() { 175 public final Date getRenewTill() {
|
/openjdk7/jdk/test/java/awt/Component/UpdatingBootTime/ |
H A D | UpdatingBootTime.java | 39 import java.util.Date; 70 Sysout.println("The event time is : "+ (new Date(e.getWhen()))); 71 Sysout.println("The system time is : "+ (new Date()));
|
/openjdk7/jdk/test/java/util/Timer/ |
H A D | DelayOverflow.java | 32 import java.util.Date; 43 timer.schedule(task, new Date(), Long.MAX_VALUE); 49 timer.scheduleAtFixedRate(task, new Date(), Long.MAX_VALUE);
|
/openjdk7/jdk/test/javax/crypto/JceSecurity/ |
H A D | MyX509CertImpl.java | 54 public void checkValidity(Date date) throws CertificateExpiredException, 83 public Date getNotBefore() { 87 public Date getNotAfter() {
|
/openjdk7/jdk/test/javax/security/auth/kerberos/ |
H A D | KerberosTixDateTest.java | 27 * @summary test the immutability of the Date fields in KerberosTicket class. 32 import java.util.Date; 67 Date inDate = new Date(originalTime);
|
/openjdk7/jdk/test/com/sun/jdi/sde/ |
H A D | TemperatureTableServlet.java | 66 out.println("<p><i>Created " + new Date () + "</i></p>");
|
/openjdk7/jdk/test/sun/security/tools/keytool/ |
H A D | StartDateTest.java | 36 import java.util.Date; 133 static Date getIssueDate() throws Exception {
|
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | Era.java | 87 BaseCalendar.Date d = (BaseCalendar.Date) gcal.newCalendarDate(null);
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/ |
H A D | HtmlReporter.java | 33 import java.util.Date; 104 p.println("<i>Report generated on " + new Date() + "</i>");
|
H A D | XmlReporter.java | 35 import java.util.Date; 65 p.println("<DATE>" + new Date() + "</DATE>");
|
/openjdk7/jdk/test/sun/rmi/rmic/newrmic/equivalence/ |
H A D | DayTimeServerImpl.java | 72 public Date getDayTime() throws RemoteException { 73 return new Date();
|
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | TableSorter.java | 48 import java.util.Date; 130 } else if (type == java.util.Date.class) { 131 Date d1 = (Date) data.getValueAt(row1, column); 133 Date d2 = (Date) data.getValueAt(row2, column);
|