package de.gecheckt.pdf.umbenenner.adapter.out.clock;

import java.time.Instant;

import de.gecheckt.pdf.umbenenner.application.port.out.ClockPort;

/**
 * System clock implementation of {@link ClockPort}.
 * <p>
 * Returns the current wall-clock time from the JVM system clock.
 * Intended for production use; tests should inject a controlled clock implementation.
 */
public class SystemClockAdapter implements ClockPort {

    /**
     * Returns the current system time as an {@link Instant}.
     *
     * @return the current UTC instant; never null
     */
    @Override
    public Instant now() {
        return Instant.now();
    }
}
