Searched defs:date (Results 1 - 25 of 70) sorted by relevance

123

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DDayTimeDurationDV.java52 protected Duration getDuration(DateTimeData date) { argument
54 if (date.day<0 || date.hour<0 || date.minute<0 || date.second<0) {
58 date.day != DatatypeConstants.FIELD_UNDEFINED?BigInteger.valueOf(sign*date.day):null,
59 date.hour != DatatypeConstants.FIELD_UNDEFINED?BigInteger.valueOf(sign*date.hour):null,
60 date
[all...]
H A DYearMonthDurationDV.java51 protected Duration getDuration(DateTimeData date) { argument
53 if ( date.year<0 || date.month<0) {
57 date.year != DatatypeConstants.FIELD_UNDEFINED?BigInteger.valueOf(sign*date.year):null,
58 date.month != DatatypeConstants.FIELD_UNDEFINED?BigInteger.valueOf(sign*date.month):null,
H A DDateDV.java30 * Validator for <date> datatype (W3C Schema datatypes)
45 throw new InvalidDatatypeValueException("cvc-datatype-valid.1.2.1", new Object[]{content, "date"});
58 DateTimeData date = new DateTimeData(str, this);
61 int end = getDate(str, 0, len, date);
62 parseTimeZone (str, end, len, date);
66 validateDateTime(date);
69 saveUnnormalized(date);
71 if (date.utc!=0 && date.utc!='Z') {
72 normalize(date);
77 dateToString(DateTimeData date) argument
88 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DDateTimeDV.java60 DateTimeData date = new DateTimeData(str, this);
65 // both time and date
66 int dateEnd = getDate(str, 0, end, date);
67 getTime(str, end+1, len, date);
73 + "Invalid character(s) seprating date and time values.");
79 validateDateTime(date);
82 saveUnnormalized(date);
84 if (date.utc!=0 && date.utc!='Z') {
85 normalize(date);
90 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DDayDV.java57 * @return normalized date representation
61 DateTimeData date = new DateTimeData(str, this);
69 date.year=YEAR;
70 date.month=MONTH;
72 date.day=parseInt(str, 3,5);
79 getTimeZone(str, date, DAY_SIZE, len);
84 validateDateTime(date);
87 saveUnnormalized(date);
89 if ( date.utc!=0 && date
102 dateToString(DateTimeData date) argument
112 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DMonthDV.java61 * @return normalized date representation
65 DateTimeData date = new DateTimeData(str, this);
69 date.year=YEAR;
70 date.day=DAY;
75 date.month=parseInt(str,2,stop);
89 getTimeZone(str, date, stop, len);
93 validateDateTime(date);
96 saveUnnormalized(date);
98 if ( date.utc!=0 && date
153 dateToString(DateTimeData date) argument
162 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DMonthDayDV.java64 * @return normalized date representation
68 DateTimeData date = new DateTimeData(str, this);
72 date.year=YEAR;
77 date.month=parseInt(str, 2, 4);
84 date.day=parseInt(str, start, start+2);
91 getTimeZone(str, date, MONTHDAY_SIZE, len);
96 validateDateTime(date);
99 saveUnnormalized(date);
101 if ( date.utc!=0 && date
114 dateToString(DateTimeData date) argument
125 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DTimeDV.java65 DateTimeData date = new DateTimeData(str, this);
70 date.year=YEAR;
71 date.month=MONTH;
72 date.day=15;
73 getTime(str, 0, len, date);
77 validateDateTime(date);
80 saveUnnormalized(date);
82 if ( date.utc!=0 && date.utc != 'Z') {
83 normalize(date);
95 dateToString(DateTimeData date) argument
107 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DYearDV.java61 * @return normalized date representation
65 DateTimeData date = new DateTimeData(str, this);
84 date.year=parseIntYear(str, len);
87 date.year=parseIntYear(str, sign);
88 getTimeZone (str, date, sign, len);
92 date.month=MONTH;
93 date.day=1;
96 validateDateTime(date);
99 saveUnnormalized(date);
101 if ( date
114 dateToString(DateTimeData date) argument
121 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
H A DYearMonthDV.java60 * @return normalized date representation
64 DateTimeData date = new DateTimeData(str, this);
67 // get date
68 int end = getYearMonth(str, 0, len, date);
69 date.day = DAY;
70 parseTimeZone (str, end, len, date);
74 validateDateTime(date);
77 saveUnnormalized(date);
79 if ( date.utc!=0 && date
86 dateToString(DateTimeData date) argument
95 getXMLGregorianCalendar(DateTimeData date) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertPathHelperImpl.java63 protected void implSetDateAndTime(X509CRLSelector sel, Date date, long skew) { argument
64 sel.setDateAndTime(date, skew);
/openjdk7/jdk/test/sun/text/resources/Format/
H A DBug4685470.java67 System.out.println("Full date: " + parent);
92 private String getDayofWeek(Date date, Locale loc){ argument
93 return (new SimpleDateFormat("EEEE", loc)).format(date);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DCertPathHelper.java60 protected abstract void implSetDateAndTime(X509CRLSelector sel, Date date, long skew); argument
67 public static void setDateAndTime(X509CRLSelector sel, Date date, long skew) { argument
68 instance.implSetDateAndTime(sel, date, skew);
H A DOCSP.java141 * @param date the time the validity of the OCSP responder's certificate
151 X509Certificate responderCert, Date date)
155 Collections.singletonList(responderCert), date);
165 * @param date the time the validity of the OCSP responder's certificate
175 List<X509Certificate> responderCerts, Date date)
190 responderURI, responderCerts, date);
200 * @param date the time the validity of the OCSP responder's certificate
209 List<X509Certificate> responderCerts, Date date)
285 ocspResponse = new OCSPResponse(response, date, responderCerts);
149 check(X509Certificate cert, X509Certificate issuerCert, URI responderURI, X509Certificate responderCert, Date date) argument
173 check(X509Certificate cert, X509Certificate issuerCert, URI responderURI, List<X509Certificate> responderCerts, Date date) argument
208 check(List<CertId> certIds, URI responderURI, List<X509Certificate> responderCerts, Date date) argument
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DGregorian.java72 public Date getCalendarDate(long millis, CalendarDate date) { argument
73 return (Date) super.getCalendarDate(millis, date);
/openjdk7/jdk/test/java/util/PluggableLocale/providersrc/
H A DFooDateFormat.java40 public StringBuffer format(Date date, argument
43 return sdf.format(date, toAppendTo, fieldPosition);
/openjdk7/jdk/src/share/classes/java/sql/
H A DDate.java52 * @deprecated instead use the constructor <code>Date(long date)</code>
65 * @param date milliseconds since January 1, 1970, 00:00:00 GMT not
70 public Date(long date) { argument
71 // If the millisecond date value contains time info, mask it out.
72 super(date);
84 * @param date milliseconds since January 1, 1970, 00:00:00 GMT not
89 public void setTime(long date) { argument
90 // If the millisecond date value contains time info, mask it out.
91 super.setTime(date);
95 * Converts a string in JDBC date escap
[all...]
H A DTimestamp.java53 * because the nanos component of a date is unknown.
78 * @param date 1 to 31
87 public Timestamp(int year, int month, int date, argument
89 super(year, month, date, hour, minute, second);
99 * integral seconds are stored in the underlying date value; the
140 * represented by this date.
195 // Split the string into date and time components
205 // Parse the date
216 // Convert the date
/openjdk7/jdk/src/windows/classes/sun/security/krb5/internal/tools/
H A DKlist.java306 * Reformats the date from the form -
313 * @param date the string form of Date object.
315 String reformat(String date) { argument
316 return (date.substring(4, 7) + " " + date.substring(8, 10) +
317 ", " + date.substring(24)
318 + " " + date.substring(11, 16));
/openjdk7/jdk/src/share/classes/javax/security/cert/
H A DX509Certificate.java255 * the current date and time are within the validity period given in the
258 * The validity period consists of two date/time values:
280 * Checks that the specified date is within the certificate's
282 * certificate would be valid at the specified date/time.
284 * @param date the Date to check against to see if this certificate
285 * is valid at that date/time.
287 * with respect to the <code>date</code> supplied.
289 * yet valid with respect to the <code>date</code> supplied.
292 public abstract void checkValidity(Date date) argument
375 * Gets the <code>notBefore</code> date fro
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/addon/at_generated/
H A DPluginImpl.java93 .param("date", getISO8601Date())
98 private String date = null; field in class:PluginImpl
101 * calculate the date value in ISO8601 format for the @Generated annotation
102 * @return the date value
105 if(date==null) {
111 date = tstamp.toString();
113 return date;
/openjdk7/jdk/test/sun/util/resources/TimeZone/
H A DBug4640234.java60 static Date date = new Date(); field in class:Bug4640234
173 en = sdfEn.format(date);
174 enShort = sdfEnShort.format(date);
175 loc = sdfLoc.format(date);
176 locShort = sdfLocShort.format(date);
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DInvalidityDateExtension.java38 * The invalidity date is a non-critical CRL entry extension that
39 * provides the date on which it is known or suspected that the private
41 * This date may be earlier than the revocation date in the CRL entry,
42 * which is the date at which the CA processed the revocation. When a
44 * date may precede the date of issue of earlier CRLs, but the
45 * revocation date SHOULD NOT precede the date of issue of earlier CRLs.
67 public static final String DATE = "date";
69 private Date date; field in class:InvalidityDateExtension
87 InvalidityDateExtension(Date date) argument
97 InvalidityDateExtension(boolean critical, Date date) argument
[all...]
/openjdk7/jdk/test/javax/swing/JFormattedTextField/
H A DTest6462562.java308 Date date(DateFormat format, String spec) { method in class:Test6462562
319 ftf.setValue(date(format, "12/05/2005"));
324 ftf.test(0, 0, "0", date(format, "02/05/2005"));
325 ftf.test(4, 0, "4", date(format, "02/04/2005"));
326 ftf.test(6, 0, "1", date(format, "02/04/1005"));
327 ftf.test(9, 0, "9", date(format, "02/04/1009"));
330 ftf.test(0, 0, "11", date(format, "11/04/1009"));
331 ftf.test(3, 0, "23", date(format, "11/23/1009"));
332 ftf.test(6, 0, "191", date(format, "11/23/1919"));
335 ftf.test(0, 0, DELETE, date(forma
[all...]
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
H A DResultRecord.java72 private Date date; field in class:ResultRecord
102 date = new Date();
131 return (date==null)?null:(new Date(date.getTime()));
137 * @param date the Date at which this result was obtained.
139 public void setDate(Date date) { argument
141 this.date = (date==null)?null:(new Date(date.getTime()));
189 filename, date, directoryScanne
[all...]

Completed in 165 milliseconds

123