@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof DateTimeSettings)) {
            return false;
        }
        final DateTimeSettings that = (DateTimeSettings) o;
        return Objects.equals(dateTimePattern, that.dateTimePattern) &&
                Objects.equals(timeZone, that.timeZone) &&
                Objects.equals(localZoneId, that.localZoneId) &&
                Objects.equals(referenceTime, that.referenceTime);
    }
@return A copy of this but without the referenceTime.
stroom-query/stroom-query-api/src/main/java/stroom/query/api/DateTimeSettings.java