public static DayOfWeek asDay(String day){
  DayOfWeek dayOfWeek=DAYMAP.get(day.toLowerCase());
  if (dayOfWeek == null)   LOGGER.warn("Couldn't parse month {}",day);
  return dayOfWeek;
}

public static DayOfWeek asDay ( String day ) { DayOfWeek dayOfWeek = DAYMAP . get ( day . toLowerCase ( ) ) ; if ( dayOfWeek == null ) LOGGER . warn ( "Couldn't parse month {}" , day ) ; return dayOfWeek ; }
convert a string representation of a day into a dayofweek .
