net.yudichev.jiotty.common.time.TimeProvider Maven / Gradle / Ivy
package net.yudichev.jiotty.common.time;
import java.time.Instant;
import java.time.LocalDateTime;
final class TimeProvider implements CurrentDateTimeProvider {
@Override
public LocalDateTime currentDateTime() {
return LocalDateTime.now();
}
@Override
public Instant currentInstant() {
return Instant.now();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy