Searched refs:Date (Results 76 - 100 of 294) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DWeekDateTest.java95 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 DBug4396385.java69 Date date = sdf.parse(src, pos);
H A DBug6683975.java67 Date date = new Date(2008-1900, Calendar.SEPTEMBER, 30, 8, 0, 0);
H A DBug7130335.java70 Date d = cal.getTime();
73 Date pd = sdf.parse(f);
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509CRLEntry.java29 import java.util.Date;
160 public abstract Date getRevocationDate();
H A DPKIXParameters.java33 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 DBug4395196.java40 Date now = new Date(108, Calendar.APRIL, 9);
H A DBug4762201.java40 Date now = new Date();
H A DBug4442855.java50 return Test(sdf.format(new Date()), "\u897f\u5143", "AD");
/openjdk7/jdk/test/java/security/CodeSigner/
H A DSerialize.java35 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 DX509V1CertImpl.java39 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 DKerberosTime.java38 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 DDateFormat.java44 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 DCredentials.java38 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 DUpdatingBootTime.java39 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 DDelayOverflow.java32 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 DMyX509CertImpl.java54 public void checkValidity(Date date) throws CertificateExpiredException,
83 public Date getNotBefore() {
87 public Date getNotAfter() {
/openjdk7/jdk/test/javax/security/auth/kerberos/
H A DKerberosTixDateTest.java27 * @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 DTemperatureTableServlet.java66 out.println("<p><i>Created " + new Date () + "</i></p>");
/openjdk7/jdk/test/sun/security/tools/keytool/
H A DStartDateTest.java36 import java.util.Date;
133 static Date getIssueDate() throws Exception {
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DEra.java87 BaseCalendar.Date d = (BaseCalendar.Date) gcal.newCalendarDate(null);
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/
H A DHtmlReporter.java33 import java.util.Date;
104 p.println("<i>Report generated on " + new Date() + "</i>");
H A DXmlReporter.java35 import java.util.Date;
65 p.println("<DATE>" + new Date() + "</DATE>");
/openjdk7/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DDayTimeServerImpl.java72 public Date getDayTime() throws RemoteException {
73 return new Date();
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableSorter.java48 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);

Completed in 230 milliseconds

1234567891011>>