Interface DateSeparatorHandler
-
- All Implemented Interfaces:
public interface DateSeparatorHandlerA SAM designed to evaluate if a date separator should be added between messages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDateSeparatorHandler.Companion
-
Method Summary
Modifier and Type Method Description abstract BooleanshouldAddDateSeparator(Message previousMessage, Message message)Determines whether we should add the date separator or not. -
-
Method Detail
-
shouldAddDateSeparator
abstract Boolean shouldAddDateSeparator(Message previousMessage, Message message)
Determines whether we should add the date separator or not.
- Parameters:
previousMessage- The Message before the one we are currently evaluating.message- The Message before which we want to add a date separator or not.- Returns:
Whether to add the date separator or not.
-
-
-
-