@Override
  public long toEpochSecond() {

    long epochDay = getDate().toEpochDay();
    long secs = epochDay * 86400 + getTime().toSecondOfDay();
    secs -= getOffset().getTotalSeconds();
    return secs;
  }