Lines Matching defs:when
390 * the time when the Date class is initialized.
907 * @param when a date.
910 * earlier than the instant represented by {@code when};
912 * @exception NullPointerException if {@code when} is null.
914 public boolean before(Date when) {
915 return getMillisOf(this) < getMillisOf(when);
921 * @param when a date.
924 * instant represented by {@code when};
926 * @exception NullPointerException if {@code when} is null.
928 public boolean after(Date when) {
929 return getMillisOf(this) > getMillisOf(when);