@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof DateTimeFormatSettings)) {
            return false;
        }
        final DateTimeFormatSettings that = (DateTimeFormatSettings) o;
        return usePreferences == that.usePreferences && Objects.equals(pattern,
                that.pattern) && Objects.equals(timeZone, that.timeZone);
    }
@return The the {@link UserTimeZone timeZone} to use when formatting the date
stroom-query/stroom-query-api/src/main/java/stroom/query/api/DateTimeFormatSettings.java