class TimeZoneUtils {

    static int getClientOffset(final Date date) {

        final int standardOffset = getTimeZone().getStandardOffset();
        final int timezoneOffset = date.getTimezoneOffset();
        final int timeZoneOffsetInMinutes = standardOffset - (timezoneOffset * 2);

        return -timeZoneOffsetInMinutes;
    }

}