Package org.approvej.scrub
Class DateScrubber
java.lang.Object
org.approvej.scrub.DateScrubber
Scrubs a
String by replacing all occurrences of a date pattern.-
Method Summary
Modifier and TypeMethodDescriptionstatic RegexScrubberdates(DateTimeFormatter dateFormatPattern) CreatesRegexScrubberto replace date strings of the given pattern.
-
Method Details
-
dates
CreatesRegexScrubberto replace date strings of the given pattern.- Parameters:
dateFormatPattern- aDateTimeFormatterto parse the dates- Returns:
- a new
DateScrubberwith the givenDateTimeFormatter.
-