Package com.ethlo.time
Interface TemporalConsumer
-
public interface TemporalConsumerConsumer for flexibly dealing with different granularity date/date-times
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidfallback(java.time.temporal.Temporal temporal)default voidhandle(java.time.LocalDate localDate)default voidhandle(java.time.LocalDateTime localDateTime)default voidhandle(java.time.OffsetDateTime offsetDateTime)default voidhandle(java.time.Year year)default voidhandle(java.time.YearMonth yearMonth)
-
-
-
Method Detail
-
handle
default void handle(java.time.LocalDateTime localDateTime)
-
handle
default void handle(java.time.LocalDate localDate)
-
handle
default void handle(java.time.YearMonth yearMonth)
-
handle
default void handle(java.time.Year year)
-
handle
default void handle(java.time.OffsetDateTime offsetDateTime)
-
fallback
default void fallback(java.time.temporal.Temporal temporal)
-
-