Lines Matching defs:object
39 * represented as a {@code Date} object or as the milliseconds since January 1,
311 * Compares this date format with the specified object and indicates if they
314 * @param object
315 * the object to compare with this date format.
316 * @return {@code true} if {@code object} is a {@code DateFormat} object and
322 public boolean equals(Object object) {
323 if (this == object) {
326 if (!(object instanceof DateFormat)) {
329 DateFormat dateFormat = (DateFormat) object;
341 * Formats the specified object as a string using the pattern of this date
349 * @param object
350 * the source object to format, must be a {@code Date} or a
351 * {@code Number}. If {@code object} is a number then a date is
360 * if {@code object} is neither a {@code Date} nor a
364 public final StringBuffer format(Object object, StringBuffer buffer,
366 if (object instanceof Date) {
367 return format((Date) object, buffer, field);
369 if (object instanceof Number) {
370 return format(new Date(((Number) object).longValue()), buffer,
659 * this object's format method but can still be parsed as a date, then the
684 * this object's format method but can still be parsed as a date, then the
717 * precisely match this object's format. With strict parsing, inputs must
718 * match this object's format.
916 * @return the resolved field object.
918 * if an error occurs while resolving the field object.