code: protected int getOffset(long dt)
      {
          int ret = 0;
          TimeZone tz = DateUtilities.getCurrentTimeZone();
          if(tz != null)
              ret = tz.getOffset(dt);
          return ret;
      }
docs: Returns the current offset for the given date allowing for daylight savings.
  @param dt The date to be checked
  @return The current offset for the given date allowing for daylight savings