class ClientTimezoneFormattingRulesResolver {

    public boolean isApplyClientTimezone(Object value) {
        if (value == null || !(value instanceof Date)) return false;

        Boolean isApply = applyClientTimezoneFormatting.get(value.getClass().getCanonicalName());
        return isApply != null && isApply;
    }

}