Record Class TimeProviderImpl

java.lang.Object
java.lang.Record
com.thanlinardos.spring_enterprise_library.time.TimeProviderImpl
Record Components:
zoneId - the time zone to use for date and time operations.
accuracy - the default accuracy to use for date and time operations.
maxDate - the maximum date that can be used in the system.
minDate - the minimum date that can be used in the system.
maxDateTime - the maximum date time that can be used in the system.
minDateTime - the minimum date time that can be used in the system.
All Implemented Interfaces:
TimeProvider

public record TimeProviderImpl(ZoneId zoneId, TimeUnit accuracy, LocalDate maxDate, LocalDate minDate, LocalDateTime maxDateTime, LocalDateTime minDateTime) extends Record implements TimeProvider
Default implementation of TimeProvider interface.