Interface TemporalConsumer


  • public interface TemporalConsumer
    Consumer for flexibly dealing with different granularity date/date-times
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void fallback​(java.time.temporal.Temporal temporal)  
      default void handle​(java.time.LocalDate localDate)  
      default void handle​(java.time.LocalDateTime localDateTime)  
      default void handle​(java.time.OffsetDateTime offsetDateTime)  
      default void handle​(java.time.Year year)  
      default void handle​(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)