Package org.approvej.scrub
Interface RelativeDateReplacement
- All Superinterfaces:
BiFunction<String,,Integer, String> Replacement<String>
Replaces each match of the given dateTimePattern (as defined by
DateTimeFormatter) with a
relative description, like [today], [yesterday], [13 days from now].-
Method Summary
Modifier and TypeMethodDescriptiondateTimeFormatter(DateTimeFormatter dateTimeFormatter) Creates and returns a copy of this with the given dateTimeFormatter.Methods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface org.approvej.scrub.Replacement
apply
-
Method Details
-
dateTimeFormatter
Creates and returns a copy of this with the given dateTimeFormatter.- Parameters:
dateTimeFormatter- theDateTimeFormatterto be used- Returns:
- a copy of this with the given dateTimeFormatter
-