/** * {@inheritDoc } */ @Override public boolean equals(Object object, ComparisonMode mode) { if (object instanceof Calendar) { final Calendar that = (Calendar) object; return Objects.equals(this.getName(), that.getName()) && Objects.equals(this.getDomainOfValidity(), that.getDomainOfValidity()) && Objects.equals(this.referenceFrame, that.getReferenceFrame()) &&Objects.equals(this.timeBasis, that.getTimeBasis()); } return false; }