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(Temporal temporal)default voidhandle(LocalDate localDate)default voidhandle(LocalDateTime localDateTime)default voidhandle(OffsetDateTime offsetDateTime)default voidhandle(Year year)default voidhandle(YearMonth yearMonth)
-
-
-
Method Detail
-
handle
default void handle(LocalDateTime localDateTime)
-
handle
default void handle(LocalDate localDate)
-
handle
default void handle(YearMonth yearMonth)
-
handle
default void handle(Year year)
-
handle
default void handle(OffsetDateTime offsetDateTime)
-
fallback
default void fallback(Temporal temporal)
-
-