Package org.approvej.scrub
package org.approvej.scrub
-
ClassDescriptionSpecial
RegexScrubber
to scrub date/time strings described by aDateTimeFormatter
pattern like "yyyy-MM-dd" for local dates.Replaces each match of the given dateTimePattern (as defined byDateTimeFormatter
) with a relative description, like[today]
,[yesterday]
,[13 days from now]
.ABiFunction
, that defines how a match in theRegexScrubber
is replaced.Scrubber<T>AnUnaryOperator
that scrubs certain information from a value.Collection of static methods to createScrubber
instances.