private static String cleanDate ( final String dateString ) { if ( dateString == null ) { return dateString ; } String retValue = dateString ; retValue = THURSDAY_DATE_RE . matcher ( retValue ) . replaceAll ( "Thu" ) ; retValue = TUESDAY_DATE_RE . matcher ( retValue ) . replaceAll ( "Tue" ) ; return retValue ; }
Basic method to clean a date string to fix any partial day names . It currently cleans Thur Thurs and Tues .