code: public static Duration getTargetTime() throws IllegalArgumentException {
          return Duration.ofMillis(Longs.fromByteArray(Main.bitcoin.wallet().getTag(TAG).toByteArray()));
      }
docs: Reads target time or throws if not set yet (should never happen).