code: public int getOffset(long date) {
          final Observance observance = vTimeZone.getApplicableObservance(new DateTime(date));
          if (observance != null) {
              final TzOffsetTo offset = observance.getProperty(Property.TZOFFSETTO);
              if ((offset.getOffset().getTotalSeconds() * 1000L) < getRawOffset()) {
                  return getRawOffset();
              } else {
                  return (int) (offset.getOffset().getTotalSeconds() * 1000L);
              }
          }
          return 0;
      }
docs: {@inheritDoc}