/** * Returns a string representation of this instance, for debugging * purposes. * * @return A string. */ @Override public String toString() { return "[" + this.hour + "," + getDayOfMonth() + "/" + getMonth() + "/" + getYear() + "]"; }
/** * Returns a string representation of this instance, for debugging * purposes. * * @return A string. */ public String toString() { return "[" + this.hour + "," + getDayOfMonth() + "/" + getMonth() + "/" + getYear() + "]"; }