Interface TimeService

  • All Known Implementing Classes:
    TimeServiceImpl

    @Service
    public interface TimeService
    Queries the time.
    • Method Detail

      • getInstantNow

        java.time.Instant getInstantNow()
        Get the current Instant time.
        Returns:
        current time as Instant