@Override
  public long toEpochSecond(ZoneOffset offset) {

    Jdk7Methods.Objects_requireNonNull(offset, "offset");
    long epochDay = getDate().toEpochDay();
    long secs = epochDay * 86400 + getTime().toSecondOfDay();
    secs -= offset.getTotalSeconds();
    return secs;
  }