Searched refs:Date (Results 26 - 50 of 294) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DCertPathHelper.java28 import java.util.Date;
60 protected abstract void implSetDateAndTime(X509CRLSelector sel, Date date, long skew);
67 public static void setDateAndTime(X509CRLSelector sel, Date date, long skew) {
H A DAdaptableX509CertSelector.java29 import java.util.Date;
49 private Date startDate;
52 private Date endDate;
83 void setValidityPeriod(Date startDate, Date endDate) {
193 copy.startDate = (Date)startDate.clone();
197 copy.endDate = (Date)endDate.clone();
/openjdk7/jdk/src/share/classes/javax/print/attribute/standard/
H A DJobHoldUntil.java27 import java.util.Date;
56 * JobHoldUntil immediately = new JobHoldUntil (new Date (0L));
67 * Calendar} object to construct a {@link java.util.Date Date} object, then use
68 * the {@link java.util.Date Date} object to construct the JobHoldUntil
71 * Calendar} object and set it to the {@link java.util.Date Date} from the
93 * {@link java.util.Date Date} valu
[all...]
/openjdk7/jdk/test/sun/text/resources/Format/
H A DBug4807540.java31 import java.util.Date;
43 String siString = new String (dfSi.format(new Date(108, Calendar.APRIL, 30)));
H A DBug4685470.java48 Date now = new Date();
56 Date now = new Date();
92 private String getDayofWeek(Date date, Locale loc){
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertificateRevokedException.java32 import java.util.Date;
58 private Date revocationDate;
89 public CertificateRevokedException(Date revocationDate, CRLReason reason,
95 this.revocationDate = new Date(revocationDate.getTime());
108 public Date getRevocationDate() {
109 return (Date) revocationDate.clone();
133 * Returns the invalidity date, as specifed in the Invalidity Date
138 * checks the returned map for an entry for the Invalidity Date extension
140 * extension; otherwise null. A new Date object is returned each time the
145 public Date getInvalidityDat
[all...]
H A DX509Certificate.java32 import java.util.Date;
157 * @param date the Date to check against to see if this certificate
167 public abstract void checkValidity(Date date)
318 public abstract Date getNotBefore();
328 public abstract Date getNotAfter();
/openjdk7/jdk/src/share/classes/java/util/
H A DDate.java42 * The class <code>Date</code> represents a specific instant
45 * Prior to JDK&nbsp;1.1, the class <code>Date</code> had two additional
53 * The corresponding methods in <code>Date</code> are deprecated.
55 * Although the <code>Date</code> class is intended to reflect
94 * In all methods of class <code>Date</code> that accept or return
129 public class Date class in inherits:java.io.Serializable,Cloneable,Comparable
130 implements java.io.Serializable, Cloneable, Comparable<Date>
144 private transient BaseCalendar.Date cdate;
149 /* use serialVersionUID from modified java.util.Date for
150 * interoperability with JDK1.1. The Date wa
162 public Date() { method in class:Date
175 public Date(long date) { method in class:Date
194 public Date(int year, int month, int date) { method in class:Date
217 public Date(int year, int month, int date, int hrs, int min) { method in class:Date
241 public Date(int year, int month, int date, int hrs, int min, int sec) { method in class:Date
271 public Date(String s) { method in class:Date
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DKerberosTicket.java29 import java.util.Date;
137 private Date authTime;
144 private Date startTime;
153 private Date endTime;
165 private Date renewTill;
235 Date authTime,
236 Date startTime,
237 Date endTime,
238 Date renewTill,
251 Date authTim
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DCertificate.java29 import java.util.Date;
/openjdk7/jdk/test/javax/management/timer/
H A DStartTest.java34 import java.util.Date;
55 Date date = new Date();
65 System.out.println(">>> Start the timer at " + new Date());
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSpinnerDateModel.java33 * A <code>SpinnerModel</code> for sequences of <code>Date</code>s.
48 * then <code>nextValue</code> produces a <code>Date</code> that's 24
50 * produces a <code>Date</code> that's 24 hours earlier.
175 public SpinnerDateModel(Date value, Comparable start, Comparable end, int calendarField) {
202 this(new Date(), null, null, Calendar.DAY_OF_MONTH);
217 * Typically this property is a <code>Date</code> however it's possible to use
223 * public int compareTo(Date d) {
227 * return compareTo((Date)o);
233 * is not a <code>Date</code>.
252 * Returns the first <code>Date</cod
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DDate.java35 * millisecond values wrapped by a <code>java.sql.Date</code> instance
40 public class Date extends java.util.Date { class in inherits:java.util.Date
43 * Constructs a <code>Date</code> object initialized with the given
52 * @deprecated instead use the constructor <code>Date(long date)</code>
54 public Date(int year, int month, int day) { method in class:Date
59 * Constructs a <code>Date</code> object using the given milliseconds
70 public Date(long date) { method in class:Date
77 * Sets an existing <code>Date</code> object
96 * a <code>Date</cod
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DInvalidityDateExtension.java30 import java.util.Date;
69 private Date date;
87 public InvalidityDateExtension(Date date) throws IOException {
97 public InvalidityDateExtension(boolean critical, Date date)
126 if (!(obj instanceof Date)) {
127 throw new IOException("Attribute must be of type Date.");
130 date = (Date) obj;
146 return (new Date(date.getTime())); // clone
168 * Returns a printable representation of the Invalidity Date.
171 return super.toString() + " Invalidity Date
[all...]
/openjdk7/jdk/src/share/classes/sun/net/ftp/
H A DFtpDirEntry.java27 import java.util.Date;
60 private java.util.Date created = null;
61 private java.util.Date lastModified = null;
190 * @return a <code>Date</code> representing the last time the file was
194 public java.util.Date getLastModified() {
202 * @param lastModified The Date representing the last modification time, or
206 public FtpDirEntry setLastModified(Date lastModified) {
294 * @return The Date representing the creation time, or {@code null}
297 public Date getCreated() {
305 * @param created the Date representin
[all...]
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
H A DResultRecord.java43 import java.util.Date;
70 * The Date at which this result was obtained.
72 private Date date;
102 date = new Date();
125 * Gets the Date at which this result was obtained.
126 * @return the Date at which this result was obtained.
128 @XmlElement(name="Date",namespace=XmlConfigUtils.NAMESPACE)
129 public Date getDate() {
131 return (date==null)?null:(new Date(date.getTime()));
136 * Sets the Date a
[all...]
/openjdk7/jdk/test/java/io/Serializable/validate/
H A DValidate.java32 import java.util.Date;
44 out.writeObject(new Date());
45 out.writeObject(new Date());
46 out.writeObject(new Date());
47 out.writeObject(new Date());
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DBaseCalendar.java144 public abstract static class Date extends CalendarDate { class in class:BaseCalendar
145 protected Date() { method in class:BaseCalendar.Date
148 protected Date(TimeZone zone) { method in class:BaseCalendar.Date
152 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) {
193 Date bdate = (Date) date;
223 Date bdate = (Date) date;
274 Date bdate = (Date) dat
[all...]
/openjdk7/jdk/test/sun/security/util/DerInputBuffer/
H A DTimeParsing.java31 import java.util.Date;
96 private static Date decodeUTC(byte[] b) throws IOException {
101 private static Date decodeGeneralized(byte[] b) throws IOException {
106 private static void checkUTC(Date d0, byte[] b, String text) throws Exception {
107 Date d1 = decodeUTC(b);
115 private static void checkGeneralized(Date d0, byte[] b, String text) throws Exception {
116 Date d1 = decodeGeneralized(b);
125 Date d0 = new Date(TIME);
136 Date d
[all...]
/openjdk7/jdk/test/java/util/Timer/
H A DArgs.java34 void schedule(final Timer t, final TimerTask task, final Date d) {
40 void schedule(final Timer t, final TimerTask task, final Date d, final long period) {
46 void scheduleAtFixedRate(final Timer t, final TimerTask task, final Date d, final long period) {
64 new F(){void f(){ t.schedule(x, new Date(-42)); }},
68 new F(){void f(){ t.schedule(x, new Date(-42), 42); }},
71 new F(){void f(){ t.schedule(x, new Date(42), 0); }},
73 new F(){void f(){ t.schedule(x, new Date(42), -42); }},
76 new F(){void f(){ t.scheduleAtFixedRate(x, new Date(-42), 42); }},
79 new F(){void f(){ t.scheduleAtFixedRate(x, new Date(42), 0); }},
81 new F(){void f(){ t.scheduleAtFixedRate(x, new Date(4
[all...]
/openjdk7/jdk/test/java/security/cert/CertificateRevokedException/
H A DBasic.java15 import java.util.Date;
34 Date date = Calendar.getInstance().getTime();
37 Date invDate = new Date(date.getTime());
41 Date date2 = cre.getRevocationDate();
70 Date invalidity = cre.getInvalidityDate();
/openjdk7/jdk/test/javax/swing/JInternalFrame/
H A DInternalFrameIsNotCollectedTest.java37 import java.util.Date;
66 Date startWaiting = new Date();
69 Date now = new Date();
72 now = new Date();
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/charsets/
H A Dmac.txt8 # Date: 04/24/96
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest4968523.java35 import java.util.Date;
40 test(Date.class, new DefaultPersistenceDelegate(names));
/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DBug6645292.java49 Date d1 = cal.getTime();
52 Date d2 = null;

Completed in 3444 milliseconds

1234567891011>>